Skip to main content
Any Framework

Strategy Base Template (Python)

Published
Aug 7, 2025
1y ago
Total Downloads
726
726

Install

dotnet add package StockSharp.Strategies.0446_Strat_Base.py --version 5.0.0

No framework information available.

README

Strategy Base Template (Python Version)

This folder provides a minimal scaffold for building custom trading ideas. The strategy only calculates a single exponential moving average and exposes a wide range of common parameters: enabling long or short trades, optional take profit and stop loss, and optimization ranges. Developers can insert their own entry and exit logic inside the placeholders to rapidly prototype new systems.

The template also demonstrates how to start the built‑in protection module with percentage‑based targets, making it easy to experiment with different risk settings. Because no real signals are included, this script is not meant to be traded as‑is but rather to serve as a starting point for further research.

Details

  • Entry Criteria: Not implemented – replace with custom rules.
  • Long/Short: Configurable via parameters.
  • Exit Criteria: Not implemented – replace with custom rules.
  • Stops: Optional percent take profit and stop loss handled by protection module.
  • Default Values:
    • EMA length = 10.
    • Take profit = 1.2%, Stop loss = 1.8% (disabled by default).
  • Filters:
    • Category: Template
    • Direction: Configurable
    • Indicators: EMA
    • Stops: Optional
    • Complexity: Low
    • Timeframe: Any
    • Seasonality: No
    • Neural networks: No
    • Divergence: No
    • Risk level: User defined

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.