-
Notifications
You must be signed in to change notification settings - Fork 2k
Add bollinger strategy to genetic backtesting #1102
Conversation
Sync current unstable
Updates the genetic backtested for the recently added bollinger strategy
@@ -240,6 +241,23 @@ let RangeNeuralActivation = () => { | |||
}; | |||
|
|||
let strategies = { | |||
bollinger: { | |||
period_length: RangePeriod(1, 60, 'm'), | |||
min_periods: Range(1, 20), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any specific reason why you chose min_periods between 1-20? All the other strategies use 1-120, 1-200
profit_stop_pct: Range(1,20), | ||
|
||
// -- strategy | ||
bollinger_size: Range(1, 15), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bollinger_size defaults to 20 in the conf.js. So I'd assume it should be included in the range aswell?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you, I missed that in my cleanup before check-in. I originally had it so low as I knew anything higher in my sample data would result in 0 trades. but you are correct, it should be +- atleast 100 % to allow the algorithm to evolve it properly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem. I had actually implemented bollinger to darwin locally, but wasn't sure on what would be the right parameter ranges.
Removed to correct defaults for general use. |
Updates the genetic backtested for the recently added bollinger strategy