using BitgetAPI; using BitgetAPI.Data.IndicatorData; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace BitgetAPI.Data { public class CandleData { CommonProperty commonProperty = CommonProperty.Instance; 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; } } }