bincli
Binance Futures Client
Table of Contents
Installation
To install bincli, simply:
$ python3 -m pip install -U git+https://github.com/anbuhckr/bincli.git
or from source:
$ python3 setup.py install
CLI
Set api key & secret:
$ python3 -m bincli api "your_api_key" "your_api_sec"
Usage:
# python3 -m bincli run symbol levrage margin side
$ python3 -m bincli run BTCUSDT 50 2 long
Getting Started
#! /usr/bin/env python3
from bincli import BinanceClient
key = ''
sec = ''
binbot = BinanceClient(key, sec, maxtx=10, debug=False)
binbot.run('BTCUSDT', 50, 2, 'long')