Skip to main content

Getting fresh orders in real time. Python client for the Okex API.

Project description

okex_rest_api

okex_rest_api

Okex RESTful API (2018)

Getting fresh orders in real time. Python client for the Okex API.

Check out the Interactive Demo

With this module, you can develop your own crypto-bots, analyze crypto-markets and of course, make money.

Our web-service works 24 hours and keeps high loads

The data of all exchanges come in a single format and contain extended information (links for switching to trading pairs, best asks and bids, exchange rates and much more).


  • FREE!
  • The actuality of orders is 5-30 seconds!
  • Data from most exchanges
  • Round-the-clock support

Installation Instructions

$ pip3 install okex-rest-api==4.0.1

Init example

from okex_rest_api import okex_rest_api

Stocks API

# Get all stocks
okex_rest_api.KUPINET('freeApi').Stocks().getList()

# Get orders by Stock name
okex_rest_api.KUPINET('freeApi').Stocks('Okex').getOrders('ETH','BTC')

# Get all pairs from the Stock
okex_rest_api.KUPINET('freeApi').Stocks('Okex').getAllPairs()

Pairs API

# Find best prices for Pair in all Stocks
okex_rest_api.KUPINET('freeApi').Pair('LTC','ETH').getBestPrices()

Find Best Prices API

# Find best ASK
okex_rest_api.KUPINET('freeApi').BestPrices('LTC').Ask()

# Find best BID
okex_rest_api.KUPINET('freeApi').BestPrices('LTC').Bid()

Cryptocurrency Converter (Calculator) API

# Coins list
okex_rest_api.KUPINET('freeApi').Calc().Data()

# Convert Coin to Coin
okex_rest_api.KUPINET('freeApi').Calc('LTC','ETH').Amount(10)

In the future

  • Unloading historical trade data
  • Multi-trading through a single terminal
  • Tool for crypto arbitrage
  • API for JavaScript, PHP, C#
  • Launch of a decentralized exchange
  • Widget (calculator) for integration with sites

About us

We are a team of crypto developers. Our goal is to make the most convenient crypto services possible. Contact with us

Project details


Release history Release notifications

This version
History Node

4.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
okex_rest_api-4.0.1.tar.gz (5.5 kB) Copy SHA256 hash SHA256 Source None Apr 18, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page