Market

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

Test Connectivity

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

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

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

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#check-server-time

Function Name:

Usage:

API default symbol

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

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

Function Name:

Usage:

Exchange Information

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

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

Function Name:

Usage:

Order Book

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

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

Function Name:

Usage:

Recent Trades List

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#recent-trades-list

Function Name:

Usage:

Compressed/Aggregate Trades List

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#compressed-aggregate-trades-list

Function Name:

Usage:

Kline/Candlestick Data

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#kline-candlestick-data

Function Name:

Usage:

Current Average Price

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#current-average-price

Function Name:

Usage:

24hr Ticker Price Change Statistics

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

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

Function Name:

Usage:

Symbol Price Ticker

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#symbol-price-ticker

Function Name:

Usage:

Symbol Order Book Ticker

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#symbol-order-book-ticker

Function Name:

Usage:

Last updated