Module v5_constants

Source
Expand description

Bybit V5 product categories

Constantsยง

CATEGORY_INVERSE
Product category for inverse perpetual futures on Bybit V5 API
CATEGORY_LINEAR
Product category for linear perpetual futures on Bybit V5 API
CATEGORY_OPTION
Product category for options trading on Bybit V5 API
CATEGORY_SPOT
Product category for spot trading on Bybit V5 API
LEVERAGE_DISABLED
Leverage disabled for spot trading (0)
LEVERAGE_ENABLED
Leverage enabled for margin trading (1)
MARKET_UNIT_BASE_COIN
Market unit for spot trading orders using base coin quantity
MARKET_UNIT_QUOTE_COIN
Market unit for spot trading orders using quote coin quantity
ORDER_FILTER_ORDER
Order filter for regular spot orders
ORDER_FILTER_STOP_ORDER
Order filter for stop orders
ORDER_FILTER_TPSL_ORDER
Order filter for take profit/stop loss orders
ORDER_TYPE_LIMIT
Limit order type for take profit/stop loss execution
ORDER_TYPE_MARKET
Market order type for take profit/stop loss execution
SLIPPAGE_PERCENT
Slippage tolerance type measured as percentage
SLIPPAGE_TICK_SIZE
Slippage tolerance type measured in tick size units
SMP_CANCEL_BOTH
Self-match prevention cancels both orders
SMP_CANCEL_MAKER
Self-match prevention cancels the maker order
SMP_CANCEL_TAKER
Self-match prevention cancels the taker order
SMP_NONE
Self-match prevention disabled - no action taken
TPSL_MODE_FULL
Take profit/stop loss mode affecting entire position
TPSL_MODE_PARTIAL
Take profit/stop loss mode affecting partial position
TRIGGER_BY_INDEX_PRICE
Trigger price type based on index price
TRIGGER_BY_LAST_PRICE
Trigger price type based on last trade price
TRIGGER_BY_MARK_PRICE
Trigger price type based on mark price
TRIGGER_DIRECTION_FALL
Trigger direction indicating price fall to trigger order
TRIGGER_DIRECTION_RISE
Trigger direction indicating price rise to trigger order