Author

Topic: Getting live trade data (Read 675 times)

legendary
Activity: 965
Merit: 1000
February 04, 2014, 10:02:18 AM
#6
Depends on what you want to do. There are folks here, you want to calculate indicators for the last 20 days, or so...
full member
Activity: 152
Merit: 100
February 03, 2014, 09:11:28 PM
#5
I've just figured it out that there's no need for the API actually. https://btc-e.com/api/3/trades/btc_usd/?limit=2000 gives the last 2000 trades, which is I think enough even for 30-second update intervals.
full member
Activity: 152
Merit: 100
February 03, 2014, 02:43:53 PM
#4
Thanks for the answers. I didn't know that there is a 3rd version of BTC-e API. That will do. Many thanks.
legendary
Activity: 965
Merit: 1000
legendary
Activity: 1456
Merit: 1001
This is the land of wolves now & you're not a wolf
February 02, 2014, 12:56:09 PM
#2
Bitcoinwisdom.com?
full member
Activity: 152
Merit: 100
February 02, 2014, 10:21:35 AM
#1
Greetings fellows,

I'm working on a black-box trading software for BTC, and I need the live trade information of the BTC-e market. Actually, what I need is the trade data of last 100 seconds. By trade data I mean the Unix date, amount and price information of each trade taking place in a given time period. BTC-e API gives only last 150 trades, so whenever there are more than 150 trades to be considered, there are missing data. And Bitcoincharts API allows only one query in 15 minutes. But the code needs to refresh the data once in every 100 seconds.
Jump to: