Skip to content

CubicEarth/bitfinex

This branch is 4 commits behind scottjbarr/bitfinex-py:develop.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c689da5 · Mar 30, 2016

History

58 Commits
Mar 26, 2016
Feb 22, 2016
Feb 20, 2016
Mar 26, 2016
Mar 29, 2014
Feb 20, 2016
Mar 24, 2014
Feb 26, 2015
Feb 20, 2016
Mar 23, 2014
Feb 25, 2015
Feb 26, 2015

Repository files navigation

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.

References

Licence

The MIT License (MIT)

Copyright (c) 2014-2015 Scott Barr

See LICENSE.md

About

A Python client for the Bitfinex API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%