- GetNavHistoryAsync现在会自动检查是否有历史数据 - 无历史数据时自动调用BackfillNavHistoryInternalAsync - 拆分内部回填方法,避免重复验证权限
22 lines
534 B
C#
Executable File
22 lines
534 B
C#
Executable File
namespace AssetManager.Models.DTOs;
|
||
|
||
/// <summary>
|
||
/// 吊灯止损策略配置
|
||
/// </summary>
|
||
public class ChandelierExitConfig
|
||
{
|
||
/// <summary>
|
||
/// 周期(通常为 22)
|
||
/// </summary>
|
||
public int Period { get; set; } = 22;
|
||
|
||
/// <summary>
|
||
/// ATR 倍数(通常为 3.0)
|
||
/// </summary>
|
||
public decimal Multiplier { get; set; } = 3.0m;
|
||
|
||
/// <summary>
|
||
/// 是否使用收盘价计算(false 表示用最高价/最低价)
|
||
/// </summary>
|
||
public bool UseClose { get; set; } = false;
|
||
} |