Unless otherwise stated, all operations of the demo margin order are the same as the real margin order,including api name, api url, request field, and response description.
Click on these links below to see the details.
- Place a new margin order
- Change the loss cut / profit taking price and the other setting of a margin order
- Cancel a margin order
- Transfer out margin from an order to margin account
- Show margin order detail
- List of margin pending orders
- List of margin history orders
👇👇👇👇Below are two APIs that are different from the real margin (the difference is in the api name and api url ), and the request field & response description are same as real margin orders.
List of margin pending orders
API Name:
/POST/api/v1/x/show/open/leverOrder
API Url:
https://api.crossexchange.io/POST/api/v1/x/show/open/leverOrder
List of margin history orders
API Name:
/POST/api/v1/x/get/leverage/clearorder/history
API Url:
https://api.crossexchange.io/POST/api/v1/x/get/leverage/clearorder/history