You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, there. I'm trying to open a spot SELL limit order on ByBit and I'm encountering that CCXT rounds up the variables before sending them to open the limit order. And when I look at markets for this crypto pair, it says that:
The changes happen in $orderRequest = \ccxt\bybit->create_order_request() of the method \ccxt\bybit->create_order(). Here $orderRequest already contains such an array:
which is then sent via API to ByBit. I.e. price from 10.3089 became 10.309, and qty from 5.04 became 5. And on the page https://www.bybit.com/ru-RU/trade/spot/RUNE/USDT itself the price 10.3089 is set and the qty 5.04 is also set.
seems i was in wrong direction. the problem is because of symbol id's clash.
Please try to use unified symbols format: RUNE/USDT (the slash between) for spot symbols, and RUNE/USDT:USDT format for USDT swap symbols.
Operating System
Windows 10
Programming Languages
PHP
CCXT Version
4.3.24
Description
Hi, there. I'm trying to open a spot SELL limit order on ByBit and I'm encountering that CCXT rounds up the variables before sending them to open the limit order. And when I look at markets for this crypto pair, it says that:
The changes happen in
$orderRequest = \ccxt\bybit->create_order_request()
of the method\ccxt\bybit->create_order()
. Here$orderRequest
already contains such an array:which is then sent via API to ByBit. I.e. price from 10.3089 became 10.309, and qty from 5.04 became 5. And on the page https://www.bybit.com/ru-RU/trade/spot/RUNE/USDT itself the price 10.3089 is set and the qty 5.04 is also set.
Code
The text was updated successfully, but these errors were encountered: