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.
pip install bitfinex
Run the bitfinex-poll-orderbook
script in a terminal.
Press Ctrl-c
to exit.
bitfinex-poll-orderbook
Install the libs
pip install -r ./requirements.txt
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 of the code. View cover/index.html to view detailed reports.
nosetests --with-coverage --cover-html --cover-package bitfinex
See the examples directory for samples.
e.g.
PYTHONPATH=.:$PYTHONPATH python examples/basic.py
This code has been tested on
- Python 2.7.5
- Python 3.3.1
- Implement all API calls that Bitfinex make available.
- Create an issue and discuss.
- Fork it.
- Create a feature branch containing only your fix or feature.
- Add tests!!!! Features or fixes that don't have good tests won't be accepted.
- Create a pull request.
- https://www.bitfinex.com/pages/api
- https://community.bitfinex.com/showwiki.php?title=Sample+API+Code
- https://gist.github.com/jordanbaucke/5812039
The MIT License (MIT)
Copyright (c) 2014-2015 Scott Barr
See LICENSE.md