Skip to content

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

Notifications You must be signed in to change notification settings

bitcoinment/okex_rest_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages