-
- OS: linux
- Programming Language version: python
- CCXT version: 2.1.33
i fear the fix for #15468 was unsuccessful / had negative side-effects
```
import ccxt
ct = ccxt.okx({...keys, 'opti…
-
## Describe your environment
* Operating system: _centos7___
* Python Version: _Python 3.10.6____ (`python -V`)
* CCXT version: __ccxt==2.0.58___ (`pip freeze | grep ccxt`)
* Freqtra…
-
I am trying to set leverage=1 for all perp swaps in the code. However, when I ran the code, the position is always opened with default leverage setting.
It seems I can only manually set leverage in …
-
- OS: linux
- Programming Language version: python
- CCXT version: 3.73.3
Trying to set leverage raises an exception
based on the [v5 documentation](https://www.okx.com/docs-v5/en/#rest-api-…
-
- OS: Linux
- Programming Language version: JS
- CCXT version: 2.2.0
I use simple watch order in loop for e.g.
```
while (true) {
const o = await exchange.watchOrders('BTC/USDT:USDT'…
-
- OS: linux
- Programming Language version: python/any
- CCXT version: 2.0.58
In current versions, calling `fetch_positions` with an empty array on okx fails.
This used to work in the past (prio…
-
- OS:
- Programming Language version: python / any
- CCXT version: 2.1.24
``` python
import ccxt
exchange = ccxt.okx()
res = exchange.fetch_ohlcv('BTC/USDT', '1d')
print(res[-1])
> [16674…
-
It seems like real world use of TLS certificate compression will likely use Brotli.
https://github.com/google/brotli
https://www.chromestatus.com/feature/5696925844111360
https://bugzilla.mozilla…
-
hi, i am testing the trade on okx, and i run cargo run --bin okx-ws-trading from examples.
the error is Error: api error: code=50014 msg=Parameter ccy can not be empty.
can you guide me where can i …
-
https://www.okx.com/en/trade-market/info/swap
Good afternoon, swaps have a concept as a minimum lot for buying, for BTC-USDT-SWAP it is = 0.01 but I can’t find the right method in the api that will r…