pub struct MatchResult {
pub actual_slippage_bps: Option<i32>,
pub average_fill_price: Option<String>,
pub execution_price_range: Option<ExecutionPriceRange>,
pub max_slippage_bps: Option<i32>,
pub order_status: Option<String>,
pub remaining_quantity: Option<String>,
pub total_filled: Option<String>,
pub trades_count: Option<i32>,
}Expand description
MatchResult
JSON schema
{
"type": "object",
"properties": {
"actual_slippage_bps": {
"description": "Actual slippage incurred in basis points",
"examples": [
15
],
"type": [
"integer",
"null"
],
"format": "int32"
},
"average_fill_price": {
"description": "Volume-weighted average fill price",
"examples": [
"35100.00"
],
"type": [
"string",
"null"
]
},
"execution_price_range": {
"$ref": "#/components/schemas/ExecutionPriceRange"
},
"max_slippage_bps": {
"description": "Maximum slippage tolerance that was set",
"examples": [
50
],
"type": [
"integer",
"null"
],
"format": "int32"
},
"order_status": {
"description": "Resulting order status after matching",
"examples": [
"PARTIALLY_FILLED"
],
"type": [
"string",
"null"
]
},
"remaining_quantity": {
"description": "Remaining unfilled quantity",
"examples": [
"0.3"
],
"type": [
"string",
"null"
]
},
"total_filled": {
"description": "Total quantity filled",
"examples": [
"0.2"
],
"type": [
"string",
"null"
]
},
"trades_count": {
"description": "Number of trades generated by this order",
"examples": [
2
],
"type": [
"integer",
"null"
],
"format": "int32"
}
}
}Fields§
§actual_slippage_bps: Option<i32>Actual slippage incurred in basis points
average_fill_price: Option<String>Volume-weighted average fill price
execution_price_range: Option<ExecutionPriceRange>§max_slippage_bps: Option<i32>Maximum slippage tolerance that was set
order_status: Option<String>Resulting order status after matching
remaining_quantity: Option<String>Remaining unfilled quantity
total_filled: Option<String>Total quantity filled
trades_count: Option<i32>Number of trades generated by this order
Trait Implementations§
Source§impl Clone for MatchResult
impl Clone for MatchResult
Source§fn clone(&self) -> MatchResult
fn clone(&self) -> MatchResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MatchResult
impl Debug for MatchResult
Source§impl Default for MatchResult
impl Default for MatchResult
Source§impl<'de> Deserialize<'de> for MatchResult
impl<'de> Deserialize<'de> for MatchResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MatchResult
impl RefUnwindSafe for MatchResult
impl Send for MatchResult
impl Sync for MatchResult
impl Unpin for MatchResult
impl UnsafeUnpin for MatchResult
impl UnwindSafe for MatchResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more