- GetNavHistoryAsync现在会自动检查是否有历史数据 - 无历史数据时自动调用BackfillNavHistoryInternalAsync - 拆分内部回填方法,避免重复验证权限
22 lines
506 B
C#
Executable File
22 lines
506 B
C#
Executable File
namespace AssetManager.Models.DTOs;
|
||
|
||
/// <summary>
|
||
/// 均线趋势策略配置
|
||
/// </summary>
|
||
public class MaTrendConfig
|
||
{
|
||
/// <summary>
|
||
/// 均线类型:SMA(简单移动平均) / EMA(指数移动平均)
|
||
/// </summary>
|
||
public string MaType { get; set; } = "SMA";
|
||
|
||
/// <summary>
|
||
/// 短期均线周期
|
||
/// </summary>
|
||
public int ShortPeriod { get; set; } = 20;
|
||
|
||
/// <summary>
|
||
/// 长期均线周期
|
||
/// </summary>
|
||
public int LongPeriod { get; set; } = 60;
|
||
} |