READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

The optimal parameters for genetic options if you ask ChatGPT

3 replies

Theo Gottwald

Subscriber, bbp_participant, customer, community, sq-ultimate, 60 replies.

Visit profile

1 year ago #288540

Ob die Parameter in StrategyQuant X (SQX) richtig eingestellt sind, hängt von deinem spezifischen Ziel und den Anforderungen der Optimierung ab. Ich analysiere die aktuellen Einstellungen und gebe dir Empfehlungen, basierend auf Best Practices:

<hr />

<h3>1. Genetische Optionen</h3>

  • Max # of Generations (100):
    • Für einfache Probleme könnten 100 Generationen ausreichen, aber für komplexe Strategien empfehle ich mindestens 200-500 Generationen, um eine bessere Diversität und Robustheit zu gewährleisten.
    • Empfehlung: Falls du keine Zeitrestriktionen hast, erhöhe diesen Wert auf 200 oder mehr, um eine tiefere Suche zu ermöglichen.
  • Population Size (100):
    • Eine Population von 100 ist ein guter Startwert, aber bei komplexeren Problemen könnte eine größere Population (z. B. 200-300) hilfreich sein.
    • Empfehlung: Teste größere Populationen, besonders wenn du mehrere Generationen laufen lässt.
  • Crossover Probability (6%):
    • Das ist ziemlich niedrig. Normalerweise liegt dieser Wert zwischen 60-90%, da Crossover der Hauptmechanismus ist, um neue, vielversprechende Strategien zu kombinieren.
    • Empfehlung: Erhöhe auf 60-80%, um die Effizienz der genetischen Evolution zu steigern.
  • Mutation Probability (10%):
    • Ein Wert von 10% ist vernünftig, da zu hohe Mutationen (z. B. >30%) die Stabilität der Evolution zerstören können.
    • Empfehlung: Für strategische Optimierungen kann ein Bereich von 5-15% gut sein. Du kannst diesen Wert unverändert lassen.

<hr />

<h3>2. Islands options</h3>

  • Number of Islands (5):
    • Inseln fördern die Diversität, was wichtig ist, um nicht in lokalen Optima zu enden. 5 Inseln sind ein guter Startpunkt.
    • Empfehlung: Falls du genügend Rechenleistung hast, könntest du mit 8-10 Inseln experimentieren.
  • Migrate every Xth generation, X = 83:
    • Migration alle 83 Generationen könnte zu langsam sein. Typisch sind Werte zwischen 10-30 Generationen, um regelmäßigen Austausch zwischen den Inseln sicherzustellen.
    • Empfehlung: Reduziere auf 20-50 Generationen, damit gute Strategien schneller über Inseln verteilt werden.
  • Population migration rate (10%):
    • Dieser Wert ist in Ordnung. 10-20% Migration reicht aus, um Diversität zu gewährleisten.
    • Empfehlung: Falls du schnelle Konvergenz willst, kannst du auf 15-20% erhöhen.

<hr />

<h3>3. Initial population generation</h3>

  • Initial population size required (500):
    • 500 Strategien als Startwert sind sinnvoll. Es erlaubt eine breite Ausgangsbasis.
    • Empfehlung: Keine Änderungen erforderlich.
  • Generated decimation coefficient (1):
    • Decimation hilft, nur die besten Strategien für die Initialpopulation auszuwählen. Ein Wert von 1 bedeutet, dass keine zusätzlichen Strategien generiert werden.
    • Empfehlung: Erhöhe auf 2 oder 3, um mehr Strategien zu generieren und bessere Ausgangskandidaten zu erhalten.

<hr />

<h3>4. Filter generated initial population</h3>

  • Profitfaktor > 1, Anzahl Trades > 0, Max DD < 24%:
    • Diese Filter sind sinnvoll und gewährleisten, dass nur Strategien in die Population aufgenommen werden, die grundlegend profitabel und risikobewusst sind.
    • Empfehlung:
      • Falls du mehr Diversität willst, könntest du die Kriterien etwas lockern, z. B. Profitfaktor > 0.8 oder Max DD < 30%.
      • Falls du dich auf Qualität fokussierst, könnten strengere Kriterien helfen, z. B. Max DD < 20%.

<hr />

<h3>5. “Fresh blood”</h3>

  • Replace 10% of weakest strategies:
    • Dieser Wert ist gut, da er die Population regelmäßig “auffrischt”.
    • Empfehlung: Teste auch höhere Werte wie 20-30%, wenn du feststellst, dass die Population schnell stagniert.
  • Every 1 generation(s):
    • Neue Strategien in jeder Generation hinzuzufügen, ist aggressiv. Ein Wert von alle 3-5 Generationen könnte stabiler sein.
    • Empfehlung: Passe an, wenn du merkst, dass sich die Population zu stark ändert.

<hr />

