-
I'm new to cryptofeed and really love the framework. I hope I'm just doing something wrong here... I see repeated exceptions when running the simple snippet (shown below) that was basically copied from the demo_book_delta example. I suspect this occurs when an L2 delta update arrives before a full book has been received. If so, shouldn't the library protect against that? Should I wait and add the L2 delta subscription after I've seen a book for the pair? Exception:
Code:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
The example you are using does not work the way you think it works. None of them will work with multiple pairs. Do not use that as an example to base normal book building off of - its sole purpose is to verify that deltas in general work for an exchange. |
Beta Was this translation helpful? Give feedback.
-
the code in examples\demo.py configures multiple pairs on several exchanges for book updates. |
Beta Was this translation helpful? Give feedback.
-
to follow back up on this - changes were made to kraken to handle situations similar to these when subscribing to large quantities of symbols |
Beta Was this translation helpful? Give feedback.
to follow back up on this - changes were made to kraken to handle situations similar to these when subscribing to large quantities of symbols