Giter VIP home page Giter VIP logo

bitfinex's Introduction

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

bitfinex's People

Contributors

fatsie avatar fccoelho avatar oskarhandmark avatar scottjbarr avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.