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>
|
/// <summary>
|
||||||
/// Last trade price
|
/// Last trade price
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public decimal LastPrice { get; set; }
|
public decimal? LastPrice { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// High price in the last 24h
|
/// High price in the last 24h
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public decimal HighPrice { get; set; }
|
public decimal? HighPrice { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Low price in the last 24h
|
/// Low price in the last 24h
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public decimal LowPrice { get; set; }
|
public decimal? LowPrice { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The volume in the last 24h
|
/// The volume in the last 24h
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -51,7 +51,7 @@ namespace CryptoExchange.Net.SharedApis
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// ctor
|
/// ctor
|
||||||
/// </summary>
|
/// </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;
|
Symbol = symbol;
|
||||||
LastPrice = lastPrice;
|
LastPrice = lastPrice;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user