読み取り専用

フォーラムは現在、読み取り専用のアーカイブとなっています。.

バグ報告やプラットフォームに関する質問はこちら → [email protected]

私たちのコミュニティはDiscordとYouTubeで活動しています。ぜひ参加してください!

ご参加ください Discord YouTube

Parameter Set Weights not behaving as expected

3件の返信

codeowl

サブスクライバー、bpb_participant、顧客、コミュニティ、sq-ultimate、15件の回答。.

プロフィールを表示

4年前 #277792

こんにちは,

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.

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;

Trailing Stop = TrailingStopCoef * ATR(130);

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
      • Price Level: Off

 

 

添付ファイル:
に違いない ログインしました 添付ファイルを表示するには.

0

Tomas Matejka

管理者、sq-ultimate、2件の返信.

プロフィールを表示

4年前 #277995

こんにちは,

ok, I will check your config and let you know

0

Tomas Matejka

管理者、sq-ultimate、2件の返信.

プロフィールを表示

4年前 #278000

こんにちは、,

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

codeowl

サブスクライバー、bpb_participant、顧客、コミュニティ、sq-ultimate、15件の回答。.

プロフィールを表示

4年前 #278004

トーマス、,

Thanks for following up on this, and passing on to the dev team.  Much appreciated.

 

よろしくお願いいたします。,

Scotty

0

3件の返信を表示中 - 1 - 3件目 (全3件中)