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

22 lines
534 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 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;
}