// @generated
// This file is @generated by prost-build.
// ============================================================================
// SHARED ORDER TYPES
// ============================================================================

#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RecentOrder {
    #[prost(string, tag="1")]
    pub id: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub symbol: ::prost::alloc::string::String,
    #[prost(string, tag="3")]
    pub order_type: ::prost::alloc::string::String,
    #[prost(string, tag="4")]
    pub side: ::prost::alloc::string::String,
    #[prost(string, optional, tag="5")]
    pub price: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, tag="6")]
    pub quantity: ::prost::alloc::string::String,
    #[prost(string, tag="7")]
    pub filled_quantity: ::prost::alloc::string::String,
    #[prost(string, optional, tag="8")]
    pub average_fill_price: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, tag="9")]
    pub status: ::prost::alloc::string::String,
    #[prost(string, tag="10")]
    pub created_at: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ApplicationOrder {
    #[prost(string, tag="1")]
    pub id: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub user_id: ::prost::alloc::string::String,
    #[prost(string, tag="3")]
    pub trading_pair_id: ::prost::alloc::string::String,
    #[prost(string, tag="4")]
    pub order_type: ::prost::alloc::string::String,
    #[prost(string, tag="5")]
    pub side: ::prost::alloc::string::String,
    #[prost(string, optional, tag="6")]
    pub price: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, tag="7")]
    pub quantity: ::prost::alloc::string::String,
    #[prost(string, tag="8")]
    pub quantity_raw: ::prost::alloc::string::String,
    #[prost(string, optional, tag="9")]
    pub filled_quantity: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag="10")]
    pub filled_quantity_raw: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag="11")]
    pub average_fill_price: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, tag="12")]
    pub status: ::prost::alloc::string::String,
    #[prost(string, tag="13")]
    pub trading_mode: ::prost::alloc::string::String,
    #[prost(string, optional, tag="14")]
    pub time_in_force: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag="15")]
    pub created_at: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag="16")]
    pub updated_at: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct MatchResult {
    #[prost(int32, tag="1")]
    pub trades_count: i32,
    #[prost(string, tag="2")]
    pub total_filled: ::prost::alloc::string::String,
    #[prost(string, tag="3")]
    pub remaining_quantity: ::prost::alloc::string::String,
    #[prost(string, optional, tag="4")]
    pub average_fill_price: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, tag="5")]
    pub order_status: ::prost::alloc::string::String,
    #[prost(int32, optional, tag="6")]
    pub actual_slippage_bps: ::core::option::Option<i32>,
    #[prost(int32, optional, tag="7")]
    pub max_slippage_bps: ::core::option::Option<i32>,
    #[prost(message, optional, tag="8")]
    pub execution_price_range: ::core::option::Option<ExecutionPriceRange>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ExecutionPriceRange {
    #[prost(string, tag="1")]
    pub best_price: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub worst_price: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UpdatedFields {
    #[prost(string, optional, tag="1")]
    pub price: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag="2")]
    pub quantity: ::core::option::Option<::prost::alloc::string::String>,
}
// @@protoc_insertion_point(module)
