-
Good evening @tiagosiebler,
I encounter a problem with the function `getSubAccountBalances` but I have no idea to what this issue is related to.
```
const subAccountBalances = await OKX.client.ge…
-
###
To watch with `books-l2-tbt` or `books50-l2-tbt` option, login is required for `/public` channel.
```js
async watchOrderBook (symbol, limit = undefined, params = {}) {
const o…
-
- Programming Language version: Python
- CCXT version: 2.2.80
I would like use https://www.okx.com/docs-v5/en/#rest-api-market-data-get-mark-price-candlesticks-history
But when I use fetch_mark…
-
POST /api/v5/trade/order-algo accepts more arguments, that are necessary to make an order.
https://www.okx.com/docs-v5/en/#rest-api-trade-place-algo-order
F.e. it's missing a 'triggerPx'
-
Occurs after running `npm run build` and using OKx to getBalance. Producing the following:
```
Uncaught (in promise) TypeError: Cannot convert a BigInt value to a number
at Math.pow ()
…
-
Hi all, my issue is probably something really simple but I don't get where am I doing wrong.
I open a position with a given amount and close the position with the same amount. But somehow when closin…
-
## Describe your environment
* Operating system: Linux Ubuntu
* Python Version: Python 3.10.6
* CCXT version:
* Freqtrade Version: 2022.9.1
Note: All issues other than enhancement …
-
**Describe the bug**
Existing implementation accepts sCode=5140 which is an invalid error code according to OKX implementation. This results in failure to cancel order which does not exist or has alr…
-
cancel_algo_order and cancel_advance_algo_order don't work because the body of the request has to be an array, as you can read here https://www.okx.com/docs-v5/en/#rest-api-trade-cancel-algo-order.
…
-
I have use proxy in terminal and code but got this error :
ExchangeNotAvailable: okx GET https://www.okx.com/api/v5/asset/currencies fetch failed
virsion:
"ccxt": "^2.0.55"
"https-proxy-agent"…