Author

Topic: Btcchina API discussion (Read 3007 times)

full member
Activity: 238
Merit: 106
August 01, 2014, 10:04:32 AM
#10
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!
legendary
Activity: 1792
Merit: 1059
November 26, 2013, 08:01:31 PM
#9
What do you using for plotting these? I use RRDS but I don't have candlesticks with this.
gnuplot

Thank you! I will check this out.
sr. member
Activity: 298
Merit: 250
November 24, 2013, 06:49:01 AM
#8
What do you using for plotting these? I use RRDS but I don't have candlesticks with this.
gnuplot
legendary
Activity: 1792
Merit: 1059
November 23, 2013, 07:09:45 PM
#7
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.
full member
Activity: 131
Merit: 100
November 23, 2013, 02:28:14 PM
#6
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 Smiley
full member
Activity: 131
Merit: 100
November 23, 2013, 02:02:12 PM
#5
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.......
newbie
Activity: 35
Merit: 0
November 23, 2013, 10:54:09 AM
#4
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.
hero member
Activity: 609
Merit: 505
November 23, 2013, 07:27:04 AM
#3
https://data.btcchina.com/data/trades seems to be working intermittently (not at this moment, but I think it was earlier today)
sr. member
Activity: 298
Merit: 250
November 22, 2013, 11:07:34 PM
#2
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.
hero member
Activity: 609
Merit: 505
November 09, 2013, 03:03:51 AM
#1
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
Jump to: