0.0.12 • Published 2 years ago

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

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years 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

2 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago