Parameter Set Weights not behaving as expected
3件の返信
こんにちは,
I am running StrategyQuantX 135 on Windows 10.
I have a very simple build with:
- 1 Signal
- 0 Indicators
- 0 Stop/Limit Entry Blocks
- Enter at Market
- Exit Trailing Stop
- Default Parameter Set Weight = 0
- This one uses the Global Indicators Period: Min=60, Max=200 for ATR Period.
- My Custom Parameter Set Weight = 1000
- This one uses Min=10, Max=25 for the ATR Period.
- Default Parameter Set Weight = 0
I Clear the DataBank and start the build and it generates some strategies. I then look at the source code of the strategies and they all have ATR Period > then 25.
Eg;
In the documentation here:
https://strategyquant.com/doc/strategyquant/building-blocks/#parameter-sets
It says:
Parameter sets compete with normal parameter definitions for which of them will be actually used in the generated block. You can use Weight to increase probability that a particular set is used.
For example, by setting Weight of Parameters to 0, while keeping Weights of parameter sets to 1 you tell SQ to generate parameters only using parameter sets.
But this is not what is happening. Instead all Strategies (I looked at the source of every one generated) had an ATR Period between the Global Indicators Period: Min=60, Max=200. Which is what the default Parameter Set is configured to do. But I have Weighted that at 0 and Weighted my custom set at 1000 and it is configured to only use ATR Period between 10 – 25.
Why is this happening? What am I doing wrong here?
I have attached the build file.
The build config as follows:
What to Build:
- Strategy Type: Simple
- Additional Build Config:
- Trading Directions: Long
- ストラテジー・スタイル:SQXシグナル
- Build Mode: Random Generation
- # of Conditions, Periods
- Condition in Entry: Min=1, Max=1
- Condition in Exit: Min=1, Max=1
- Global Indicators Period: Min=60, Max=200
- Global Lookback Period: 1
- Stop Loss: Not Required
- Profit Target: Not Required
データ:
- Engine: TradeStation
取引オプション:
- Exit At End Of Day: True
- Reserved Bars: 200
ビルディングブロック
- Signals (Predefined Conditions)
- Awesome Oscillator crosses above Level
- Indicators: None
- Stop/Limit Entry Blocks: None
- Order Types:
- (MKT) Enter at Market
- Exit Types:
- Trailing Stop: Required
- Fixed Value: Off
- ATR-Base Value: On
- Default All Random Set: Weight = 0
- My Custom Set: Weight = 1000
- ATR Period: Custom
- Min = 10
- Max = 25
- Step = 5
- ATR Period: Custom
- Price Level: Off
- Trailing Stop: Required
0
こんにちは,
ok, I will check your config and let you know
0
こんにちは、,
it seems you have all set correctly and the custom parameter set should be respected. I have notified our dev team about this to check and fix into next update
0
トーマス、,
Thanks for following up on this, and passing on to the dev team. Much appreciated.
よろしくお願いいたします。,
Scotty
0
3件の返信を表示中 - 1 - 3件目 (全3件中)