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

Exit strategies refinement #12

Closed sthewissen closed 6 years ago

sthewissen commented 6 years ago

Currently there are a few ways of exiting trades:

What is currently not implemented:

I'm still looking for a way to refine this. I can imagine someone wants to use these features depending on the strategy they use? Perhaps these should be enabled through that? If the Prepare method returns a sell action we can use that in the ShouldSell method and the options above can be enabled/disabled in the strategy itself?

sthewissen commented 6 years ago

Created a functionality that checks the current strategy for a TradeAdvice.Sell signal to sell things. This is currently active on develop.