Python client for the Btcturk Api.
pip install btcturk
pip install git+git://github.com/erhan/pybtcturk.git
- BTCTRY
- ETHTRY
- XRPTRY
from btcturk import Btcturk
client = Btcturk()
client.ticker()
client.get_order_book(pair_symbol)
client.get_all_trades(pair_symbol)
client.get_last_trades(pair_symbol, count)
client.get_all_ohlc(pair_symbol)
client.get_daily_ohlc(pair_symbol, days)
from btcturk import Btcturk
client = Btcturk("public_key", "private_key")
client.get_balances()
# example return :
client.get_balances_v2()
# example return :
client.get_transactions(limit, offset, ascending)
client.get_open_orders(pair_symbol)
client.cancel_order(order_id)
client.market_buy(pair_symbol, total, total_precision)
client.market_sell(pair_symbol, amount, amount_precision)
client.limit_buy(pair_symbol, amount, amount_precision, price, price_precision)
client.limit_sell(pair_symbol, amount, amount_precision, price, price_precision)
client.stop_buy(pair_symbol, total, total_precision, trigger_price, trigger_price_precision)
client.stop_sell(pair_symbol, total, total_precision, trigger_price, trigger_price_precision)