Skip to content

Commit

Permalink
Update ccapi_execution_management_service_okx.h
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptochassis authored Mar 18, 2024
1 parent 724511c commit 522e303
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ class ExecutionManagementServiceOkx : public ExecutionManagementService {
element.insert(CCAPI_EM_ASSET, x["ccy"].GetString());
std::string availEq = x["availEq"].GetString();
element.insert(CCAPI_EM_QUANTITY_AVAILABLE_FOR_TRADING, availEq.empty() ? x["availBal"].GetString() : availEq);
element.insert(CCAPI_EM_QUANTITY_TOTAL, x["eq"].GetString());
element.insert(CCAPI_EM_QUANTITY_TOTAL, x["cashBal"].GetString());
elementList.emplace_back(std::move(element));
}
} break;
Expand Down

0 comments on commit 522e303

Please sign in to comment.