Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi option to disable stategies #349

Open
thistleknot opened this issue Feb 15, 2021 · 1 comment
Open

multi option to disable stategies #349

thistleknot opened this issue Feb 15, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@thistleknot
Copy link

I like the OR structure

However. I'd also like to see if some strategies are excluded altogether.

If there was a strat_opts where the values were blank that would disable the strategy that would be nice.

ex.

bbands has ,20 meaning that at least on one of the grid searchs. the bbands strategy is completely disabled while the rest are enabled (in this example)

Something like that.

strats_opt = {
"smac": {"fast_period": [35, 50], "slow_period": [100, 200]},
"rsi": {"rsi_lower": [15, 30], "rsi_upper": [70, 85]},
"macd": {"fast_period": [12], "slow_period": [26], "signal_period": [9], "sma_period": [30], "dir_period": [10]},
"bbands": {"period": [,20], "devfactor": [,2.0]},

#"ema": {"fast_period": [9,10,12], "slow_period": [30, 40, 50]},     
"custom": {"upper_limit": [1.5], "lower_limit":[-1.5]}

}

@thistleknot thistleknot added the enhancement New feature or request label Feb 15, 2021
@enzoampil
Copy link
Owner

Good Idea, we can add this to the feature backlog - thanks @thistleknot !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants