Welcome to TruBit-Python
An official Python implementation of the lastest Open API for Broker.
Install
or download from github
Note: pip install may be fail. We are working on fix this. if so, just download from github
Usage
REST API
Init broker client:
Init broker options client:
Init broker contract client:
Request with proxies:
Web Socket
Init
Init broker websocket client:
Subscribe
Subscribe trades:
Subscribe Kline/Candlestick:
Subscribe market tickers:
Subscribe book depth tickers:
Subscribe user data:
Start
Start websocket thread
API List
Public API
ping
time
broker info
depth
trades
klines
ticker 24hr
Private API
new order
get order
cancel order
open orders
history orders
account
my trades
deposit orders
Examples
Last updated