diff --git a/src/info/response_structs.rs b/src/info/response_structs.rs index 9d60bac..5fe0117 100644 --- a/src/info/response_structs.rs +++ b/src/info/response_structs.rs @@ -117,7 +117,9 @@ pub struct CandlesSnapshotResponse { #[derive(Deserialize, Debug)] pub struct OrderStatusResponse { pub status: String, - pub order: OrderInfo, + /// `None` if the order is not found + #[serde(default)] + pub order: Option, } #[derive(Deserialize, Debug)]