Trades (Spot)

Place order

circle-info

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

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

Function Name:

placeOrderSpot()

Usage:

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

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

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

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

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/spot/trade-api.html#Place+multiple+ordersarrow-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/spot/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/spot/trade-api.html#Cancel+multiple+ordersarrow-up-right

Function Name:

Usage:

Cancel all Open Orders on a Symbol

circle-info

Function Name:

Usage:

Cancel an Existing Order and Send a New Orde

circle-info

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/spot/trade-api.html#Query+Order+detailsarrow-up-right

Function Name:

Usage:

Current Open Orders

circle-info

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

https://bingx-api.github.io/docs/#/en-us/spot/trade-api.html#Current+Open+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/spot/trade-api.html#Query+Order+historyarrow-up-right

Function Name:

Usage:

Query transaction details

circle-info

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

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

Function Name:

Usage:

Query Trading Commission Rate

circle-info

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

https://bingx-api.github.io/docs/#/en-us/spot/trade-api.html#Query+Trading+Commission+Ratearrow-up-right

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/spot/trade-api.html#Cancel+All+Afterarrow-up-right

Function Name:

Usage:

Last updated