Trades (USDT-M)
Test Order
Function Name:
testOrderUM()Usage:
import { createExchange } from "./exchanges/exchange.js";
let myBingxExchange = createExchange({
exchange: "bingx",
authenticate: "true",
key: "myKey",
secret: "mySecret",
label: "bingx"
});
async function testOrderUM(exchange, options) {
try {
let result = await exchange.testOrderUM(options);
console.log(result);
} catch (error) {
console.log(error.message);
}
}
let result = await testOrderUM(myBingxExchange, {
symbol: "<string>",
type: "<string>",
side: "<string>"
});Place order
Function Name:
Usage:
Place order in demo trading
Function Name:
Usage:
Place multiple orders
Function Name:
Usage:
Close All Positions
Function Name:
Usage:
Cancel Order
Function Name:
Usage:
Cancel multiple orders
Function Name:
Usage:
Cancel All Open Orders
Function Name:
Usage:
Current All Open Orders
Function Name:
Usage:
Query pending order status
Function Name:
Usage:
Query Order details
Function Name:
Usage:
Query Margin Type
Function Name:
Usage:
Change Margin Type
Function Name:
Usage:
Query Leverage
Function Name:
Usage:
Set Leverage
Function Name:
Usage:
Users Force Orders
Function Name:
Usage:
Query Order history
Function Name:
Usage:
Modify Isolated Position Margin
Function Name:
Usage:
Query historical transaction orders
Function Name:
Usage:
Set Position Mode
Function Name:
Usage:
Query position mode
Function Name:
Usage:
Cancel an Existing Order and Send a New Orde
Function Name:
Usage:
Cancel orders in batches and place orders in batches
Function Name:
Usage:
Cancel All After
Function Name:
Usage:
Close position by position ID
Function Name:
Usage:
All Orders
Function Name:
Usage:
Position and Maintenance Margin Ratio
Function Name:
Usage:
Query historical transaction details
Function Name:
Usage:
Query Position History
Function Name:
Usage:
Last updated