# Binance to InfluxDB

Binance to InfluxDB is a Docker container for self-hosted InfluxDB setups that collects Binance candlestick (kline) market data for configured crypto symbols and stores it in your own InfluxDB time-series database for. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/2218/binance-to-influxdb

## Description

Binance to InfluxDB is a Docker container for self-hosted InfluxDB setups that collects Binance candlestick (kline) market data for configured crypto symbols and stores it in your own InfluxDB time-series database for charting and analysis.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

15/100 (Low), based on 3 of 4 factors.
- Maintained: 0 (GitHub repository no longer exists)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Light to run: 30 (4 GB minimum RAM)

## Links

- Docker Hub: https://hub.docker.com/r/nixoninnes/binance-to-influxdb
- GitHub: https://github.com/nixoninnes/binance-to-influxdb
- Official website: https://www.influxdata.com
- Unraid: https://ca.unraid.net/apps/binance-to-influxdb-0x0uj0t10gr5z5?q=binance-to-influxdb

## Common questions

### How do I configure which Binance symbol pairs are downloaded?

Edit the symbols list before running the download script. Replacing the symbols array with your coin pairs makes it download your pairs instead of default test symbols.

### Why might the Python downloader stop early with missing-module errors?

Install the required Python packages first by running pip install -r requirements.txt in the project folder. Without that step, Python can stop early with missing-module errors.

### How can I avoid pulling too much historical data for monthly klines?

Set a later -startDate if you do not need the full history. Without -startDate, monthly downloads can start at 2017-01-01 and pull far more historical files.

### What prerequisites are listed for the Node.js Binance-to-InfluxDB example?

InfluxDB must be set up on the machine and kept running. You also need to obtain a Binance API key and secret key.

---
Source: Our Local Host (https://ourlocalhost.com/app/2218/binance-to-influxdb), the self-hosted and open-source app directory.
