Skip to main content

Simple to use wrappers for the Bitfinex web socket api

Project description

btfx-trader Documentation Status Updates

Simple to use wrappers for Bitfinex’s web socket api


  • Access to cryptocurrency data with an API similar to queue.Queue

  • Simple trading API that responds to account data


To install btfx-trader, run this command in your terminal:

pip install btfx-trader


To use public data:

from btfx_trader import PublicData

q = PublicData(types=['tickers'], symbols=['BTCUSD'])

while True:
    data = q.get('tickers', 'BTCUSD')

To make an order:

from btfx_trader import Trader

# Order 0.01 BTC at $10000 per bitcoin
order_id = trader.order('BTCUSD', 10000, dollar_amount=100)

To cancel an order:

# for a single order
# for multiple orders


This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.


0.1.6 (2018-10-15)

  • Fix btfxwss dependency update error

0.1.5 (2018-06-04)

  • Fix rendering of docs

0.1.4 (2018-06-04)

  • Updated README

0.1.3 (2018-05-28)

  • Updated codecov config to only run with travis-ci builds.

0.1.2 (2018-05-27)

  • Added codecov to docs.

0.1.1 (2018-05-27)

  • Fixed rendering of readme on pypi.

0.1.0 (2018-05-25)

  • First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

btfx_trader-0.1.6.tar.gz (25.6 kB view hashes)

Uploaded source

Built Distribution

btfx_trader-0.1.6-py2.py3-none-any.whl (9.2 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page