Market 데이터 수정
This commit is contained in:
@@ -10,5 +10,12 @@ namespace BitgetAPI.Data
|
||||
{
|
||||
public string ExchangePlace { get; set; }
|
||||
public string MarketName { get; set; }
|
||||
public double lastPr { get; set; }
|
||||
public double change24h { get; set; }
|
||||
public double baseVolume { get; set; }
|
||||
public double quoteVolume { get; set; }
|
||||
|
||||
public double high24h { get; set; }
|
||||
public double low24h { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,6 +117,12 @@ namespace BitgetAPI.WebService
|
||||
MarketInfo marketInfo = new MarketInfo();
|
||||
marketInfo.MarketName = item["symbol"].ToString();
|
||||
marketInfo.ExchangePlace = Enum.GetName(typeof(CommonProperty.ExchangePlace), commonProperty.selectedChangePlace);
|
||||
marketInfo.lastPr = Convert.ToDouble(item["lastPr"]);
|
||||
marketInfo.change24h = Convert.ToDouble(item["change24h"]);
|
||||
marketInfo.baseVolume = Convert.ToDouble(item["baseVolume"]);
|
||||
marketInfo.quoteVolume = Convert.ToDouble(item["quoteVolume"]);
|
||||
marketInfo.high24h = Convert.ToDouble(item["high24h"]);
|
||||
marketInfo.low24h = Convert.ToDouble(item["low24h"]);
|
||||
commonProperty.marketInfoList.Add(marketInfo);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user