timolson / cointrader

Coin Trader is a Java-based backend for algorithmically trading cryptocurrencies. It provides data collection and export, complex event processing and triggering, and backtesting - paper trading - live trading.
Other
454 stars 166 forks source link

Stand alone project versus AlgoTrader enhancement #59

Closed jplusk closed 10 years ago

jplusk commented 10 years ago

This post relates to https://github.com/timmolter/XChange/issues/576

Douggie and Tim it seems like I came upon the same idea as the both of you (link1 link2), which is integrating the Xchange feed and order handlers with an existing trading software package, such as Algo Trader. I noticed that both of you had given this software project a try and I wonder why you decided to start this project from scratch versus building upon Algo Trader?

douggie commented 10 years ago

I did not, tim did all the main work. Parts are similar. Tim has done a gteat job of a base frame work for crypto. On 8 Aug 2014 18:51, "jplusk" notifications@github.com wrote:

This post relates to timmolter/XChange#576 https://github.com/timmolter/XChange/issues/576

Douggie and Tim it seems like I came upon the same idea as the both of you (link1 https://groups.google.com/forum/#!topic/algo-trader/SGOIbdy8HKA link2 https://groups.google.com/forum/#!topic/algo-trader/YCnSA2cB5JU), which is integrating the Xchange https://github.com/timmolter/XChange feed and order handlers with an existing trading software package, such as Algo Trader https://code.google.com/p/algo-trader/. I noticed that both of you had given this software project a try and I wonder why you decided to start this project from scratch versus building upon Algo Trader?

— Reply to this email directly or view it on GitHub https://github.com/timolson/cointrader/issues/59.

douggie commented 10 years ago

Not sure of tim's thoughts, but the key things seem to be:

Support for multiple cryptos on differnt exchanges

Running portfolios with multiple owners

Ability to easy arbitage multiple exchanges

Long precision support On 8 Aug 2014 19:03, "Douggie melville-clarke" douggie@melvilleclarke.com wrote:

I did not, tim did all the main work. Parts are similar. Tim has done a gteat job of a base frame work for crypto. On 8 Aug 2014 18:51, "jplusk" notifications@github.com wrote:

This post relates to timmolter/XChange#576 https://github.com/timmolter/XChange/issues/576

Douggie and Tim it seems like I came upon the same idea as the both of you (link1 https://groups.google.com/forum/#!topic/algo-trader/SGOIbdy8HKA link2 https://groups.google.com/forum/#!topic/algo-trader/YCnSA2cB5JU), which is integrating the Xchange https://github.com/timmolter/XChange feed and order handlers with an existing trading software package, such as Algo Trader https://code.google.com/p/algo-trader/. I noticed that both of you had given this software project a try and I wonder why you decided to start this project from scratch versus building upon Algo Trader?

— Reply to this email directly or view it on GitHub https://github.com/timolson/cointrader/issues/59.

timolson commented 10 years ago

I did start to modify AlgoTrader and spent a month or more exploring that option. One big problem is that cryptos trade in fractional volumes, but AlgoTrader uses an int for all volumes. I'm also not a fan of model-driven development and couldn't really get the dev environment to play nice with my setup. I think there were a couple other gotcha's I can't remember at the moment. Anyway, Coin Trader IMHO is further along than the open-source version of AlgoTrader, is built ground-up for cryptos, and keeps the good ideas from AlgoTrader of loading modules into Esper.

timolson commented 10 years ago

OH also, AlgoTrader did not design for cross-exchange arbitrage. Their model doesn't distinguish between USD from one source and USD from a different source. Since the real FX market is highly efficient, it's a reasonable assumption, but in the cryptocurrency world, a fatal flaw. Coin Trader was specifically designed to handle price differences between exchanges.

jplusk commented 10 years ago

Thanks for the responses and I look forward to following the progress of CoinTrader.