<h3>6. Evolution management</h3>

  • Restart evolution if fitness stagnates for 30 generations:
    • Das ist eine sinnvolle Einstellung, da Stagnation häufig auftritt, wenn lokale Optima erreicht werden.
    • Empfehlung: Behalte diesen Wert bei, oder reduziere auf 20 Generationen, wenn du schneller handeln möchtest.

<hr />

<h4>Zusammenfassung der empfohlenen Änderungen:</h4>

  1. Crossover Probability: Erhöhe auf 60-80%.
  2. Max # of Generations: Erhöhe auf 200-500, falls möglich.
  3. Migration frequency: Reduziere auf 20-50 Generationen.
  4. Decimation coefficient: Erhöhe auf 2 oder 3, um mehr Ausgangsstrategien zu generieren.
  5. Filterkriterien: Optional lockern oder verschärfen, je nach Ziel.
  6. Replace weakest strategies: Teste 20-30%, falls Stagnation ein Problem ist.

**Mit besten Grüßen | With best regards | Cordiali saluti**

**Theo Gottwald**
*Leading Expert in SPR & Visual Automation*

???? **What's New in the Q4 Update?**
1️⃣ Open AI Vision: Empower your SPR with cutting-edge visual recognition. See the unseen. ????????
2️⃣ Open AI TTS: Seamlessly transform text into natural, lifelike speech. Hear the difference. ????️????
3️⃣ GPT-4 with 128k Token Context Window by OpenAI: Dive into unparalleled depth in AI conversations. Think deeper. ????????
4️⃣ DALLE-3 by OpenAI: Command revolutionary AI to generate stunning images. Imagine more. ????️????
5️⃣ ElevenLabs Text to Speech: Experience text-to-speech so lifelike, it speaks to you. ????️
6️⃣ Stable Diffusion Local & Online via Automatic1111: Unlock creativity with both local and cloud-based image generation. Create anywhere. ☁️????
7️⃣ GPT4All & LM Studio: Harness powerful offline AI capabilities. Your studio, smarter. ????️????
8️⃣ DeepL Translator with SPR Integration: Achieve real-time, accurate translations. Speak the world's language. ????????
9️⃣ ChatGPT by OpenAI: Engage with your SPR through natural, dynamic conversations. Connect genuinely. ????️
???? WHISPER by OpenAI: Convert voice to text with effortless precision. Listen, transcribe, act. ????️????
???? Mistral AI: Scale your AI integration with seamless efficiency. Elevate your AI journey. ????????
???? Claude 3 by Anthropic: Experience next-level AI understanding and interactivity. Discover AI with a human touch. ????????

???? **Address:**
Herrenstr. 11, 76706 Dettenheim, Germany

???? **Phone:**
Office: +49 (7247) 9851112
Mobile: +49 160 6688 222
Fax: +49 (7247) 9851113

???? **Email:**
[[email protected]](mailto:[email protected])

