Bitcoin Forum
August 19, 2019, 12:53:03 AM *
News: Latest Bitcoin Core release: 0.18.0 [Torrent] (New!)
   Home   Help Search Login Register More  
Pages: [1]
Author Topic: Comparing APIs from various trading sites  (Read 614 times)
Offline Offline

Activity: 965
Merit: 1000

View Profile
May 30, 2012, 10:58:43 AM


I'm implementing APIs from several trading sites at the moment. It's a good way to find shortcomings of an API and compare different concept of requests or posts.

I thought it might be helpful to post some of the findings, so site owners can improve their APIs if they are interested. OTOH it might be helpful for implementer to share workarounds for some problems.

As a start, I'll mention the MtGox trades method.

It has a filter to fetch all trades since <id>. Problem is, that I'd like to fetch all trades from the last 7 days or so. It would be cool to have a date filter, so you get all the trades since <date>. As an alternative, id could be relative to the current id. So when you pass -100 as the id, you'd get the last 100 trades.
Intersango implements  filters:
and they have a paramter last_trade_date, although I don't understand yet, if you request all trades earlier than this date (not so good, I think) or all trades after that date.


Pages: [1]
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!