using Marathon.Domain.Backtesting; namespace Marathon.Application.Abstractions; /// /// Repository for presets — the user's named, /// reusable backtest staking configurations. /// returns them name-ascending for a stable picker order. /// public interface ISavedStrategyRepository : IRepository { /// /// The preset whose (trimmed) name matches , or null. /// Used by the save flow to upsert by name rather than create a duplicate. /// Task GetByNameAsync(string name, CancellationToken ct = default); }