Skip to content

Commit 72d3219

Browse files
committed
fix: subscription: allow optional price and original_price for DeribitPriceRankingData
Signed-off-by: Otavio Salvador <[email protected]>
1 parent 7a5e253 commit 72d3219

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/models/subscription/channels/deribit_price_ranking.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ use serde::{
88
pub struct DeribitPriceRankingData {
99
pub enabled: bool,
1010
pub identifier: String,
11-
pub original_price: f64,
12-
pub price: f64,
11+
pub original_price: Option<f64>,
12+
pub price: Option<f64>,
1313
pub timestamp: u64,
1414
pub weight: f64,
1515
}

0 commit comments

Comments
 (0)