Zac Peake
Zac Peake
Note that the 'live_market_data' method checks its parameters and requires a str (as it builds a list).
I was just pointing out the inconsistency between the need for conid as an int to get ‘make_order_request’ and ‘place_order’ to work, vs ‘live_marketdata_snapshot’ actively insisting on conid as a...
It may be overkill, but here is the retry routine that I have implemented to test for data keys / truthiness and retry. I have done preliminary testing, and so...
For simplicity it is looking for a "truthy" value (non-zero or True). From memory some requests can erroneously return zero values, so key presence is not always sufficient to signal...
Unless I've implemented it incorrectly it should tests all "keys" as provided by the "keys" argument. Not all "keys" in the data response. So the user can selectively test keys....