Files
BitGet_API/Bitget_Server/Domain/Models/CandleData.cs

43 lines
1.3 KiB
C#
Raw Normal View History

2026-04-20 20:27:42 +09:00
using Bitget_Server.Domain.Indicators;
namespace Bitget_Server.Domain.Models;
public class CandleData
{
public DateTime Argument { get; set; }
public double Low { get; set; }
public double High { get; set; }
public double Open { get; set; }
public double Close { get; set; }
// 기본 통화 거래량 (BTC)
public double Vol_C { get; set; }
// 견적 통화 거래량 USD
public double Vol_USD { get; set; }
// USDT 거래량
public double Vol_USDT { get; set; }
// 웹소켓 업데이트 기록 여부
public bool WebSocketUpdate { get; set; } = false;
// 웹 서비스 업데이트 기록 여부
public bool WebServiceUpdate { get; set; } = false;
public CandleData() { }
public CandleData(DateTime argument, double low, double high, double open, double close,
double vol_C, double vol_USD, double vol_USDT)
{
this.Argument = argument;
this.Low = low;
this.High = high;
this.Open = open;
this.Close = close;
this.Vol_C = vol_C;
this.Vol_USD = vol_USD;
this.Vol_USDT = vol_USDT;
}
public IchimokData IchimokData { get; set; }
public Dictionary<int, MovingAverageData> movingAverageDataList { get; set; }
public Dictionary<int, ImpulseMacdData> impulseMacdDataList { get; set; }
}