refactor: Use core::TimeStamp::to_ll in gen md listener
Working towards unifying TimeStamp code
This commit is contained in:
1 parent
62a6e4340f
commit
14c417eeec
1 file changed
+1
-1
@@ -586,7 +586,7 @@ void GeneralMarketDataListener::on_trades(
|
||||
tp->trade_price, aggressor_side,
|
||||
me->inc_book_data.get_const_book(tp->sec_id), tp->sec_id);
|
||||
|
||||
auto trade_ts = datetime::ll_from_unix_epoch_ms(tp->time_stamp.millis());
|
||||
const auto trade_ts = tp->time_stamp.to_ll();
|
||||
// Process the trade even if aggressor_side is NONE
|
||||
if (handle != nullptr) {
|
||||
handle->handle.add_trade(
|
||||
|
||||
Reference in new issue
Block a user