Enums Definitions
locale
de-DE
en-US
es-AR
es-ES
es-MX
fr-FR
kk-KZ
id-ID
uk-UA
ja-JP
ru-RU
th-TH
pt-BR
tr-TR
vi-VN
zh-TW
ar-SA
hi-IN
fil-PH
announcementType
new_crypto
latest_bybit_news
delistings
latest_activities
product_updates
maintenance_updates
new_fiat_listings
other
announcementTag
Spot
Derivatives
Spot Listings
BTC
ETH
Trading Bots
USDC
Leveraged Tokens
USDT
Margin Trading
Partnerships
Launchpad
Upgrades
ByVotes
Delistings
VIP
Futures
Institutions
Options
WEB3
Copy Trading
Earn
Bybit Savings
Dual Asset
Liquidity Mining
Shark Fin
Launchpool
NFT GrabPic
Buy Crypto
P2P Trading
Fiat Deposit
Crypto Deposit
Спот
Спот лістинги
Торгові боти
Токени з кредитним плечем
Маржинальна торгівля
Партнерство
Оновлення
Делістинги
Ф'ючерси
Опціони
Копітрейдинг
Bybit Накопичення
Бівалютні інвестиції
Майнінг ліквідності
Купівля криптовалюти
P2P торгівля
Фіатні депозити
Криптодепозити
Копитрейдинг
Торговые боты
Деривативы
P2P
Спот листинги
Деривативи
MT4
Lucky Draw
Unified Trading Account
Єдиний торговий акаунт
Единый торговый аккаунт
Институциональный трейдинг
Інституціональний трейдинг
Делистинг
category
Unified Account
spot
linear
USDT perpetual, and USDC contract, including USDC perp, USDC futuresinverse
Inverse contract, including Inverse perp, Inverse futuresoption
Classic Account
linear
USDT perpinverse
Inverse contract, including Inverse perp, Inverse futuresspot
orderStatus
open status
New
order has been placed successfullyPartiallyFilled
Untriggered
Conditional orders are created
closed status
Rejected
PartiallyFilledCanceled
Only spot has this order statusFilled
Cancelled
In derivatives, orders with this status may have an executed qtyTriggered
instantaneous state for conditional orders from Untriggered to NewDeactivated
UTA: Spot tp/sl order, conditional order, OCO order are cancelled before they are triggered
timeInForce
GTC
GoodTillCancelIOC
ImmediateOrCancelFOK
FillOrKill- PostOnly
createType
CreateByUser
CreateByAdminClosing
CreateBySettle
USDC Futures delivery; Position closed by contract delistedCreateByStopOrder
Futures conditional orderCreateByTakeProfit
Futures take profit orderCreateByPartialTakeProfit
Futures partial take profit orderCreateByStopLoss
Futures stop loss orderCreateByPartialStopLoss
Futures partial stop loss orderCreateByTrailingStop
Futures trailing stop orderCreateByLiq
Laddered liquidation to reduce the required maintenance marginCreateByTakeOver_PassThrough
If the position is still subject to liquidation (i.e., does not meet the required maintenance margin level), the position shall be taken over by the liquidation engine and closed at the bankruptcy price.CreateByAdl_PassThrough
Auto-Deleveraging(ADL)CreateByBlock_PassThrough
Order placed via ParadigmCreateByBlockTradeMovePosition_PassThrough
Order created by move positionCreateByClosing
The close order placed via web or app position area - web/appCreateByFGridBot
Order created via grid bot - web/appCloseByFGridBot
Order closed via grid bot - web/appCreateByTWAP
Order created by TWAP - web/appCreateByTVSignal
Order created by TV webhook - web/appCreateByMmRateClose
Order created by Mm rate close function - web/appCreateByMartingaleBot
Order created by Martingale bot - web/appCloseByMartingaleBot
Order closed by Martingale bot - web/appCreateByIceBerg
Order created by Ice berg strategy - web/appCreateByArbitrage
Order created by arbitrage - web/appCreateByDdh
Option dynamic delta hedge order - web/app
execType
Trade
AdlTrade
Auto-DeleveragingFunding
Funding feeBustTrade
Takeover liquidationDelivery
USDC futures delivery; Position closed by contract delistedSettle
Inverse futures settlement; Position closed due to delistingBlockTrade
MovePosition
UNKNOWN
May be returned by a classic account. Cannot query by this type
orderType
Market
Limit
UNKNOWN
is not a valid request parameter value. Is only used in some responses. Mainly, it is used whenexecType
isFunding
.
stopOrderType
TakeProfit
StopLoss
TrailingStop
Stop
PartialTakeProfit
PartialStopLoss
tpslOrder
spot TP/SL orderOcoOrder
spot Oco orderMmRateClose
On web or app can set MMR to close positionBidirectionalTpslOrder
Spot bidirectional tpsl order
tickDirection
PlusTick
price riseZeroPlusTick
trade occurs at the same price as the previous trade, which occurred at a price higher than that for the trade preceding itMinusTick
price dropZeroMinusTick
trade occurs at the same price as the previous trade, which occurred at a price lower than that for the trade preceding it
interval
1
3
5
15
30
60
120
240
360
720
minuteD
dayW
weekM
month
intervalTime
5min
15min
30min
minute1h
4h
hour1d
day
positionIdx
0
one-way mode position1
Buy side of hedge-mode position2
Sell side of hedge-mode position
positionStatus
Normal
Liq
in the liquidation progressAdl
in the auto-deleverage progress
rejectReason
EC_NoError
EC_Others
EC_UnknownMessageType
EC_MissingClOrdID
EC_MissingOrigClOrdID
EC_ClOrdIDOrigClOrdIDAreTheSame
EC_DuplicatedClOrdID
EC_OrigClOrdIDDoesNotExist
EC_TooLateToCancel
EC_UnknownOrderType
EC_UnknownSide
EC_UnknownTimeInForce
EC_WronglyRouted
EC_MarketOrderPriceIsNotZero
EC_LimitOrderInvalidPrice
EC_NoEnoughQtyToFill
EC_NoImmediateQtyToFill
EC_PerCancelRequest
EC_MarketOrderCannotBePostOnly
EC_PostOnlyWillTakeLiquidity
EC_CancelReplaceOrder
EC_InvalidSymbolStatus
EC_CancelForNoFullFill
EC_BySelfMatch
EC_InCallAuctionStatus
used for pre-market order operation, e.g., during 2nd phase of call auction, cancel order is not allowed, when the cancel request is failed to be rejected by trading server, the request will be rejected by matching box finally
accountType
UTA2.0
UNIFIED
Unified Trading AccountFUND
Funding Account
UTA1.0
CONTRACT
Inverse Derivatives Account (no UDST in this wallet))UNIFIED
Unified Trading AccountFUND
Funding Account
Classic account
Also known as the "standard account".
SPOT
Spot AccountCONTRACT
Derivatives Account (contain USDT in this wallet)FUND
Funding Account
transferStatus
SUCCESS
PENDING
FAILED
depositStatus
0
unknown1
toBeConfirmed2
processing3
success (finalised status of a success deposit)4
deposit failed10011
pending to be credited to funding pool10012
Credited to funding pool successfully
withdrawStatus
SecurityCheck
Pending
success
CancelByUser
Reject
Fail
BlockchainConfirmed
MoreInformationRequired
Unknown
a rare status
triggerBy
LastPrice
IndexPrice
MarkPrice
cancelType
CancelByUser
CancelByReduceOnly
cancelled by reduceOnlyCancelByPrepareLiq
CancelAllBeforeLiq
cancelled in order to attempt liquidation prevention by freeing up marginCancelByPrepareAdl
CancelAllBeforeAdl
cancelled due to ADLCancelByAdmin
CancelBySettle
cancelled due to delisting contractCancelByTpSlTsClear
TP/SL order cancelled when the position is clearedCancelBySmp
cancelled by SMP
Options:
CancelByUser
CancelByReduceOnly
CancelAllBeforeLiq
cancelled due to liquidationCancelAllBeforeAdl
cancelled due to ADLCancelBySettle
CancelByCannotAffordOrderCost
CancelByPmTrialMmOverEquity
CancelByAccountBlocking
CancelByDelivery
CancelByMmpTriggered
CancelByCrossSelfMuch
CancelByCrossReachMaxTradeNum
CancelByDCP
CancelBySmp
optionPeriod
- BTC:
7
,14
,21
,30
,60
,90
,180
,270
days - ETH:
7
,14
,21
,30
,60
,90
,180
,270
days - SOL:
7
,14
,21
,30
,60
,90
days
dataRecordingPeriod
5min
15min
30min
minute1h
4h
hour4d
day
contractType
InversePerpetual
LinearPerpetual
LinearFutures
USDC FuturesInverseFutures
status
PreLaunch
Trading
Delivering
Closed
curAuctionPhase
NotStarted
Pre-market trading is not startedFinished
Pre-market trading is finished- After the auction, if the pre-market contract fails to enter continues trading phase, it will be delisted and phase="Finished"
- After the continuous trading, if the pre-market contract fails to be converted to official contract, it will be delisted and phase="Finished"
CallAuction
Auction phase of pre-market trading- only timeInForce=GTC, orderType=Limit order is allowed to submit
- TP/SL are not supported; Conditional orders are not supported
- cannot modify the order at this stage
- order price range: [preOpenPrice x 0.5, maxPrice]
CallAuctionNoCancel
Auction no cancel phase of pre-market tradingCrossMatching
cross matching phase- cannot create, modify and cancel the order at this stage
- Candle data is released from this stage
ContinuousTrading
Continuous trading phase- There is no restriction to create, amend, cancel orders
- orderbook, public trade data is released from this stage
marginTrading
none
Regardless of normal account or UTA account, this trading pair does not support margin tradingboth
For both normal account and UTA account, this trading pair supports margin tradingutaOnly
Only for UTA account,this trading pair supports margin tradingnormalSpotOnly
Only for normal account, this trading pair supports margin trading
copyTrading
none
Regardless of normal account or UTA account, this trading pair does not support copy tradingboth
For both normal account and UTA account, this trading pair supports copy tradingutaOnly
Only for UTA account,this trading pair supports copy tradingnormalOnly
Only for normal account, this trading pair supports copy trading
type(uta-translog)
TRANSFER_IN
Assets that transferred into Unified walletTRANSFER_OUT
Assets that transferred out from Unified walletTRADE
SETTLEMENT
USDT Perp funding settlement, and USDC Perp funding settlement + USDC 8-hour session settlementDELIVERY
USDC Futures, Option deliveryLIQUIDATION
ADL
Auto-DeleveragingAIRDROP
BONUS
Bonus claimedBONUS_RECOLLECT
Bonus expiredFEE_REFUND
Trading fee refundedINTEREST
Interest occurred due to borrowingCURRENCY_BUY
Currency convert, and the liquidation for borrowing asset(UTA loan)CURRENCY_SELL
Currency convert, and the liquidation for borrowing asset(UTA loan)BORROWED_AMOUNT_INS_LOAN
PRINCIPLE_REPAYMENT_INS_LOAN
INTEREST_REPAYMENT_INS_LOAN
AUTO_SOLD_COLLATERAL_INS_LOAN
the liquidation for borrowing asset(INS loan)AUTO_BUY_LIABILITY_INS_LOAN
the liquidation for borrowing asset(INS loan)AUTO_PRINCIPLE_REPAYMENT_INS_LOAN
AUTO_INTEREST_REPAYMENT_INS_LOAN
TRANSFER_IN_INS_LOAN
Transfer In when in the liquidation of OTC loanTRANSFER_OUT_INS_LOAN
Transfer Out when in the liquidation of OTC loanSPOT_REPAYMENT_SELL
One-click repayment currency sellSPOT_REPAYMENT_BUY
One-click repayment currency buyTOKENS_SUBSCRIPTION
Spot leverage token subscriptionTOKENS_REDEMPTION
Spot leverage token redemptionAUTO_DEDUCTION
Asset auto deducted by system (roll back)FLEXIBLE_STAKING_SUBSCRIPTION
Byfi flexible stake subscriptionFLEXIBLE_STAKING_REDEMPTION
Byfi flexible stake redemptionFIXED_STAKING_SUBSCRIPTION
Byfi fixed stake subscriptionPREMARKET_TRANSFER_OUT
PREMARKET_DELIVERY_SELL_NEW_COIN
PREMARKET_DELIVERY_BUY_NEW_COIN
PREMARKET_DELIVERY_PLEDGE_PAY_SELLER
PREMARKET_DELIVERY_PLEDGE_BACK
PREMARKET_ROLLBACK_PLEDGE_BACK
PREMARKET_ROLLBACK_PLEDGE_PENALTY_TO_BUYER
CUSTODY_NETWORK_FEE
fireblocks businessCUSTODY_SETTLE_FEE
fireblocks businessCUSTODY_LOCK
fireblocks / copper businessCUSTODY_UNLOCK
fireblocks businessCUSTODY_UNLOCK_REFUND
fireblocks businessLOANS_BORROW_FUNDS
crypto loanLOANS_PLEDGE_ASSET
crypto loan repaymentBONUS_TRANSFER_IN
BONUS_TRANSFER_OUT
type(contract-translog)
TRANSFER_IN
Assets that transferred into (inverse) derivatives walletTRANSFER_OUT
Assets that transferred out from (inverse) derivatives walletTRADE
SETTLEMENT
USDT / Inverse Perp funding settlementDELIVERY
Inverse Futures deliveryLIQUIDATION
ADL
Auto-DeleveragingAIRDROP
BONUS
Bonus claimedBONUS_RECOLLECT
Bonus expiredFEE_REFUND
Trading fee refundedCURRENCY_BUY
Currency convertCURRENCY_SELL
Currency convertAUTO_DEDUCTION
Asset auto deducted by system (roll back)Others
unifiedMarginStatus
1
Classic account3
Unified trading account 1.04
Unified trading account 1.0 (pro version)5
Unified trading account 2.06
Unified trading account 2.0 (pro version)
ltStatus
1
LT can be purchased and redeemed2
LT can be purchased, but not redeemed3
LT can be redeemed, but not purchased4
LT cannot be purchased nor redeemed5
Adjusting position
convertAccountType
Check the value of unifiedMarginStatus
UTA2.0
eb_convert_uta
Unified Trading Accounteb_convert_funding
Funding Account
UTA1.0
eb_convert_inverse
Inverse Derivatives Account (no USDT in this wallet))eb_convert_uta
Unified Trading Accounteb_convert_funding
Funding Account
Classic account
Also known as the "standard account"
eb_convert_spot
Spot Accounteb_convert_contract
Derivatives Account (contain USDT in this wallet)eb_convert_funding
Funding Account
symbol
USDT Perpetual:
BTCUSDT
ETHUSDT
USDC Perpetual:
BTCPERP
ETHPERP
USDC Futures:
BTC-24MAR23
Inverse Perpetual:
BTCUSD
ETHUSD
Inverse Futures:
BTCUSDH23
H: First quarter; 23: 2023BTCUSDM23
M: Second quarter; 23: 2023BTCUSDU23
U: Third quarter; 23: 2023BTCUSDZ23
Z: Fourth quarter; 23: 2023
Spot:
BTCUSDT
ETHUSDC
vipLevel
- No VIP
- VIP-1
- VIP-2
- VIP-3
- VIP-4
- VIP-5
- VIP-Supreme
- PRO-1
- PRO-2
- PRO-3
- PRO-4
- PRO-5
adlRankIndicator
0
default value of empty position1
2
3
4
5
smpType
- default:
None
CancelMaker
CancelTaker
CancelBoth
Spot Fee Currency Instruction
with the example of BTCUSDT:
- Is makerFeeRate positive?
- TRUE
- Side = Buy -> base currency (BTC)
- Side = Sell -> quote currency (USDT)
- FALSE
- IsMakerOrder = TRUE
- Side = Buy -> quote currency (USDT)
- Side = Sell -> base currency (BTC)
- IsMakerOrder = FALSE
- Side = Buy -> base currency (BTC)
- Side = Sell -> quote currency (USDT)
- IsMakerOrder = TRUE
- TRUE