Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

Support For LiteCoin (Need Direction) #64

Closed
DeveloperUX opened this issue Dec 4, 2013 · 8 comments
Closed

Support For LiteCoin (Need Direction) #64

DeveloperUX opened this issue Dec 4, 2013 · 8 comments

Comments

@DeveloperUX
Copy link

Hey,

So I noticed BTC-e has an API now for Litecoin. I'm going to go ahead and try to implement. Just needed some direction or any resources as to the best way to go about it.

Thanks

@askmike
Copy link
Owner

askmike commented Dec 5, 2013

The hardest thing about altcoin support on BTC-e is that Gekko needs historical data. The BTC-e api makes it hard to get historical trades. For that reason Gekko currently uses Bitcoincharts for historical data when selecting BTC-e.

You can read more about some specifics here.

@soyq
Copy link

soyq commented Dec 5, 2013

Using Bitcoincharts also causes that Gekko can't use <15 interval ;/
But the historical data isnt here?
https://btc-e.com/api/3/trades/btc_usd

@askmike
Copy link
Owner

askmike commented Dec 15, 2013

The docs say you can only let the API know you want the last 2000 trades, depending on your settings this probably won't be enough to calculate good EMA's. I am working on a solution of caching all trades so that you only have to wait for a while the first time.

@GoodDragon
Copy link

I noticed that cex.io exchange script already includes local db for trade data.

I actually tried create version which get history trades from Bitcoincharts and updates after that directly from BTC-E. It is not working yet but maybe there is still something usefull: GoodDragon@1d63451

Or maybe you can even give some hint for me how get this working? Of course with LTC it need waiting that there is enough data but BTC is is probably better idea get starting data from Bitcoincharts?

@askmike
Copy link
Owner

askmike commented Dec 24, 2013

A new version of Gekko (in development, need help testing) that holds a local database of all historical data. This means we can use the BTC-e api which has full support for all markets on BTC-e (so also altcoins & fiat/fiat)! If you guys can help me test / figure it out we can have this version as soon as possible.

More info here.

@boxxa
Copy link

boxxa commented Jan 13, 2014

I have been working on my own branch of this using the LTC data. The hardest part I ran into was trying to fetch enough trade data from altcoins that are live enough. I think once more exchanges support LTC to USD, there will be more modifications possible but BTCe being the only one without having to go to a third party currency makes it complex.

@askmike
Copy link
Owner

askmike commented Jan 13, 2014

I didn't update this issue yet but:

The stable version of Gekko already is aware of different market types like, fiat / cryptocurrency, fiat / fiat or crypto currency / crypto currency. Check out this document. The problem purely lies with bitcoincharts not providing LTC data.


A totally new version of Gekko is in development that is able to watch all BTC-e markets, it also does CEX.io which does not have a FIAT market at all.

It is currently not stable (and because of that I don't want to implement real trading just yet), but what does is:

  • Watch any market on Bitstamp, CEX.io, Mt. Gox and BTC-e.
  • Store market data to disk, so you store your own history which Gekko uses to calculate starting EMA/MACD and backtest against (all data is stored in 1m candles).
  • Runs EMA or MACD on top of that data, simulates trading and gives advice (needs to be verified).
  • Might crash, needs proper testing.

It's located in the localDB branch!

@askmike
Copy link
Owner

askmike commented Jun 8, 2016

this has been in gekko for quite a while!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants