mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2025-06-07 16:06:15 +00:00
Made SharedFuturesTicker last/high/low price properties nullable
This commit is contained in:
parent
3cb91296ca
commit
7a58902ab6
@ -14,15 +14,15 @@ namespace CryptoExchange.Net.SharedApis
|
||||
/// <summary>
|
||||
/// Last trade price
|
||||
/// </summary>
|
||||
public decimal LastPrice { get; set; }
|
||||
public decimal? LastPrice { get; set; }
|
||||
/// <summary>
|
||||
/// High price in the last 24h
|
||||
/// </summary>
|
||||
public decimal HighPrice { get; set; }
|
||||
public decimal? HighPrice { get; set; }
|
||||
/// <summary>
|
||||
/// Low price in the last 24h
|
||||
/// </summary>
|
||||
public decimal LowPrice { get; set; }
|
||||
public decimal? LowPrice { get; set; }
|
||||
/// <summary>
|
||||
/// The volume in the last 24h
|
||||
/// </summary>
|
||||
@ -51,7 +51,7 @@ namespace CryptoExchange.Net.SharedApis
|
||||
/// <summary>
|
||||
/// ctor
|
||||
/// </summary>
|
||||
public SharedFuturesTicker(string symbol, decimal lastPrice, decimal highPrice, decimal lowPrice, decimal volume, decimal? changePercentage)
|
||||
public SharedFuturesTicker(string symbol, decimal? lastPrice, decimal? highPrice, decimal? lowPrice, decimal volume, decimal? changePercentage)
|
||||
{
|
||||
Symbol = symbol;
|
||||
LastPrice = lastPrice;
|
||||
|
Loading…
x
Reference in New Issue
Block a user