Skip to content
A Python client for the Bitfinex API
Branch: develop
Clone or download
scottjbarr Merge pull request #16 from OskarHandmark/spelling
fix spelling avg_excution_price
Latest commit 03f7c71 Sep 12, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bitfinex
examples updated notebook Feb 22, 2016
scripts Use decouple to keep keys in ini file; Feb 20, 2016
test Don't hard code key/secret configuration in module. Mar 26, 2016
.coverage Added test for code coverage. See README for details. Mar 29, 2014
.gitignore Use decouple to keep keys in ini file; Feb 20, 2016
LICENSE.md
README.md Update README Aug 3, 2017
requirements.txt
scent.py Initial commit Mar 23, 2014
setup.cfg
setup.py

README.md

Bitfinex Python Client

A Python client for the Bitfinex API.

Most of the unauthenticated calls have been implemented. It is planned to implement the remainder of the API.

Installation

pip install bitfinex

Poll The Order Book

Run the bitfinex-poll-orderbook script in a terminal.

Press Ctrl-c to exit.

bitfinex-poll-orderbook

Setup

Install the libs

pip install -r ./requirements.txt

Tests

Depending on your system, install one of the following libs

  • pyinotify (Linux)
  • pywin32 (Windows)
  • MacFSEvents (OSX)

Sniffer will watch for changes

sniffer -x --nocapture

Or Sniffer with code coverage enabled...

sniffer -x --nocapture -x--with-coverage -x--cover-html -x--cover-package=bitfinex

Or you can just run the tests

nosetests

Test Coverage

Test coverage of the code. View cover/index.html to view detailed reports.

nosetests --with-coverage --cover-html --cover-package bitfinex

Usage

See the examples directory for samples.

e.g.

PYTHONPATH=.:$PYTHONPATH python examples/basic.py

Compatibility

This code has been tested on

  • Python 2.7.5
  • Python 3.3.1

TODO

  • Implement all API calls that Bitfinex make available.

Contributing

  1. Create an issue and discuss.
  2. Fork it.
  3. Create a feature branch containing only your fix or feature.
  4. Add tests!!!! Features or fixes that don't have good tests won't be accepted.
  5. Create a pull request.

References

Licence

The MIT License (MIT)

Copyright (c) 2014-2015 Scott Barr

See LICENSE.md

You can’t perform that action at this time.