Bitcoin Forum
May 10, 2024, 11:28:56 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: [1]
  Print  
Author Topic: Getting live trade data  (Read 660 times)
Najska (OP)
Full Member
***
Offline Offline

Activity: 152
Merit: 100


View Profile
February 02, 2014, 03:21:35 PM
 #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.

1715383736
Hero Member
*
Offline Offline

Posts: 1715383736

View Profile Personal Message (Offline)

Ignore
1715383736
Reply with quote  #2

1715383736
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715383736
Hero Member
*
Offline Offline

Posts: 1715383736

View Profile Personal Message (Offline)

Ignore
1715383736
Reply with quote  #2

1715383736
Report to moderator
1715383736
Hero Member
*
Offline Offline

Posts: 1715383736

View Profile Personal Message (Offline)

Ignore
1715383736
Reply with quote  #2

1715383736
Report to moderator
keithers
Legendary
*
Offline Offline

Activity: 1456
Merit: 1001


This is the land of wolves now & you're not a wolf


View Profile
February 02, 2014, 05:56:09 PM
 #2

Bitcoinwisdom.com?
daybyter
Legendary
*
Offline Offline

Activity: 965
Merit: 1000


View Profile
February 02, 2014, 06:03:49 PM
 #3

A contributor added v3 of the btc-e API:

https://github.com/ReAzem/cryptocoin-tradelib/blob/master/modules/btc_e/src/de/andreas_rueckert/trade/site/btc_e/client/BtcEClient.java

Might help you.

Najska (OP)
Full Member
***
Offline Offline

Activity: 152
Merit: 100


View Profile
February 03, 2014, 07: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.

Najska (OP)
Full Member
***
Offline Offline

Activity: 152
Merit: 100


View Profile
February 04, 2014, 02:11:28 AM
 #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.

daybyter
Legendary
*
Offline Offline

Activity: 965
Merit: 1000


View Profile
February 04, 2014, 03:02:18 PM
 #6

Depends on what you want to do. There are folks here, you want to calculate indicators for the last 20 days, or so...

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!