askmike / gekko

A bitcoin trading bot written in node - https://gekko.wizb.it/
MIT License
10.06k stars 3.95k forks source link

Profit simulator logs twice #184

Closed djmuk closed 10 years ago

djmuk commented 10 years ago

Just pulled down the current version - I seem to be getting 2 sets of log messages from the profit simulator, both identical. almost seems that the 'processcandle' listener is being triggered twice...

askmike commented 10 years ago

What exchanges & market?

cykedev commented 10 years ago

same here - BTCe PPC/USD

djmuk commented 10 years ago

both bitstamp usd/BTC and cexio BTC/GHS, also get a bunch of profitsimulator messages on startup where it is catching up with the last few candles - when gekko has been running, is stopped and then restarted quite quickly, the history is full so it goes into advice mode, but there are several candles to insert from the available trade data to bring history up to date. I am not sure if this is easily fixable and only occurs on startup so probably is a minor annoyance.

djmuk commented 10 years ago

Just noticed I get 2 profitsimulator startup messages as well....

djmuk commented 10 years ago

Listed twice in plugins.js...

askmike commented 10 years ago

Thanks @djmuk that was the problem. Caused by a merge conflict..

It's fixed now.