refactor: Add 'ms' suffix to exch-open-order timestamp fields

Just to make it clear that they are milliseconds (not nanos, micros, etc.)
This commit is contained in:
John Colvin committed 2022-08-16 17:24:52 -04:00
1 parent 31897a1b2e
commit 7a31b025a2
2 files changed
+6 -4

No files matched your search

+2 -2
View File
@@ -528,8 +528,8 @@ void OrderServiceServer::_on_exchange_open_orders(
o_ord.set_qty(o.qty.full_value());
o_ord.set_filled_price(o.filled_price.value());
o_ord.set_filled_qty(o.filled_qty.full_value());
o_ord.set_creation_timestamp(o.creation_timestamp);
o_ord.set_last_update_timestamp(o.last_update_timestamp);
o_ord.set_creation_timestamp_ms(o.creation_timestamp);
o_ord.set_last_update_timestamp_ms(o.last_update_timestamp);
o_ord.set_api(o.api);
o_ord.set_web(o.web);
me->open_orders_publisher.add_or_update(o_ord);