NAV
中文
Java Python Go C++

2024-09-19

Parameter Type Description
enableSpotBorrow Boolean Whether borrow is allowed or not in Spot mode
true: Enabled
false: Disabled
spotBorrowAutoRepay Boolean Whether auto-repay is allowed or not in Spot mode
true: Enabled
false: Disabled
Parameter Type Description
disCcyEq String Discount equity in currency for quick calculation if your equity is themaxAmt
Parameter Type Required Description
lockInterval String No Lock interval(ms)
The range should be [0, 10 000]
The default is 0. You can set it as "0" if you want to unlock it immediately.
Error 54008 will be thorwn when placing order duiring lock interval, it is different from 51034 which is thrown when MMP is triggered
Error Code HTTP Status Code Error Message
54008 200 This operation is disabled by the 'mass cancel order' endpoint. Please enable it using this endpoint.
54009 200 The range of {param0} should be [{param1}, {param2}].
Parameter Type Description
isTradeBorrowMode String Whether borrowing currency automatically
true
false
Only applicable to trigger order, trailing order and twap order