Hello, I would like to ask a question regarding Polymarket's behavior, specifically the values returned through the WebSocket feed. I trade weather markets and rely on data received from WebSocket subscriptions. I noticed a very unusual pattern. When a market closes for the previous day, the WebSocket may still return values for that market. For example, I observed the following sequence of ticks: (0.500 → 0.500 → 0.001) These values were received after the market had already closed. The local date had already changed, the market was in the "In Review" state, trading was no longer available, and there was effectively no active order book. However, based on the value returned by the WebSocket feed, my bot submitted a buy order and successfully purchased approximately 20,000 shares. I would like to ask whether I can request a reversal or refund of this trade. My reasoning is that the event was no longer active, the WebSocket returned what appears to be an invalid or non-existent price, and the market no longer had an active order book. What makes this even more confusing is that I attempted to purchase other positions from the same market and received rejections, which is the behavior I had always observed previously. Because of this, I never considered this scenario to be possible and therefore did not implement any special handling for it. Examples of rejected order: 18:54:26.023 ERROR [py_clob_client_v2] request error status=400 url=https://clob.polymarket.com/order body={"error":"invalid token id"} 18:54:26.024 ERROR Presign post error: PolyApiException[status_code=400, error_message={'error': 'invalid token id'}] Meanwhile, the successful purchase was logged as follows: 18:54:23.735 WARNING PRESIGN POST FAK id=0x2b08243bae status=matched (99ms — no signing) Could you please explain how such a trade could have been matched after the market had already entered the review phase and appeared to be unavailable for trading?
Hello, I would like to ask a question regarding Polymarket's behavior, specifically the values returned through the WebSocket feed. I trade weather markets and rely on data received from WebSocket subscriptions. I noticed a very unusual pattern. When a market closes for the previous day, the WebSocket may still return values for that market. For example, I observed the following sequence of ticks: (0.500 → 0.500 → 0.001) These values were received after the market had already closed. The local date had already changed, the market was in the "In Review" state, trading was no longer available, and there was effectively no active order book. However, based on the value returned by the WebSocket feed, my bot submitted a buy order and successfully purchased approximately 20,000 shares. I would like to ask whether I can request a reversal or refund of this trade. My reasoning is that the event was no longer active, the WebSocket returned what appears to be an invalid or non-existent price, and the market no longer had an active order book. What makes this even more confusing is that I attempted to purchase other positions from the same market and received rejections, which is the behavior I had always observed previously. Because of this, I never considered this scenario to be possible and therefore did not implement any special handling for it. Examples of rejected order: 18:54:26.023 ERROR [py_clob_client_v2] request error status=400 url=https://clob.polymarket.com/order body={"error":"invalid token id"} 18:54:26.024 ERROR Presign post error: PolyApiException[status_code=400, error_message={'error': 'invalid token id'}] Meanwhile, the successful purchase was logged as follows: 18:54:23.735 WARNING PRESIGN POST FAK id=0x2b08243bae status=matched (99ms — no signing) Could you please explain how such a trade could have been matched after the market had already entered the review phase and appeared to be unavailable for trading?