44 lines
1.2 KiB
C#
44 lines
1.2 KiB
C#
|
|
using BitgetApi;
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
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 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;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|