???? **Websites:**
[IT-Berater](http://www.it-berater.org) | [Smart Package](http://www.smart-package.com)

0

Theo Gottwald

Subscriber, bbp_participant, customer, community, sq-ultimate, 60 replies.

Visit profile

1 year ago #288541

Optimizing your StrategyQuant X (SQX) settings is crucial for achieving your goals! Here are my recommendations based on best practices:
1. **Genetic Options**
   – **Max # of Generations (100)**: For complex strategies, aim for 200-500 generations for better diversity.
   – **Population Size (100)**: Consider increasing to 200-300 for complex problems.
   – **Crossover Probability (6%)**: Boost to 60-80% for effective strategy combination.
   – **Mutation Probability (10%)**: Keep it between 5-15% for stability.
2. **Islands Options**
   – **Number of Islands (5)**: Experiment with 8-10 islands for more diversity.
   – **Migrate every Xth generation (83)**: Reduce to 20-50 generations for quicker strategy exchange.
   – **Population Migration Rate (10%)**: Increase to 15-20% for faster convergence.
3. **Initial Population Generation**
   – **Initial Population Size (500)**: No changes needed; this is a solid starting point.
   – **Generated Decimation Coefficient (1)**: Increase to 2 or 3 for better initial candidates.
4. **Filter Generated Initial Population**
   – **Profit Factor > 1, Trades > 0, Max DD < 24%**: Loosen or tighten filters based on your focus on diversity or quality.
5. **”Fresh Blood”**
   – **Replace 10% of Weakest Strategies**: Test higher values (20-30%) if stagnation occurs.
   – **Every 1 Generation**: Consider adjusting to every 3-5 generations for stability.
6. **Evolution Management**
   – **Restart Evolution if Fitness Stagnates for 30 Generations**: Keep this setting or reduce to 20 for quicker action.
**Summary of Recommended Changes**:
– Increase Crossover Probability to 60-80%.
– Max # of Generations: 200-500 if possible.
– Reduce Migration Frequency to 20-50 generations.
– Increase Decimation Coefficient to 2 or 3.
– Adjust Filter Criteria based on your goals.
– Test replacing 20-30% of weakest strategies if stagnation is an issue.
???????? #StrategyQuant #Trading #Optimization #GeneticAlgorithms #InvestSmart #Finance #TradingTips #AlgorithmicTrading #DataScience #MachineLearning #Investing #WealthBuilding ????????✨

**Mit besten Grüßen | With best regards | Cordiali saluti**

**Theo Gottwald**
*Leading Expert in SPR & Visual Automation*

???? **What's New in the Q4 Update?**
1️⃣ Open AI Vision: Empower your SPR with cutting-edge visual recognition. See the unseen. ????????
2️⃣ Open AI TTS: Seamlessly transform text into natural, lifelike speech. Hear the difference. ????️????
3️⃣ GPT-4 with 128k Token Context Window by OpenAI: Dive into unparalleled depth in AI conversations. Think deeper. ????????
4️⃣ DALLE-3 by OpenAI: Command revolutionary AI to generate stunning images. Imagine more. ????️????
5️⃣ ElevenLabs Text to Speech: Experience text-to-speech so lifelike, it speaks to you. ????️
6️⃣ Stable Diffusion Local & Online via Automatic1111: Unlock creativity with both local and cloud-based image generation. Create anywhere. ☁️????
7️⃣ GPT4All & LM Studio: Harness powerful offline AI capabilities. Your studio, smarter. ????️????
8️⃣ DeepL Translator with SPR Integration: Achieve real-time, accurate translations. Speak the world's language. ????????
9️⃣ ChatGPT by OpenAI: Engage with your SPR through natural, dynamic conversations. Connect genuinely. ????️
???? WHISPER by OpenAI: Convert voice to text with effortless precision. Listen, transcribe, act. ????️????
???? Mistral AI: Scale your AI integration with seamless efficiency. Elevate your AI journey. ????????
???? Claude 3 by Anthropic: Experience next-level AI understanding and interactivity. Discover AI with a human touch. ????????

???? **Address:**
Herrenstr. 11, 76706 Dettenheim, Germany

???? **Phone:**
Office: +49 (7247) 9851112
Mobile: +49 160 6688 222
Fax: +49 (7247) 9851113

???? **Email:**
[[email protected]](mailto:[email protected])

???? **Websites:**
[IT-Berater](http://www.it-berater.org) | [Smart Package](http://www.smart-package.com)

0

Drunksingha

Subscriber, bbp_participant, customer, community, sq-ultimate, 39 replies.

Visit profile

1 year ago #288554

Theo Gottwald

Subscriber, bbp_participant, customer, community, sq-ultimate, 60 replies.

Visit profile

1 year ago #288563

If I understand your opinion correctly, we can remove all the time-consuming elements in SQX. The only potentially interesting aspect left would be to backtest with different currencies or using another time frame.
#Backtesting #SQX #TradingStrategies #Forex #TimeFrames

**Mit besten Grüßen | With best regards | Cordiali saluti**

**Theo Gottwald**
*Leading Expert in SPR & Visual Automation*

???? **What's New in the Q4 Update?**
1️⃣ Open AI Vision: Empower your SPR with cutting-edge visual recognition. See the unseen. ????????
2️⃣ Open AI TTS: Seamlessly transform text into natural, lifelike speech. Hear the difference. ????️????
3️⃣ GPT-4 with 128k Token Context Window by OpenAI: Dive into unparalleled depth in AI conversations. Think deeper. ????????
4️⃣ DALLE-3 by OpenAI: Command revolutionary AI to generate stunning images. Imagine more. ????️????
5️⃣ ElevenLabs Text to Speech: Experience text-to-speech so lifelike, it speaks to you. ????️
6️⃣ Stable Diffusion Local & Online via Automatic1111: Unlock creativity with both local and cloud-based image generation. Create anywhere. ☁️????
7️⃣ GPT4All & LM Studio: Harness powerful offline AI capabilities. Your studio, smarter. ????️????
8️⃣ DeepL Translator with SPR Integration: Achieve real-time, accurate translations. Speak the world's language. ????????
9️⃣ ChatGPT by OpenAI: Engage with your SPR through natural, dynamic conversations. Connect genuinely. ????️
???? WHISPER by OpenAI: Convert voice to text with effortless precision. Listen, transcribe, act. ????️????
???? Mistral AI: Scale your AI integration with seamless efficiency. Elevate your AI journey. ????????
???? Claude 3 by Anthropic: Experience next-level AI understanding and interactivity. Discover AI with a human touch. ????????

???? **Address:**
Herrenstr. 11, 76706 Dettenheim, Germany

???? **Phone:**
Office: +49 (7247) 9851112
Mobile: +49 160 6688 222
Fax: +49 (7247) 9851113

???? **Email:**
[[email protected]](mailto:[email protected])

???? **Websites:**
[IT-Berater](http://www.it-berater.org) | [Smart Package](http://www.smart-package.com)

0

Viewing 3 replies - 1 through 3 (of 3 total)