You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now while I can fill these fields bit by bit in my Rust Tickers struct, as it happens in Python, the issue I have is the time stamps.
I only get a tick_typelastTimestamp via my wrapper's tick_string() every now and then while other data like bidPrice updates at much higher frequency. Do I just use the current UTC time to create them myself? They would obviously be off my some delta, depending on a lot of factors.
The Python code sample doesn't even list any explicit subscriptions when calling reqMktData().
What am I missing here?
The text was updated successfully, but these errors were encountered:
Looks like this would have to be done inside the Reader::run() loop? I.e. passing the wrapper all down there and the call resp. new methods added to the Wrapper trait? Or is there an existing way?
I am trying to get a similar data structure like the
Ticker
class in the Python ib_sync lib filled.I am looking for something like the output from this Python code snippet:
Now while I can fill these fields bit by bit in my Rust
Tickers
struct, as it happens in Python, the issue I have is the time stamps.I only get a
tick_type
lastTimestamp
via my wrapper'stick_string()
every now and then while other data likebidPrice
updates at much higher frequency. Do I just use the current UTC time to create them myself? They would obviously be off my some delta, depending on a lot of factors.The Python code sample doesn't even list any explicit subscriptions when calling
reqMktData()
.What am I missing here?
The text was updated successfully, but these errors were encountered: