#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EtfOrderbookData {
#[prost(string, repeated, tag="1")]
pub bid_prices: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(string, repeated, tag="2")]
pub ask_prices: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(int64, repeated, tag="3")]
pub bid_quantities: ::prost::alloc::vec::Vec<i64>,
#[prost(int64, repeated, tag="4")]
pub ask_quantities: ::prost::alloc::vec::Vec<i64>,
#[prost(int64, repeated, tag="5")]
pub lp_bid_quantities: ::prost::alloc::vec::Vec<i64>,
#[prost(int64, repeated, tag="6")]
pub lp_ask_quantities: ::prost::alloc::vec::Vec<i64>,
#[prost(string, tag="7")]
pub mid_price: ::prost::alloc::string::String,
#[prost(int64, tag="8")]
pub mid_ask_quantity: i64,
#[prost(int64, tag="9")]
pub mid_bid_quantity: i64,
#[prost(int64, tag="10")]
pub ask_quote_total_quantity: i64,
#[prost(int64, tag="11")]
pub bid_quote_total_quantity: i64,
#[prost(string, tag="12")]
pub est_price: ::prost::alloc::string::String,
#[prost(int64, tag="13")]
pub est_volume: i64,
#[prost(enumeration="super::common::SessionId", tag="14")]
pub session_id: i32,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FuturesOrderbookData {
#[prost(string, repeated, tag="1")]
pub bid_prices: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(string, repeated, tag="2")]
pub ask_prices: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(int64, repeated, tag="3")]
pub bid_quantities: ::prost::alloc::vec::Vec<i64>,
#[prost(int64, repeated, tag="4")]
pub ask_quantities: ::prost::alloc::vec::Vec<i64>,
#[prost(int64, repeated, tag="5")]
pub bid_counts: ::prost::alloc::vec::Vec<i64>,
#[prost(int64, repeated, tag="6")]
pub ask_counts: ::prost::alloc::vec::Vec<i64>,
#[prost(int64, tag="7")]
pub ask_quote_total_quantity: i64,
#[prost(int64, tag="8")]
pub bid_quote_total_quantity: i64,
#[prost(string, tag="9")]
pub mid_price: ::prost::alloc::string::String,
#[prost(string, tag="10")]
pub est_price: ::prost::alloc::string::String,
#[prost(int64, tag="11")]
pub est_volume: i64,
#[prost(enumeration="super::common::SessionId", tag="12")]
pub session_id: i32,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EtfNav {
#[prost(string, tag="1")]
pub name: ::prost::alloc::string::String,
#[prost(string, tag="2")]
pub etf_symbol: ::prost::alloc::string::String,
#[prost(string, tag="10")]
pub theory_nav: ::prost::alloc::string::String,
#[prost(string, tag="11")]
pub krx_nav: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StreamEtfOrderbookRequest {
#[prost(string, tag="1")]
pub etf: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StreamFuturesOrderbookRequest {
#[prost(string, tag="1")]
pub future: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StreamStockOrderbookRequest {
#[prost(string, tag="1")]
pub stock: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StreamEtfNavRequest {
#[prost(string, tag="1")]
pub etf: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetUserEtfOrderBookRequest {
#[prost(string, tag="1")]
pub etf: ::prost::alloc::string::String,
#[prost(string, tag="2")]
pub fund: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetUserFutureOrderBookRequest {
#[prost(string, tag="1")]
pub future: ::prost::alloc::string::String,
#[prost(string, tag="2")]
pub fund: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetUserStockOrderBookRequest {
#[prost(string, tag="1")]
pub stock: ::prost::alloc::string::String,
#[prost(string, tag="2")]
pub fund: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UserOrderbookData {
#[prost(string, repeated, tag="1")]
pub bid_prices: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(string, repeated, tag="2")]
pub ask_prices: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(int64, repeated, tag="3")]
pub bid_quantities: ::prost::alloc::vec::Vec<i64>,
#[prost(int64, repeated, tag="4")]
pub ask_quantities: ::prost::alloc::vec::Vec<i64>,
#[prost(int64, repeated, tag="5")]
pub order_ids: ::prost::alloc::vec::Vec<i64>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AddRawMessagesSocketRequest {
#[prost(string, tag="1")]
pub multicast_address: ::prost::alloc::string::String,
#[prost(string, tag="2")]
pub multicast_interface: ::prost::alloc::string::String,
#[prost(uint32, tag="3")]
pub port: u32,
#[prost(uint32, tag="4")]
pub buffer_size: u32,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AddRawMessagesSocketResponse {
#[prost(bool, tag="1")]
pub success: bool,
#[prost(string, tag="2")]
pub error_message: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StreamRawMessagesRequest {
#[prost(string, repeated, tag="1")]
pub socket_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(uint32, tag="2")]
pub buffer_size: u32,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RawMarketMessage {
#[prost(bytes="vec", tag="1")]
pub data: ::prost::alloc::vec::Vec<u8>,
#[prost(int64, tag="2")]
pub receive_timestamp_ns: i64,
#[prost(uint64, tag="3")]
pub sequence_number: u64,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetMarketSessionResponse {
#[prost(enumeration="super::common::SessionId", tag="1")]
pub session: i32,
#[prost(string, tag="2")]
pub session_id: ::prost::alloc::string::String,
#[prost(string, tag="3")]
pub session_name: ::prost::alloc::string::String,
}
include!("kdo.v1.market.tonic.rs");
include!("kdo.v1.market.serde.rs");