Skip to content
 
 

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Setup

  1. Clone this project from git repo.
  2. At project root, install this package by running
    $ pip install .

Usage

from bincentive_trader.client import TraderClient

email = 'me@example.com'
password = 'super secret'

client = TraderClient(email, password, False)

Available clients methods are:

  • get_strategy_list(timeout=None)
  • get_exchange_list(timeout=None)
  • add_market_order(strategy_id, exchange_id, base_currency, quote_currency, side, amount, leverage=None, timeout=None)
  • get_history_list(strategy_id, begin_time, end_time, account_type='real', timeout=None)
  • add_api_key(api_key, api_secret_key, exchange_id, timeout=None)
  • get_api_key_list(timeout=None)
  • delete_api_key(exchange_id, timeout=None)

Each method has a timeout parameter that will cause a bincentive_trader.exceptions.Timeout exception if no response is received in specified seconds.

About

Bincentive trader client.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages