- Provider
- OKX API V5
- Input summary
- {"name":"type","type":"string","required":false,"description":"Convert type 1 : Convert currency to contract 2 : Convert contract to currency The default is 1","enum":["1","2"]}, {"name":"instId","type":"string","required":true,"description":"Instrument ID only applicable to FUTURES /SWAP /OPTION"}, {"name":"sz","type":"string","required":true,"description":"Quantity to buy or sell It is quantity of currency while converting currency to contract; It is quantity of contract while converting contract to currency."}, {"name":"px","type":"string","required":false,"description":"Order price For crypto-margined contracts, it is necessary while converting. For USDT-margined contracts, it is necessary while converting between usdt and contract. It is opti..., {"name":"unit","type":"string","required":false,"description":"The unit of currency coin usds : USDT/USDC The default is coin , only applicable to USDⓈ-margined contracts from FUTURES /SWAP","enum":["coin","usds"]}, {"name":"opType","type":"string","required":false,"description":"Order type open : round down sz when opening positions close : round sz to the nearest when closing positions The default is close Applicable to FUTURES SWAP","enum":["open...
- Output summary
- Not available
- Billing
- 1
- Freshness
- Not available
- Verification
- Not available