Trades (Coin-M)

Trade order

circle-info

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

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

Function Name:

placeTradeOrderCM()

Usage:

import { createExchange } from "./exchanges/exchange.js";

   let myBingxExchange  = createExchange({
      exchange: "bingx",
      authenticate: "true",
      key: "myKey",
      secret: "mySecret",
      label: "bingx"
  });

async function placeTradeOrderCM(exchange, options) {
    try {
        let result = await exchange.placeTradeOrderCM(options);
        console.log(result);
    } catch (error) {
        console.log(error.message);
    }
}

let result = await placeTradeOrderCM(myBingxExchange, {
	symbol: "<string>",
	type: "<string>",
	side: "<string>"
});

Query Trade Commission Rate

circle-info

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

https://bingx-api.github.io/docs/#/en-us/cswap/trade-api.html#Query+Trade+Commission+Ratearrow-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/cswap/trade-api.html#Query+Leveragearrow-up-right

Function Name:

Usage:

Modify Leverage

circle-info

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

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

Function Name:

Usage:

Cancel all orders

circle-info

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

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

Function Name:

Usage:

Close all positions in bulk

circle-info

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

https://bingx-api.github.io/docs/#/en-us/cswap/trade-api.html#Close+all+positions+in+bulkarrow-up-right

Function Name:

Usage:

Query warehouse

circle-info

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

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

Function Name:

Usage:

Query Account Assets

circle-info

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

https://bingx-api.github.io/docs/#/en-us/cswap/trade-api.html#Query+Account+Assetsarrow-up-right

Function Name:

Usage:

Query force orders

circle-info

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

https://bingx-api.github.io/docs/#/en-us/cswap/trade-api.html#Query+force+ordersarrow-up-right

Function Name:

Usage:

Query Order Trade Detail

circle-info

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

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

Function Name:

Usage:

Cancel an Order

circle-info

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

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

Function Name:

Usage:

Query all current pending orders

circle-info

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

https://bingx-api.github.io/docs/#/en-us/cswap/trade-api.html#Query+all+current+pending+ordersarrow-up-right

Function Name:

Usage:

Query Order

circle-info

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

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

Function Name:

Usage:

" Users History Orders "

circle-info

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

https://bingx-api.github.io/docs/#/en-us/cswap/trade-api.html#User's+History+Ordersarrow-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/cswap/trade-api.html#Query+Margin+Typearrow-up-right

Function Name:

Usage:

Set Margin Type

circle-info

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

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

Function Name:

Usage:

Adjust Isolated Margin

circle-info

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

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

Function Name:

Usage:

Last updated