{"repo":"maxgfr/binance-historical","free":true,"listed":false,"github":"https://github.com/maxgfr/binance-historical","clone":"git clone https://github.com/maxgfr/binance-historical.git","description":"Get historical klines from binance api","language":"TypeScript","stars":46,"topics":["binance","cryptocurrency","binance-api","kline","data","typescript","nodejs","node","javascript","historical-data"],"license":"MIT","category":"trading","readme_excerpt":"binance-historical Utility to retrieve historical data from Binance Installation Via Homebrew (macOS/Linux) Via npm Download binary Download the latest binary for your platform from the releases page. Usage CLI Interactive mode Non-interactive mode Pass all options as arguments: Export as CSV: CLI Options Option Alias Description ------ ----- ----------- --pair -p Trading pair (e.g., BTCUSDT, ETHUSDT) --interval -i Kline interval (1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w) --start -s Start date (YYYY-MM-DD or ISO 8601) --end -e End date (YYYY-MM-DD or ISO 8601) --output -o Output directory path (filename is auto-generated) --format -f Output format (json or csv, default: json) --help -h Display help --version -V Display version Hybrid mode You can also provide some options and be prompted for the rest: Library","default_branch":null,"files":null,"tree":[],"storefront":"/r/maxgfr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/maxgfr/binance-historical/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}