Skip to main content
Any Framework

FX Carry Trade Strategy (C#)

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

Install

dotnet add package StockSharp.Strategies.0374_FXCarry_Trade --version 5.0.0

No framework information available.

README

FX Carry Trade Strategy (C# Version)

This currency strategy ranks a universe of currency instruments by the interest rate differential between the base and quote currencies. At the start of each month it goes long the TopK highest‑carry symbols and shorts the TopK lowest. Profits aim to capture positive carry on longs while paying the negative carry on shorts.

Interest rate differentials are gathered from each security’s yield data. Positions are sized equally and rebalanced monthly; any instrument leaving the top or bottom groups is closed and replaced.

Details

  • Entry Criteria:
    • On the first trading day of the month, compute the interest rate differential for each currency.
    • Go long the TopK currencies with the highest carry and short the TopK with the lowest carry if order values exceed MinTradeUsd.
  • Long/Short: Long top carry, short bottom carry.
  • Exit Criteria: Positions are closed when a currency leaves the selected sets at the next rebalance.
  • Stops: None.
  • Default Values:
    • Universe – list of currency securities.
    • TopK = 3.
    • CandleType = 1 day.
    • MinTradeUsd – minimum trade value.
  • Filters:
    • Category: Carry.
    • Direction: Long & short.
    • Timeframe: Monthly.
    • Rebalance: Monthly.

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.