Skip to content

Commit

Permalink
add cloid when available to ExchangeResponse for filled and resting o…
Browse files Browse the repository at this point in the history
…rder
  • Loading branch information
DenisDeFaria committed Aug 24, 2024
1 parent 562cc4e commit 0ada2ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/exchange/exchange_responses.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use serde::Deserialize;
#[derive(Deserialize, Debug, Clone)]
pub struct RestingOrder {
pub oid: u64,
pub cloid: Option<String>
}

#[derive(Deserialize, Debug, Clone)]
Expand All @@ -11,6 +12,7 @@ pub struct FilledOrder {
pub total_sz: String,
pub avg_px: String,
pub oid: u64,
pub cloid: Option<String>
}

#[derive(Deserialize, Debug, Clone)]
Expand Down

0 comments on commit 0ada2ff

Please sign in to comment.