-
Notifications
You must be signed in to change notification settings - Fork 313
OrderbookSync returns stale data #80
Comments
PR #81 didn't fix this issue :( |
There is warning here:
But here I can see that "done" and "change" messages are processed in orderbook. Is this correct ? |
I think this comment might explain the stale data issue: |
This library refetches orders when it reconnects. Not sure what the exact origin of this is, especially as this seems limited on one side of the book. I hope to update gdax-node to use our level 2 channel soon, which should fix this issue. (See #82.) |
I am seeing this issue in 0.6.0. Is there a solution, or is OrderBookSync unusable? Thank you. |
Im seeing this problem in 0.8.0 as well. Asks stop updating after a while, bids keep updating as normal. Are there any known workarounds? |
I am seeing the same problem in 0.8.0. I have the sync orderbook created with 4 productIds. And as @johanhenriksson described the asks stops updating after some time. Worth pointing out that the asks are stoping to update one by one. Does anyone know the reason for that or have a workaround? Thank you. |
Okay, I think @tensleep, who raised issue #308 "Order book resync (after dropped message) appears broken" pointed out the issue correctly. I changed the code to clear the bids and asks on resync and haven't seen the issue for the past week. There are several issues opened regarding the OrderbookSync and my guess is that most of them are related to the problem pointed out by tensleep. Hope it helps others in resolving the bug. |
Hi, we are closing out PRs + Issues as this project is being archived. |
Hi, when creating
OrderbookSync
as follows:And then reading the
bid
/ask
prices as follows:What happens is that
bid
orask
prices stop being updated (after some time) and become stale (inconsistent with what I see on https://www.gdax.com/trade/). This happens randomly, but often enough, that I have to re-createOrderbookSync
almost every minute. Is there a bug? (It used to work fine before).I have used
ETH-EUR
product.The text was updated successfully, but these errors were encountered: