Skip to content

Commit

Permalink
Merge pull request #382 from crypto-chassis/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
cryptochassis authored Apr 20, 2023
2 parents 980782e + 929d104 commit 342742b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ class ExecutionManagementServiceKucoinBase : public ExecutionManagementService {
element.insert(CCAPI_EM_ORDER_SIDE, std::string(data["side"].GetString()) == "buy" ? CCAPI_EM_ORDER_SIDE_BUY : CCAPI_EM_ORDER_SIDE_SELL);
element.insert(CCAPI_IS_MAKER, std::string(data["liquidity"].GetString()) == "taker" ? "0" : "1");
element.insert(CCAPI_EM_ORDER_ID, data["orderId"].GetString());
element.insert(CCAPI_EM_CLIENT_ORDER_ID, data["clientOid"].GetString());
element.insert(CCAPI_EM_ORDER_INSTRUMENT, instrument);
elementList.emplace_back(std::move(element));
message.setElementList(elementList);
Expand Down

0 comments on commit 342742b

Please sign in to comment.