sthewissen / Mynt

An Azure Functions-based crypto currency trading bot; featuring 10 exchanges, 25 indicators, custom strategy support, backtester and more
BSD 3-Clause "New" or "Revised" License
237 stars 128 forks source link

Separate trade start logic from trade monitoring for exit #13

Closed sthewissen closed 6 years ago

sthewissen commented 6 years ago

Currently the trade loop runs once for a given period. If for example you run the loop on 1 hour candles it runs the entire trade loop once every hour. This also means that active trades get checked for their exit conditions only once every hour. I think the trade monitoring for exit conditions could benefit from being a separate process that can run more often compared to the logic for finding a decent entry point.

sthewissen commented 6 years ago

A lot of this has been fixed by adding a SellTimer next to the BuyTimer on develop.