Trades (USDT-M)

Test Order

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Test+Orderarrow-up-right

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

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Place+orderarrow-up-right

Function Name:

Usage:

Place order in demo trading

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Place+order+in+demo+tradingarrow-up-right

Function Name:

Usage:

Place multiple orders

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Place+multiple+ordersarrow-up-right

Function Name:

Usage:

Close All Positions

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Close+All+Positionsarrow-up-right

Function Name:

Usage:

Cancel Order

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Cancel+Orderarrow-up-right

Function Name:

Usage:

Cancel multiple orders

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Cancel+multiple+ordersarrow-up-right

Function Name:

Usage:

Cancel All Open Orders

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Cancel+All+Open+Ordersarrow-up-right

Function Name:

Usage:

Current All Open Orders

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Current+All+Open+Ordersarrow-up-right

Function Name:

Usage:

Query pending order status

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Query+pending+order+statusarrow-up-right

Function Name:

Usage:

Query Order details

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Query+Order+detailsarrow-up-right

Function Name:

Usage:

Query Margin Type

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Query+Margin+Typearrow-up-right

Function Name:

Usage:

Change Margin Type

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Change+Margin+Typearrow-up-right

Function Name:

Usage:

Query Leverage

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Query+Leveragearrow-up-right

Function Name:

Usage:

Set Leverage

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Set+Leveragearrow-up-right

Function Name:

Usage:

Users Force Orders

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#User's+Force+Ordersarrow-up-right

Function Name:

Usage:

Query Order history

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Query+Order+historyarrow-up-right

Function Name:

Usage:

Modify Isolated Position Margin

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Modify+Isolated+Position+Marginarrow-up-right

Function Name:

Usage:

Query historical transaction orders

circle-info

Function Name:

Usage:

Set Position Mode

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Set+Position+Modearrow-up-right

Function Name:

Usage:

Query position mode

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Query+position+modearrow-up-right

Function Name:

Usage:

Cancel an Existing Order and Send a New Orde

circle-info

Function Name:

Usage:

Cancel orders in batches and place orders in batches

Function Name:

Usage:

Cancel All After

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Cancel+All+Afterarrow-up-right

Function Name:

Usage:

Close position by position ID

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Close+position+by+position+IDarrow-up-right

Function Name:

Usage:

All Orders

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#All+Ordersarrow-up-right

Function Name:

Usage:

Position and Maintenance Margin Ratio

circle-info

Function Name:

Usage:

Query historical transaction details

circle-info

Function Name:

Usage:

Query Position History

circle-info

Please refer to the official BingX API Docs for the Required parameters.

https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Query+Position+Historyarrow-up-right

Function Name:

Usage:

Last updated