Spot Account/Trade

Documentation on interacting with Mexc's Spot Account/Trade API functions through the PENDAX Javascript SDK.

User API default symbol

circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#user-api-default-symbolarrow-up-right

Function Name:

getSelfSymbolsSpot()

Usage:

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

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

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

let result = await getSelfSymbolsSpot(myMexcExchanges);

New Order

circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#test-new-orderarrow-up-right

Function Name:

Usage:

Test New Order

circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#new-orderarrow-up-right

Function Name:

Usage:

Cancel Order

circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#batch-ordersarrow-up-right

Function Name:

Usage:

Cancel all Open Orders on a Symbol

circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#cancel-all-open-orders-on-a-symbolarrow-up-right

Function Name:

Usage:

Query Order

circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#query-orderarrow-up-right

Function Name:

Usage:

Current Open Orders

circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#current-open-ordersarrow-up-right

Function Name:

Usage:

All Orders

circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#all-ordersarrow-up-right

Function Name:

Usage:

Account Information

circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#account-informationarrow-up-right

Function Name:

Usage:

Account Trade List

circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#account-trade-listarrow-up-right

Function Name:

Usage:

Enable MX Deduct

triangle-exclamation
circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#enable-mx-deductarrow-up-right

Function Name:

Usage:

Query MX Deduct Status

triangle-exclamation
circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#query-mx-deduct-statusarrow-up-right

Function Name:

Usage:

Last updated