AssetManager.UniApp/AssetManager/AssetManager.API/AssetManager.Models/DTOs/MaTrendConfig.cs

22 lines
506 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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;
}