0.0.12 • Published 1 year ago

ccxt-with-rest-api-type v0.0.12

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Ccxt With Rest Api Type for NODEJS

npm install --save-dev ccxt-with-rest-api-type
yarn add -D ccxt-with-rest-api-type

Typescript

import {binanceRestApiType} from 'ccxt-with-rest-api-type';
import ccxt from "ccxt";

const binance = <binanceRestApiType>new ccxt.binance();

(async ()=>{
    const ExchangeInfo = await binance.fapiPublicGetExchangeInfo()
    console.log(ExchangeInfo)
})()

Javascript

import ccxt from "ccxt";
/**
 * @type {import('ccxt-with-rest-api-type').wooRestApiType}
 */
const woo = new ccxt.woo();

(async () => {
    const ExchangeInfo = await woo.v1PublicGetFuturesSymbol({
        symbol: 'PERP_BTC_USDT'
    });
    console.log(ExchangeInfo)
})()
0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago