poor. Next download the okcoin.py file. All http requests to the. OKCoin, trade, aPI, OKCoin users can exercise programmatic access to real time cryptocurrency market data, account management, and to check transaction history. # Get account balance import okcoin partner your_partner_int_here secret_key your_secret_key_str_here T okcoin.TradeAPI(partner, secret_key) print( tinfo if you're using the okcoin.py file as is, ignore this section. API, I explain how to create the signed string you need for requests in the last section. OKCoin, aPI will return forex auto robot software json-formatted responses. Use at your own risk.
Okcoin bitcoin api
API can be called upon to value cryptocurrency prices in comparison to the.S. OKCoin also hosts bitcoin mh hesaplama websocket APIs for their Trade and Public APIs. Take the list of parameters and values you're requesting, sort them alphabetically and join each with " " Note that all parameter names must be lowercase and have no spaces. The first thing to do is request a partner id and secret key from the. API, I explain the request structure below. Real trading APIs are included. Load(response) print( result'info'funds'free' ). Okcoin.com/ api sign_string 'partner' str(partner) m.update(sign_string secret_key) signed.hexdigest.upper values 'partner' : partner, 'sign' : signed data urllib. Bitcoin, asia, Financial, Marketplace, Real Time, Transactions, Webhooks, oKCoin is a Singapore-based, bitCoin and futures exchange platform.
"amount1.0 partner " MD5 hash that string, convert it to hex, make it uppercase then URL encode it and post to the relevant page (depending on what request you're making). OkCoin trade, aPI page is http www. Support was pretty fast when I did this and it only took 15 minutes. This is a simple Python wrapper around the.