fix: Set RetrievedExchangeOpenOrder.exchange_order_id
Bugs (fixed):
* The 'exchange order id' field is empty in open orders data received
by client
This commit is contained in:
1 parent
6ca2753951
commit
f93bc592cb
1 file changed
+1
@@ -497,6 +497,7 @@ void OrderServiceServer::_on_exchange_open_orders(
|
||||
bts::api::orderman::RetrievedExchangeOpenOrder o_ord = {};
|
||||
std::string id = o.exchange_order_id;
|
||||
o_ord.set_record_id(id);
|
||||
o_ord.set_exchange_order_id(o.exchange_order_id);
|
||||
o_ord.set_exchange_sec_desc(o.exchange_sec_desc);
|
||||
o_ord.set_exchange_account(o.exchange_account);
|
||||
o_ord.set_security_key(o.security == nullptr ? 0 : o.security->id());
|
||||
|
||||
Reference in new issue
Block a user