Skip to content

qink1986/okex

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Python client for the Okex API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%