Skip to main content

ids_apis/
kdo.v1.system.rs

1// @generated
2// This file is @generated by prost-build.
3#[allow(clippy::derive_partial_eq_without_eq)]
4#[derive(Clone, Copy, PartialEq, ::prost::Message)]
5pub struct StopAllTradingRequest {
6}
7#[allow(clippy::derive_partial_eq_without_eq)]
8#[derive(Clone, Copy, PartialEq, ::prost::Message)]
9pub struct StopAllTradingResponse {
10}
11#[allow(clippy::derive_partial_eq_without_eq)]
12#[derive(Clone, Copy, PartialEq, ::prost::Message)]
13pub struct GetConnectionInfoRequest {
14}
15#[allow(clippy::derive_partial_eq_without_eq)]
16#[derive(Clone, Copy, PartialEq, ::prost::Message)]
17pub struct GetVersionInfoRequest {
18}
19#[allow(clippy::derive_partial_eq_without_eq)]
20#[derive(Clone, PartialEq, ::prost::Message)]
21pub struct GetVersionInfoResponse {
22    /// Full git commit hash (e.g., "33d5b91abc...")
23    #[prost(string, tag="1")]
24    pub git_commit_hash: ::prost::alloc::string::String,
25}
26#[allow(clippy::derive_partial_eq_without_eq)]
27#[derive(Clone, PartialEq, ::prost::Message)]
28pub struct GetConnectionInfoResponse {
29    /// Market feed connection info per exchange
30    #[prost(message, optional, tag="1")]
31    pub krx_market_feed: ::core::option::Option<MarketFeedInfo>,
32    /// optional
33    #[prost(message, optional, tag="2")]
34    pub nxt_market_feed: ::core::option::Option<MarketFeedInfo>,
35    /// FEP connection info
36    #[prost(message, optional, tag="3")]
37    pub fep: ::core::option::Option<FepInfo>,
38}
39/// Market feed implementation info
40#[allow(clippy::derive_partial_eq_without_eq)]
41#[derive(Clone, PartialEq, ::prost::Message)]
42pub struct MarketFeedInfo {
43    /// "udp", "file", "websocket", "grpc", "simulation"
44    #[prost(string, tag="1")]
45    pub implementation: ::prost::alloc::string::String,
46}
47/// FEP connection info
48#[allow(clippy::derive_partial_eq_without_eq)]
49#[derive(Clone, PartialEq, ::prost::Message)]
50pub struct FepInfo {
51    /// "fake_memory", "fake_tcp", "tcp"
52    #[prost(string, tag="1")]
53    pub implementation: ::prost::alloc::string::String,
54    /// populated when implementation is "tcp"
55    #[prost(message, repeated, tag="2")]
56    pub clients: ::prost::alloc::vec::Vec<FepClientInfo>,
57}
58/// Individual FEP client connection info
59#[allow(clippy::derive_partial_eq_without_eq)]
60#[derive(Clone, PartialEq, ::prost::Message)]
61pub struct FepClientInfo {
62    /// "Kospi", "Kosdaq", "Deriv"
63    #[prost(string, tag="1")]
64    pub market_type: ::prost::alloc::string::String,
65    /// "Krx"
66    #[prost(string, tag="2")]
67    pub exchange_type: ::prost::alloc::string::String,
68    /// "Submit", "Trade"
69    #[prost(string, tag="3")]
70    pub client_type: ::prost::alloc::string::String,
71    /// e.g., "A831", "B851"
72    #[prost(string, tag="4")]
73    pub task_code: ::prost::alloc::string::String,
74    /// "tcp", "unix"
75    #[prost(string, tag="5")]
76    pub transport_type: ::prost::alloc::string::String,
77    /// IP address (for tcp) or empty (for unix)
78    #[prost(string, tag="6")]
79    pub host: ::prost::alloc::string::String,
80    /// port number (for tcp) or 0 (for unix)
81    #[prost(uint32, tag="7")]
82    pub port: u32,
83    /// unix socket path (for unix) or empty (for tcp)
84    #[prost(string, tag="8")]
85    pub path: ::prost::alloc::string::String,
86    /// resolved hostname/alias (e.g., "pfds11", "pfds14")
87    #[prost(string, tag="9")]
88    pub hostname: ::prost::alloc::string::String,
89}
90include!("kdo.v1.system.tonic.rs");
91include!("kdo.v1.system.serde.rs");
92// @@protoc_insertion_point(module)