Author

Topic: Trading Bot- Database (Read 180 times)

hero member
Activity: 1456
Merit: 578
HODLing is an art, not just a word...
November 16, 2017, 07:47:57 AM
#3
your only option is poloniex then. if you check out their API documentation page here: https://poloniex.com/support/api/ you can see there is a section called "returnChartData" which is giving you OHLC chart points based on your selected interval.
it supports 300, 900, 1800, 7200, 14400, and 86400 as intervals in seconds.

example (taken from the documentation):
https://poloniex.com/public?command=returnChartData¤cyPair=BTC_XMR&start=1405699200&end=9999999999&period=14400

there are other small exchanges such as bleutrade which offer the same feature but i don't think it is worth writing a API wrapper for them if you just want the chart data.
full member
Activity: 1484
Merit: 133
November 16, 2017, 06:09:45 AM
#2
First, use  this method "public/getorderbook",  and then group by time(1m, 5m), and you get "buy" and "sell" volumes
jr. member
Activity: 68
Merit: 1
November 16, 2017, 05:58:17 AM
#1
Hi,


I want to implement a trading bot - therefore i am looking for an API where you can get values of candles. I have checked the bittrex API - but there you just get the current price of an trading pair. Do you know where I can get the actual price and the candle data?

Thx!

Regards
Jump to: