Market

Documentation on interacting with Mexc's Market API functions through the PENDAX Javascript SDK.

Test Connectivity

circle-info

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

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

Function Name:

testConnectivitySpot()

Usage:

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

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

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

let result = await testConnectivitySpot(myMexcExchanges);

Check Server Time

circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#check-server-timearrow-up-right

Function Name:

Usage:

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/#api-default-symbolarrow-up-right

Function Name:

Usage:

Exchange Information

circle-info

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

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

Function Name:

Usage:

Order Book

circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#order-bookarrow-up-right

Function Name:

Usage:

Recent Trades List

circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#recent-trades-listarrow-up-right

Function Name:

Usage:

Compressed/Aggregate Trades List

circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#compressed-aggregate-trades-listarrow-up-right

Function Name:

Usage:

Kline/Candlestick Data

circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#kline-candlestick-dataarrow-up-right

Function Name:

Usage:

Current Average Price

circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#current-average-pricearrow-up-right

Function Name:

Usage:

24hr Ticker Price Change Statistics

circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#24hr-ticker-price-change-statisticsarrow-up-right

Function Name:

Usage:

Symbol Price Ticker

circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#symbol-price-tickerarrow-up-right

Function Name:

Usage:

Symbol Order Book Ticker

circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#symbol-order-book-tickerarrow-up-right

Function Name:

Usage:

Last updated