dxFeed/dxfeed-python-api

examples in documentation needs some "sleep" time to actually receive data

Closed this issue · 1 comments

Running the example high level connect/sub/disconnect code (reduced to just the candle data) from the docs quits really fast - apparently too fast, unless there is a sleep() or some other delay between candle_sub.add_symbols() and candle_handler.get_dataframe() the latter will instantly return without any data, and the example code will basically quit without doing anything.

HI @Hoernchen!
Apologies for the late reply, we agree with your statement, and plan to implement new mechanics of receiving data (based on callbacks) in the new API under development.

We also announce a "feature freeze" for this API as a new version of dxfeed-python-api (ETA Q4 2023) is under development. The new version will have extended functionality (IPF, TimeSeriesEventModel, IndexedEventModel, OrderBook, Apple Silicon architecture support) and a more user-friendly interface (like our dxFeed Java API).