Skip to content

Commit 5ce8450

Browse files
Merge pull request #464 from crypto-chassis/develop
Release
2 parents e007310 + 522e303 commit 5ce8450

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

README.md

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# Notifications:
2-
* New features: added REST endpoints for fetching historical public trades, historical/recent candlesticks, and market depth (i.e. order book snapshot).
3-
* Small breaking change to correct an English typo: In `SessionOptions`, the substring "MilliSeconds" has been renamed to "Milliseconds".
4-
51
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
62
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
73
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*

include/ccapi_cpp/service/ccapi_execution_management_service_okx.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ class ExecutionManagementServiceOkx : public ExecutionManagementService {
305305
element.insert(CCAPI_EM_ASSET, x["ccy"].GetString());
306306
std::string availEq = x["availEq"].GetString();
307307
element.insert(CCAPI_EM_QUANTITY_AVAILABLE_FOR_TRADING, availEq.empty() ? x["availBal"].GetString() : availEq);
308-
element.insert(CCAPI_EM_QUANTITY_TOTAL, x["eq"].GetString());
308+
element.insert(CCAPI_EM_QUANTITY_TOTAL, x["cashBal"].GetString());
309309
elementList.emplace_back(std::move(element));
310310
}
311311
} break;

0 commit comments

Comments
 (0)