// @generated
// This file is @generated by prost-build.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetTradesRequest {
    #[prost(string, tag="1")]
    pub trading_pair_id: ::prost::alloc::string::String,
    #[prost(uint32, optional, tag="2")]
    pub page: ::core::option::Option<u32>,
    #[prost(uint32, optional, tag="3")]
    pub page_size: ::core::option::Option<u32>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetTradesRpcRequest {
    #[prost(string, tag="1")]
    pub trading_pair_id: ::prost::alloc::string::String,
    #[prost(uint32, optional, tag="2")]
    pub page: ::core::option::Option<u32>,
    #[prost(uint32, optional, tag="3")]
    pub page_size: ::core::option::Option<u32>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetTradesResponse {
    #[prost(message, repeated, tag="1")]
    pub trades: ::prost::alloc::vec::Vec<super::super::common::trade::PublicTrade>,
    #[prost(uint32, tag="2")]
    pub page: u32,
    #[prost(uint32, tag="3")]
    pub page_size: u32,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetTradeByIdRequest {
    #[prost(string, tag="1")]
    pub trade_id: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetTradeByIdResponse {
    #[prost(message, optional, tag="1")]
    pub trade: ::core::option::Option<super::super::common::trade::PublicTrade>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListUserTradesRequest {
    #[prost(string, optional, tag="1")]
    pub margin_account_id: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag="2")]
    pub trading_pair_id: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(uint32, optional, tag="3")]
    pub page: ::core::option::Option<u32>,
    #[prost(uint32, optional, tag="4")]
    pub page_size: ::core::option::Option<u32>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UserTrade {
    #[prost(string, tag="1")]
    pub trade_id: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub order_id: ::prost::alloc::string::String,
    #[prost(string, optional, tag="3")]
    pub position_id: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, tag="4")]
    pub trading_pair_id: ::prost::alloc::string::String,
    #[prost(string, tag="5")]
    pub side: ::prost::alloc::string::String,
    #[prost(string, tag="6")]
    pub price: ::prost::alloc::string::String,
    #[prost(string, tag="7")]
    pub quantity: ::prost::alloc::string::String,
    #[prost(string, tag="8")]
    pub liquidity_role: ::prost::alloc::string::String,
    #[prost(string, optional, tag="9")]
    pub fee: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag="10")]
    pub realized_pnl: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, tag="11")]
    pub timestamp: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListUserTradesResponse {
    #[prost(message, repeated, tag="1")]
    pub trades: ::prost::alloc::vec::Vec<UserTrade>,
    #[prost(uint32, tag="2")]
    pub total: u32,
    #[prost(uint32, tag="3")]
    pub page: u32,
    #[prost(uint32, tag="4")]
    pub page_size: u32,
}
include!("monaco.api.trades.tonic.rs");
// @@protoc_insertion_point(module)