Closed yongqli closed 6 months ago
start
for live subscriptions is always based around ts_event
to be consistent across hosts. This will be documented in the next release.
All record types with a ts_recv
define raw_index_ts
to be ts_recv
. The code you're referring to is only the default for the trait.
This is gap in documentation is addressed in 3ce12947230a0167b3ac9e4029420c89678fa63b, which will be included in the next release
Currently it is not clear whether
databento::live::Subscription::start
refers tots_event
orts_recv
, which makes it tricky to resume from a disconnect in a perfectly correct way. I have been told that onlyts_recv
is guaranteed to be monotonic, butdbn::record::Record::raw_index_ts()
currently is defined to beself.header().ts_event
.