From 7a58902ab6ffd440a262a85d5f88231edfdae315 Mon Sep 17 00:00:00 2001 From: Jkorf Date: Tue, 22 Oct 2024 09:54:44 +0200 Subject: [PATCH] Made SharedFuturesTicker last/high/low price properties nullable --- .../SharedApis/ResponseModels/SharedFuturesTicker.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CryptoExchange.Net/SharedApis/ResponseModels/SharedFuturesTicker.cs b/CryptoExchange.Net/SharedApis/ResponseModels/SharedFuturesTicker.cs index 713de37..357b80c 100644 --- a/CryptoExchange.Net/SharedApis/ResponseModels/SharedFuturesTicker.cs +++ b/CryptoExchange.Net/SharedApis/ResponseModels/SharedFuturesTicker.cs @@ -14,15 +14,15 @@ namespace CryptoExchange.Net.SharedApis /// /// Last trade price /// - public decimal LastPrice { get; set; } + public decimal? LastPrice { get; set; } /// /// High price in the last 24h /// - public decimal HighPrice { get; set; } + public decimal? HighPrice { get; set; } /// /// Low price in the last 24h /// - public decimal LowPrice { get; set; } + public decimal? LowPrice { get; set; } /// /// The volume in the last 24h /// @@ -51,7 +51,7 @@ namespace CryptoExchange.Net.SharedApis /// /// ctor /// - 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;