This commit is contained in:
kyh
2024-11-26 11:53:19 +09:00
parent 944bcbe694
commit 8b364a59c8
2 changed files with 277 additions and 142 deletions

View File

@@ -21,6 +21,7 @@ namespace BitgetAPI.IndicatorConditionSetup
public int CandleLength48 { get; set; } = 48;
// 기간
public int CandleLength4 { get; set; } = 4;
public int CandleLength2 { get; set; } = 2;
// 기간
public int CandleLength72 { get; set; } = 72;
// 기간
@@ -43,7 +44,7 @@ namespace BitgetAPI.IndicatorConditionSetup
if (candleData.movingAverageDataList == null)
{
candleData.movingAverageDataList = new Dictionary<int, MovingAverageData>();
candleData.movingAverageDataList.Add(CandleLength2, new MovingAverageData());
candleData.movingAverageDataList.Add(CandleLength4, new MovingAverageData());
candleData.movingAverageDataList.Add(CandleLength12, new MovingAverageData());
candleData.movingAverageDataList.Add(CandleLength24, new MovingAverageData());