Title: Btcchina API discussion Post by: qxzn on November 09, 2013, 07:03:51 AM Up until today, I had been using https://data.btcchina.com/data/orderbook for the order book, but it stopped updating when things got busy. I discovered that the authenticated API has an order book method: "getMarketDepth" that is updating properly (though it sends a warning that the method is deprecated).
Now trade data is another story. Again, https://data.btcchina.com/data/trades is not updating. Yet there must be a real time feed somewhere, as BitcoinWisdom is getting updates as I write this. Does anyone know how? Please use this thread to collect other tips about the Btcchina API. Also, a copy of the API documentation can be found here (the documentation wiki site is currently down): https://github.com/timmolter/XChange/issues/191#issuecomment-27330764 Title: Re: Btcchina API discussion Post by: cosurgi on November 23, 2013, 03:07:34 AM Hi,
did you manage to find btcchina api with trade info? I want to add BTC/CNY to my charts http://153.19.40.40/~jkozicki/use/graphs/ but I can't find a place to download trades data. Title: Re: Btcchina API discussion Post by: qxzn on November 23, 2013, 11:27:04 AM https://data.btcchina.com/data/trades seems to be working intermittently (not at this moment, but I think it was earlier today)
Title: Re: Btcchina API discussion Post by: naur on November 23, 2013, 02:54:09 PM https://data.btcchina.com/data/trades seems to be working intermittently (not at this moment, but I think it was earlier today) Btcchina API is very unstable. Their system usually can't login and can't trade in the peak of transaction time. Their IT guys is a group of shits. Title: Re: Btcchina API discussion Post by: btcticker on November 23, 2013, 06:02:12 PM Up until today, I had been using https://data.btcchina.com/data/orderbook for the order book, but it stopped updating when things got busy. I discovered that the authenticated API has an order book method: "getMarketDepth" that is updating properly (though it sends a warning that the method is deprecated). Now trade data is another story. Again, https://data.btcchina.com/data/trades is not updating. Yet there must be a real time feed somewhere, as BitcoinWisdom is getting updates as I write this. Does anyone know how? Please use this thread to collect other tips about the Btcchina API. Also, a copy of the API documentation can be found here (the documentation wiki site is currently down): https://github.com/timmolter/XChange/issues/191#issuecomment-27330764 I'm interested as well how other sites are getting the trading data when the usual api url appears to be returning nothing....... Title: Re: Btcchina API discussion Post by: btcticker on November 23, 2013, 06:28:14 PM Looks like it's from here https://data.btcchina.com/data/historydata?since=5000
Where 5000 is the tradeid. Never knew that existed. Much better than the url I was using :) Title: Re: Btcchina API discussion Post by: OhShei8e on November 23, 2013, 11:09:45 PM Hi, did you manage to find btcchina api with trade info? I want to add BTC/CNY to my charts http://153.19.40.40/~jkozicki/use/graphs/ but I can't find a place to download trades data. What do you using for plotting these? I use RRDS but I don't have candlesticks with this. Title: Re: Btcchina API discussion Post by: cosurgi on November 24, 2013, 10:49:01 AM What do you using for plotting these? I use RRDS but I don't have candlesticks with this. gnuplotTitle: Re: Btcchina API discussion Post by: OhShei8e on November 27, 2013, 12:01:31 AM What do you using for plotting these? I use RRDS but I don't have candlesticks with this. gnuplotThank you! I will check this out. Title: Re: Btcchina API discussion Post by: Cortex7 on August 01, 2014, 02:04:32 PM So the other day I contacted BTC china:
Quote ... At the moment your API has this command: //return 10 trade records starting from id 5000. https://data.btcchina.com/data/historydata?since=5000&limit=10 ---------------------------------------------------------------------------------- My Question: Would it be possible for you to add this command option: //return 10 trade records where trade_unix_time >= 1383374245 https://data.btcchina.com/data/historydata?date=1383374245&limit=10 ---------------------------------------------------------------------------------- Of course I thought my request was entering "maybe space". I was suprised and pleased when I got a reply email within 24 hours: Quote Upon your request, we just finish the API that you want. See more details here: http://btcchina.org/api-market-data-documentation-en?&#trade_history One simple example: //return 10 trade records where trade_unix_time >= 1383374245 https://data.btcchina.com/data/historydata?since=1383374245&sincetype=time&limit=10 Very nice! |