okexfix

Python client for the okexfix API. A copy of (https://github.com/haobtc/okexfix)


Keywords
bitcoin, btc
License
MIT
Install
pip install okexfix==1.0.2.4

Documentation

Okex Python Client

A Python client for the Okex API.

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

Installation

pip install okex

Poll The Order Book

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

Press Ctrl-c to exit.

okex-poll-orderbook

Setup

Install the libs

pip install -r ./requirements.txt

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.10

TODO

  • Implement all API calls that Okex 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)

See LICENSE.md