mobnetic / BitcoinChecker

DataModule for Bitcoin Checker android app
342 stars 212 forks source link

Update OKCoin exchange to pull Futures data #129

Open acoutts opened 10 years ago

acoutts commented 10 years ago

Hi, I'd like to be able to see the individual futures contracts prices from OKCoin, and also the exchange prices. There are man prices for btc/usd and btc/cny at OKCoin to pull. Currently bitcoinchecker only supports four prices (btc/usd, btc/cny, ltc/usd, ltc/cny) and I do not know where these are coming from (assuming it's the exchange mode prices).

We need prices for the futures contracts, for both USD and CNY for LTC and BTC. Futures options are:

You can view all of the graphs here: Exchange mode BTC: https://www.okcoin.com/market.do Exchange mode LTC: https://www.okcoin.com/market.do?symbol=1

This week futures BTC: https://www.okcoin.com/future/market.do?symbol=0 Next week futures BTC: https://www.okcoin.com/future/market.do?symbol=0&contractFrom=11 Month futures BTC: https://www.okcoin.com/future/market.do?symbol=0&contractFrom=34 Quarter futures BTC: https://www.okcoin.com/future/market.do?symbol=0&contractFrom=13

This week futures LTC: https://www.okcoin.com/future/market.do?symbol=1 Next week futures LTC: https://www.okcoin.com/future/market.do?symbol=1&contractFrom=14 Month futures LTC: https://www.okcoin.com/future/market.do?symbol=1&contractFrom=35 Quarter futures LTC: https://www.okcoin.com/future/market.do?symbol=1&contractFrom=16

There are btc/ltc/usd/cny pairings for all of these. It would be really great to track this as OKCoin has emerged as one of the leading exchanges now, with many users switching over. I have been watching for about a month hoping you would implement this so I know I can't be the only one hoping to see this implemented. I hope this helps get the ball rolling.

btcdrak commented 9 years ago

+1

Shic1983 commented 9 years ago

+1

titanlel commented 9 years ago

+1

electrodynatronic commented 9 years ago

+1 please and thanks

JohnnySheffield commented 9 years ago

+1

btcdrak commented 9 years ago

Looks simple enough to add as per https://github.com/mobnetic/BitcoinChecker/commit/a527b3d76a4238dd3666465d0ff49bb5df9b1c63

m4q4 commented 9 years ago

+1

btcdrak commented 9 years ago

bump

gpoudrel commented 9 years ago

+1