From 0ada2ff1d18bcaa76c00e2b841f06dc2590d8eba Mon Sep 17 00:00:00 2001 From: Denis De Faria Date: Sat, 24 Aug 2024 18:03:45 +0200 Subject: [PATCH] add cloid when available to ExchangeResponse for filled and resting order --- src/exchange/exchange_responses.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/exchange/exchange_responses.rs b/src/exchange/exchange_responses.rs index 63d3de5..dfec574 100644 --- a/src/exchange/exchange_responses.rs +++ b/src/exchange/exchange_responses.rs @@ -3,6 +3,7 @@ use serde::Deserialize; #[derive(Deserialize, Debug, Clone)] pub struct RestingOrder { pub oid: u64, + pub cloid: Option } #[derive(Deserialize, Debug, Clone)] @@ -11,6 +12,7 @@ pub struct FilledOrder { pub total_sz: String, pub avg_px: String, pub oid: u64, + pub cloid: Option } #[derive(Deserialize, Debug, Clone)]