sebastianelsner / dca-binance

Simple python cli for DCA using Binance

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dca-binance

Small cli python script to buy cryptocurrencies on Binance.

Installation

python3 -p pip install -U pip
python3 -m pip install --user .

Usage

Create config.ini file

# Binance API
[API]
secret: XXX
key: XXX

[BUY1]
# What to buy
symbol: BTCUSDT
# Buy 11 EUR worth of BTC
amount: 11

[BUY2]
# What to buy
symbol: ETHUSDT
# Buy 11 EUR worth of ETH
amount: 11

then run

dca-binance

By default, dca-binance is using config.ini in the current path. You can specify another config file using --config-file <path_to_config_file>.

Development

python3 -m venv dca-binance-venv
source dca-binance-venv/bin/activate
pip3 install -e .

Using black for formatting and flake8, flake8-isort for linting.

About

Simple python cli for DCA using Binance

License:GNU General Public License v3.0


Languages

Language:Python 100.0%