1.5.31 • Published 4 months ago

binance-historical v1.5.31

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

binance-historical

Utility to retrieve historical data from Binance.

Alt Text

Usage

With the cli

npm install -g binance-historical
binance-historical download

# or by using npx
npx binance-historical download

With the library

import { getKline, Kline } from 'binance-historical';

const result: Array<Kline> = await getKline(
  'ETHUSDT',
  '4h',
  new Date('01-09-2020'),
  new Date('01-12-2021'),
);

console.log(result);
// [
//   ...,
//   {
//     openTime: 1579953600000,
//     open: '159.30000000',
//     high: '161.00000000',
//     low: '158.70000000',
//     close: '160.41000000',
//     volume: '25015.67605000',
//     closeTime: 1579967999999,
//     quoteAssetVolume: '4001959.95527980',
//     trades: 14330,
//     takerBaseAssetVolume: '13000.12296000',
//     takerQuoteAssetVolume: '2079824.44045350',
//     ignored: '0'
//   },
//   ...
// ]
1.5.31

4 months ago

1.5.30

4 months ago

1.5.29

5 months ago

1.5.27

11 months ago

1.5.28

11 months ago

1.5.26

11 months ago

1.5.25

11 months ago

1.5.24

12 months ago

1.5.23

1 year ago

1.5.22

1 year ago

1.5.21

1 year ago

1.5.20

1 year ago

1.5.16

1 year ago

1.5.18

1 year ago

1.5.17

1 year ago

1.5.19

1 year ago

1.5.12

3 years ago

1.5.14

3 years ago

1.5.13

3 years ago

1.5.15

3 years ago

1.5.11

3 years ago

1.5.10

3 years ago

1.5.9

3 years ago

1.5.8

3 years ago

1.5.7

3 years ago

1.5.4

3 years ago

1.5.3

3 years ago