pub struct CoinbaseIntxOrder {Show 28 fields
pub order_id: Ustr,
pub client_order_id: Ustr,
pub side: CoinbaseIntxSide,
pub instrument_id: Ustr,
pub instrument_uuid: Uuid,
pub symbol: Ustr,
pub portfolio_id: Ustr,
pub portfolio_uuid: Uuid,
pub order_type: CoinbaseIntxOrderType,
pub price: Option<String>,
pub stop_price: Option<String>,
pub stop_limit_price: Option<String>,
pub size: String,
pub tif: CoinbaseIntxTimeInForce,
pub expire_time: Option<DateTime<Utc>>,
pub stp_mode: CoinbaseIntxSTPMode,
pub event_type: CoinbaseIntxOrderEventType,
pub event_time: Option<DateTime<Utc>>,
pub submit_time: Option<DateTime<Utc>>,
pub order_status: CoinbaseIntxOrderStatus,
pub leaves_qty: String,
pub exec_qty: String,
pub avg_price: Option<String>,
pub fee: Option<String>,
pub post_only: bool,
pub close_only: bool,
pub algo_strategy: Option<CoinbaseIntxAlgoStrategy>,
pub text: Option<String>,
}
Fields§
§order_id: Ustr
Unique identifier assigned by the exchange.
client_order_id: Ustr
Unique identifier assigned by the client.
side: CoinbaseIntxSide
Side of the transaction (BUY/SELL).
instrument_id: Ustr
Unique identifier of the instrument.
instrument_uuid: Uuid
UUID of the instrument.
symbol: Ustr
Trading symbol (e.g., “BTC-PERP”).
portfolio_id: Ustr
Portfolio identifier.
portfolio_uuid: Uuid
Portfolio UUID.
order_type: CoinbaseIntxOrderType
Order type (LIMIT, MARKET, etc.).
price: Option<String>
Price limit in quote asset units (for limit and stop limit orders).
stop_price: Option<String>
Market price that activates a stop order.
stop_limit_price: Option<String>
Limit price for TP/SL stop leg orders.
size: String
Amount in base asset units.
tif: CoinbaseIntxTimeInForce
Time in force for the order.
expire_time: Option<DateTime<Utc>>
Expiration time for GTT orders.
stp_mode: CoinbaseIntxSTPMode
Self-trade prevention mode.
event_type: CoinbaseIntxOrderEventType
Most recent event type for the order.
event_time: Option<DateTime<Utc>>
Time of the most recent event.
submit_time: Option<DateTime<Utc>>
Time the order was submitted.
order_status: CoinbaseIntxOrderStatus
Current order status.
leaves_qty: String
Remaining open quantity.
exec_qty: String
Executed quantity.
avg_price: Option<String>
Average execution price.
fee: Option<String>
Exchange fee for trades.
post_only: bool
Whether order was post-only.
close_only: bool
Whether order was close-only.
algo_strategy: Option<CoinbaseIntxAlgoStrategy>
Algorithmic trading strategy.
text: Option<String>
Cancellation reason or other message.
Trait Implementations§
Source§impl Clone for CoinbaseIntxOrder
impl Clone for CoinbaseIntxOrder
Source§fn clone(&self) -> CoinbaseIntxOrder
fn clone(&self) -> CoinbaseIntxOrder
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CoinbaseIntxOrder
impl Debug for CoinbaseIntxOrder
Source§impl<'de> Deserialize<'de> for CoinbaseIntxOrder
impl<'de> Deserialize<'de> for CoinbaseIntxOrder
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>,
Auto Trait Implementations§
impl Freeze for CoinbaseIntxOrder
impl RefUnwindSafe for CoinbaseIntxOrder
impl Send for CoinbaseIntxOrder
impl Sync for CoinbaseIntxOrder
impl Unpin for CoinbaseIntxOrder
impl UnwindSafe for CoinbaseIntxOrder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more