Spot

Query product information

circle-info

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

https://phemex-docs.github.io#query-product-information-3arrow-up-right

Function Name:

getProductInfo()

Usage:

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

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

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

let result = await getProductInfo(myMainPhemexExchange);

Query server time

circle-info

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

https://phemex-docs.github.io#query-server-time-2arrow-up-right

Function Name:

Usage:

Place order

circle-info

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

https://phemex-docs.github.io/#place-order-http-put-prefered-3arrow-up-right

Function Name:

Usage:

Amend order

circle-info

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

https://phemex-docs.github.io#amend-orderarrow-up-right

Function Name:

Usage:

Cancel order

circle-info

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

https://phemex-docs.github.io#cancel-orderarrow-up-right

Function Name:

Usage:

Cancel all order by symbol

circle-info

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

https://phemex-docs.github.io#cancel-all-order-by-symbolarrow-up-right

Function Name:

Usage:

Query open order by order ID or client order ID

circle-info

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

https://phemex-docs.github.io#query-open-order-by-order-id-or-client-order-idarrow-up-right

Function Name:

Usage:

Query all open orders by symbol

circle-info

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

https://phemex-docs.github.io#query-all-open-orders-by-symbolarrow-up-right

Function Name:

Usage:

Query wallets

circle-info

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

https://phemex-docs.github.io#query-walletsarrow-up-right

Function Name:

Usage:

Query orders by order ID or client order ID

circle-info

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

https://phemex-docs.github.io#query-orders-by-order-id-or-client-order-idarrow-up-right

Function Name:

Usage:

Query order history

circle-info

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

https://phemex-docs.github.io#query-order-historyarrow-up-right

Function Name:

Usage:

Query trade history

circle-info

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

https://phemex-docs.github.io#query-trade-historyarrow-up-right

Function Name:

Usage:

Query PnL

circle-info

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

https://phemex-docs.github.io#query-pnlarrow-up-right

Function Name:

Usage:

Query chain information

circle-info

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

https://phemex-docs.github.io#query-chain-informationarrow-up-right

Function Name:

Usage:

Query deposit address by currency

circle-info

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

https://phemex-docs.github.io#query-deposit-address-by-currencyarrow-up-right

Function Name:

Usage:

Query recent deposit history

circle-info

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

https://phemex-docs.github.io#query-recent-deposit-historyarrow-up-right

Function Name:

Usage:

Query recent withdraw history

circle-info

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

https://phemex-docs.github.io#query-recent-withdraw-historyarrow-up-right

Function Name:

Usage:

Query funds history

circle-info

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

https://phemex-docs.github.io#query-funds-historyarrow-up-right

Function Name:

Usage:

Query fee rate by quote currency

circle-info

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

https://phemex-docs.github.io#query-fee-rate-by-quote-currencyarrow-up-right

Function Name:

Usage:

Query order book

circle-info

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

https://phemex-docs.github.io#query-order-book-3arrow-up-right

Function Name:

Usage:

Query full order book

circle-info

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

https://phemex-docs.github.io#query-full-order-book-2arrow-up-right

Function Name:

Usage:

Query recent trades

circle-info

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

https://phemex-docs.github.io#query-recent-trades-2arrow-up-right

Function Name:

Usage:

Query 24 hours ticker for all symbols

circle-info

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

https://phemex-docs.github.io#query-24-hours-ticker-for-all-symbols-2arrow-up-right

Function Name:

Usage:

Query 24 hours ticker

circle-info

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

https://phemex-docs.github.io#query-24-hours-ticker-2arrow-up-right

Function Name:

Usage:

Last updated