Spot Account/Trade

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

User API default symbol

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#user-api-default-symbol

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

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#test-new-order

Function Name:

Usage:

Test New Order

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#new-order

Function Name:

Usage:

Cancel Order

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#batch-orders

Function Name:

Usage:

Cancel all Open Orders on a Symbol

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-symbol

Function Name:

Usage:

Query Order

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#query-order

Function Name:

Usage:

Current Open Orders

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#current-open-orders

Function Name:

Usage:

All Orders

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#all-orders

Function Name:

Usage:

Account Information

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#account-information

Function Name:

Usage:

Account Trade List

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#account-trade-list

Function Name:

Usage:

Enable MX Deduct

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#enable-mx-deduct

Function Name:

Usage:

Query MX Deduct Status

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#query-mx-deduct-status

Function Name:

Usage:

Last updated