https://github.com/st1vms/binance-klines
Binance API Kline fetcher into Sqlite3 database
https://github.com/st1vms/binance-klines
api big-data binance crypto fetcher kline python sqlite statistical-analysis trading
Last synced: about 2 months ago
JSON representation
Binance API Kline fetcher into Sqlite3 database
- Host: GitHub
- URL: https://github.com/st1vms/binance-klines
- Owner: st1vms
- Created: 2023-07-19T09:25:55.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-25T16:59:16.000Z (over 2 years ago)
- Last Synced: 2025-06-05T05:15:00.040Z (about 1 year ago)
- Topics: api, big-data, binance, crypto, fetcher, kline, python, sqlite, statistical-analysis, trading
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# binance-klines
## Installation
Run this command inside the repository folder:
```shell
pip install -e .
```
## How to use
Inside a newly created folder, open a terminal and run:
```shell
binance-klines
```
A newly created database holding the kline data will be generated inside this folder.
## Example configuration
Create a file named `config.ini` inside current directory
This file can have the following options:
```ini
[AUTH]
API_KEY=test
API_SECRET=test
[DATABASE]
FILE_PATH=test.db
[REQUEST_PARAMS]
PAIR_SYMBOL=BTCEUR
CONTRACT_TYPE="PERPETUAL"
INTERVAL=1h
START_TIME = 1706194141
END_TIME = 0
LIMIT=500
```