Modules§
Structs§
Enums§
- Account
Type - AdlRank
Indicator - Announcement
Type - Cancel
Type - Category
- Unified Account: spot | linear | inverse | option Classic Account: linear | inverse | spot
- Contract
Type - Convert
Account Type - Copy
Trading - Create
Type - CurAuction
Phase - DCPProduct
- Data
Recording Period - DcpFunction
- Deposit
Status - Depth
Level - Env
- Error
- Exec
Type - Extra
FeeType - Extra
SubFee Type - Interval
- Interval
Time - Locale
- LtStatus
- Maintain
Type - Margin
Mode - Margin
Trading - OcoTrigger
By - Option
Period - Order
Status - Order
Type - Pair
- Path
- Place
Type - Position
Idx - Position
Mode - Position
Status - Product
- Reject
Reason - Service
Types - Side
- Slippage
Tolerance Type - SmpType
- Spot
Hedging Status - State
- Status
- Stop
Order Type - Tick
Direction - Time
InForce - Topic
- Tpsl
Mode - Trade
Mode - Transfer
Status - Trigger
By - Trigger
Direction - Type
- Unified
Margin Status - VipLevel
- Withdraw
Status
Constants§
- BASE_
URL_ API_ DEMO - BASE_
URL_ API_ MAINNET_ 1 - BASE_
URL_ API_ MAINNET_ 2 - BASE_
URL_ API_ MAINNET_ 3 - For Netherland users.
- BASE_
URL_ API_ MAINNET_ 4 - For Hong Kong users.
- BASE_
URL_ API_ MAINNET_ 5 - For Turkey users.
- BASE_
URL_ API_ MAINNET_ 6 - For Kazakhstan users.
- BASE_
URL_ API_ TESTNET - BASE_
URL_ STREAM_ DEMO - BASE_
URL_ STREAM_ MAINNET_ 1 - BASE_
URL_ STREAM_ MAINNET_ 2 - For Turkey users.
- BASE_
URL_ STREAM_ MAINNET_ 3 - For Kazakhstan users.
- BASE_
URL_ STREAM_ TESTNET
Functions§
- create_
stream_ signature - hmac_
sha256 - Generates HMAC using the given key and message.
- spot_
fee_ currency - timestamp
- Return milliseconds.