Trades (Coin-M)

Trade order

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+order

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

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+Rate

Function Name:

Usage:

Query Leverage

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+Leverage

Function Name:

Usage:

Modify Leverage

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+Leverage

Function Name:

Usage:

Cancel all orders

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+orders

Function Name:

Usage:

Close all positions in bulk

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+bulk

Function Name:

Usage:

Query warehouse

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+warehouse

Function Name:

Usage:

Query Account Assets

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+Assets

Function Name:

Usage:

Query force orders

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+orders

Function Name:

Usage:

Query Order Trade Detail

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+Detail

Function Name:

Usage:

Cancel an Order

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+Order

Function Name:

Usage:

Query all current pending orders

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+orders

Function Name:

Usage:

Query Order

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

Function Name:

Usage:

" Users History Orders "

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+Orders

Function Name:

Usage:

Query Margin Type

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+Type

Function Name:

Usage:

Set Margin Type

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+Type

Function Name:

Usage:

Adjust Isolated Margin

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+Margin

Function Name:

Usage:

Last updated