Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Add bollinger strategy to genetic backtesting #1102

Closed
wants to merge 2 commits into from
Closed

Add bollinger strategy to genetic backtesting #1102

wants to merge 2 commits into from

Conversation

station384
Copy link
Contributor

Updates the genetic backtested for the recently added bollinger strategy

Updates the genetic backtested for the recently added bollinger strategy
@station384 station384 closed this Jan 11, 2018
@station384 station384 changed the title Unstable Add bollinger strategy to genetic backtesting Jan 11, 2018
@station384 station384 reopened this Jan 11, 2018
@@ -240,6 +241,23 @@ let RangeNeuralActivation = () => {
};

let strategies = {
bollinger: {
period_length: RangePeriod(1, 60, 'm'),
min_periods: Range(1, 20),
Copy link
Contributor

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),
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor

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.

@station384
Copy link
Contributor Author

Removed to correct defaults for general use.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants