Files
BitGet_API/BitgetApi/Data/CandleData.cs

52 lines
1.5 KiB
C#
Raw Normal View History

2024-05-23 16:32:30 +09:00
using BitgetAPI;
2024-05-29 17:37:10 +09:00
using BitgetAPI.Data.IndicatorData;
2024-05-22 16:56:51 +09:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2024-05-29 17:37:10 +09:00
using System.Windows.Forms;
2024-05-22 16:56:51 +09:00
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; }
2024-05-29 17:37:10 +09:00
// 웹소켓 업데이트 기록 여부
public bool WebSocketUpdate { get; set; } = false;
// 웹 서비스 업데이트 기록 여부
public bool WebServiceUpdate { get; set; } = false;
2024-05-22 16:56:51 +09:00
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;
}
2024-05-29 17:37:10 +09:00
public IchimokData IchimokData { get; set; }
2024-05-22 16:56:51 +09:00
}
}