From b1b9d11a7138ccfcf75c5f6a3dde13d8016a7cf3 Mon Sep 17 00:00:00 2001 From: VozyakovAV Date: Tue, 23 Jun 2026 11:35:26 +0400 Subject: [PATCH] =?UTF-8?q?Fix:=20make=20CoinbaseTrades.best=5Fbid/best=5F?= =?UTF-8?q?ask=20nullable=20=E2=80=94=20empty=20string=20in=20ticker=20res?= =?UTF-8?q?ponse=20broke=20decimal=20deserialization?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Coinbase.Net/Objects/Models/CoinbaseTrade.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Coinbase.Net/Objects/Models/CoinbaseTrade.cs b/Coinbase.Net/Objects/Models/CoinbaseTrade.cs index a32e9ba..c58fc47 100644 --- a/Coinbase.Net/Objects/Models/CoinbaseTrade.cs +++ b/Coinbase.Net/Objects/Models/CoinbaseTrade.cs @@ -20,12 +20,12 @@ public record CoinbaseTrades /// ["best_bid"] Best bid price /// [JsonPropertyName("best_bid")] - public decimal BestBidPrice { get; set; } + public decimal? BestBidPrice { get; set; } /// /// ["best_ask"] Best ask price /// [JsonPropertyName("best_ask")] - public decimal BestAskPrice { get; set; } + public decimal? BestAskPrice { get; set; } } ///