open-index/open-npm huggingface dataset:
npm package: @kepler-quant/fetcher
Description: CLI tool for fetching trading data from exchanges
Latest version: 1.0.2

# fetcher

To install dependencies:

```bash
bun install
```

To run:

```bash
bun run fetcher.ts --exchange binance --symbol BTC/USDT --timeframe 15m --since "2024-01-01 00:00:00" --until "2024-07-18 00:00:00" --output binance_spot_btcusdt_15m.csv
```

Release to npm:

```bash
bun build fetcher.ts --compile --outfile  bin/fetcher
npm publish
```

Install fetcher

```bash
bun install -g @kepler-quant/fetcher
```

Download history kline data

```bash
fetcher --exchange binance --symbol BTC/USDT --timeframe 15m --since "2024-01-01 00:00:00" --until "2024-07-18 00:00:00" --output binance_spot_btcusdt_15m.csv
```

This project was created using `bun init` in bun v1.1.20. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.