pub struct Fill {
pub fill_id: String,
pub order_id: String,
pub market_ticker: String,
pub outcome: String,
pub side: OrderSide,
pub price: f64,
pub size: f64,
pub is_taker: bool,
pub fee: f64,
pub created_at: DateTime<Utc>,
}Expand description
A single fill (trade execution) from one of the caller’s orders.
Fields§
§fill_id: StringGlobally-unique fill id (e.g. "f-9c2...").
order_id: StringParent order id (e.g. "a1b2c3d4-...").
market_ticker: StringUnified market ticker the fill belongs to (e.g. "KXBTCD-25APR1517").
outcome: StringOutcome label as published by the exchange (e.g. "Yes", "No").
side: OrderSideOrder direction. Options: buy, sell.
price: f64Fill price as YES probability in (0, 1) (e.g. 0.62).
size: f64Filled size in contracts (e.g. 25.0).
is_taker: booltrue if the caller took liquidity, false if they made it.
fee: f64Fee paid in quote dollars (e.g. 0.07).
created_at: DateTime<Utc>Fill execution time (UTC) (e.g. "2026-04-25T12:00:00Z").
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Fill
impl<'de> Deserialize<'de> for Fill
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 Fill
impl RefUnwindSafe for Fill
impl Send for Fill
impl Sync for Fill
impl Unpin for Fill
impl UnsafeUnpin for Fill
impl UnwindSafe for Fill
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