-
Notifications
You must be signed in to change notification settings - Fork 4k
Use BTC-e data from api instead of bitcoincharts #16
Comments
I prefer to use the API of real exchanges but in the case of BTC-e I couldn't find any API (except for interacting with an user account). Do you know where I can find information about this API? |
You can check btce-api (in python) how to work with api. It can get up to 150 last ticks |
Gekko needs more trades history based on the trading method, the interval and the ticks. I have found an example of how to retrieve older data from btc-e: add a since parameter with a |
Btw BTC-e has api v3 beta available |
I can only find russian docs at this moment and it appears that there are some warnings around it (maybe it's beta?). I think I'll check again in a couple of days to see wether the docs are english. |
Heh. seems they didnt publish english docs yet. But it will be cool to have full btc-e support, especialy because mtgox disabled withdrowals for 2+ weeks |
If google translate is correct the v3 API will have the possibility to ask for trades based on time, this means it would be easy to use the BTC-e API (with support for all currencies) in Gekko. The current problems for this are: the API appears to be in beta, there aren't any wrappers yet (I could write my own, like I did with bitstamp) and all the docs are in russian at this moment (which doesn't express a fully stable API for the international Bitcoin audience. |
Yes, Its in beta test. Also there no private api currently, but as was said in chat suggestions are welcome :) |
For the private API calls I could just use the old API, but I prefer the new one to be a bit more stable before writing a bunch of glue code that needs to get updated multiple times. Cryptsy looks very interesting and I definitely want it in Gekko, but my current priorities are: implementing talib and enabling backtesting. |
Sorry to be the lame duck in this discussion guys, but am I correct in saying that there is currently no BTC-e way (ie directly from the exchange) to get more than the last 150 trades ? Are there any reliable sources out there which have been collecting for a period of time that are worth a look ? |
The current API does support retrieving older trades by providing a The problem for Gekko is that currently all other exchanges supported use a date parameter. The biggest difference is that while preparing Gekko fetches old-to-new, Gekko would have to use new-to-old, which means a rewrite of the whole Gekko core. Because BTC-e is building a new API and for current purposes Bitcoincharts can also deliver what we need I don't want to go this way just yet. |
That's what I thought but the public one only allows 150 trades |
all information regarding new exchanges (and getting correct historical data from current ones) will be posted & discussed in this issue |
Its better to use btc-e data from api instead of bitcoincharts. It allows resolution up to 10 seconds
The text was updated successfully, but these errors were encountered: