Replies: 2 comments 6 replies
-
I would love some examples on how you would structure an application to use cryptofeed. You have alluded a few times in other threads that it is up to the library user to design the overall application, but I think many of us would greatly benefit from some simple examples. E.g. setup a 'good design' to process the feed and then have another process consume the market data and send simple TWAP buy orders at the mid price. |
Beta Was this translation helpful? Give feedback.
-
Please, when you're making code-breaking changes, first make relevant examples / fix the existing examples, such as with the case of "book" method. My guess is that 80% of usefulness of cryptofeed for it's users is in book updates, but since the updates to book updating methods the examples range from low usefullness, because they show only basic functionality of the new undocumented "'order_book.SortedDict' object" which looks completely unpythonic (at least with current level of documentation), total pain to work with and simply not a good choice, to ones that just don't work, such as https://github.com/bmoscon/cryptofeed/blob/master/examples/demo_kucoin_authenticated.py , demo_gemini_authenticated.py , demo_existing_loop.py . Would also help if there was a doc on code-breaking changes that would also include instructions on adapting old code to the updated library. First should come the docs, then the changes. Not vice-versa. If that sounds like too much work, maybe, avoid making breaking changes so often, especially when they don't improve functionality. |
Beta Was this translation helpful? Give feedback.
-
Continued from the 1.9 roadmap:
Integrate in orderbooks C module(completed)Integrate in new Cython Classes for all the datatypes returned to user(completed)Add async REST endpoints(completed)Beta Was this translation helpful? Give feedback.
All reactions