Skip to main content
Total Downloads
748
748
Published
Aug 7, 2025
1y ago

Get Started

dotnet add package StockSharp.Strategies.0387_Pairs_Trading_Country_ETFs --version 5.0.0

No framework information available.

README

Pairs Trading Country ETFs Strategy (C# Version)

This mean-reversion strategy trades a pair of country ETFs based on the z-score of their price ratio. When the ratio deviates beyond a threshold the system enters a long/short position expecting the spread to revert toward its average.

The price ratio is tracked with a rolling window and positions are closed when the z-score crosses the exit level.

Details

  • Universe: exactly two country ETFs.
  • Signal: z-score of rolling price ratio exceeding EntryZ.
  • Exit: close when z-score reverts to ExitZ.
  • Data: daily candles, 60-day window by default.
  • Risk control: orders skipped if trade value below MinTradeUsd.

Downloads by Version

Not enough data for chart

Similar & Alternative Packages

Hand-picked matching NuGet libraries based on tags & ecosystem

Depended On By

Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.

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.