ids_apis/
log_sync.v1.order_log.rs

1// @generated
2// This file is @generated by prost-build.
3#[allow(clippy::derive_partial_eq_without_eq)]
4#[derive(Clone, PartialEq, ::prost::Message)]
5pub struct OrderLog {
6    #[prost(int64, tag="1")]
7    pub id: i64,
8    /// 로그시각
9    #[prost(message, optional, tag="2")]
10    pub log_time: ::core::option::Option<super::super::super::google::protobuf::Timestamp>,
11    /// 로그종류
12    #[prost(string, tag="3")]
13    pub log_type: ::prost::alloc::string::String,
14    /// 이벤트
15    #[prost(string, tag="4")]
16    pub event_type: ::prost::alloc::string::String,
17    /// 체결수량
18    #[prost(double, tag="5")]
19    pub execution_quantity: f64,
20    /// 체결가격
21    #[prost(double, tag="6")]
22    pub execution_price: f64,
23    /// 주문번호
24    #[prost(int64, tag="10")]
25    pub order_id: i64,
26    /// 원주문번호
27    #[prost(string, tag="11")]
28    pub original_order_id: ::prost::alloc::string::String,
29    /// 신규/정정/취소
30    #[prost(string, tag="12")]
31    pub action: ::prost::alloc::string::String,
32    /// 방향 (Ask, Bid)
33    #[prost(string, tag="13")]
34    pub side: ::prost::alloc::string::String,
35    /// 펀드코드
36    #[prost(string, tag="14")]
37    pub fund_code: ::prost::alloc::string::String,
38    /// 장운영코드
39    #[prost(string, tag="15")]
40    pub market_operation_code: ::prost::alloc::string::String,
41    /// 종목코드
42    #[prost(string, tag="16")]
43    pub product_code: ::prost::alloc::string::String,
44    /// 종목명
45    #[prost(string, tag="17")]
46    pub product_name: ::prost::alloc::string::String,
47    /// 주문가격
48    #[prost(double, tag="18")]
49    pub order_price: f64,
50    /// 주문수량
51    #[prost(double, tag="19")]
52    pub order_quantity: f64,
53    /// 미체결
54    #[prost(double, tag="20")]
55    pub unfilled: f64,
56    /// 체결
57    #[prost(double, tag="21")]
58    pub filled: f64,
59    /// 상태
60    #[prost(string, tag="22")]
61    pub status: ::prost::alloc::string::String,
62    /// 차입
63    #[prost(bool, tag="23")]
64    pub borrowed: bool,
65    /// 자동정정
66    #[prost(bool, tag="24")]
67    pub auto: bool,
68    /// 거래소접수여부
69    #[prost(bool, tag="25")]
70    pub accepted: bool,
71    /// LP여부
72    #[prost(bool, tag="26")]
73    pub lp: bool,
74    /// 차입매도2/일반매도1/매수0
75    #[prost(int32, tag="27")]
76    pub ask_type_type: i32,
77    /// PT코드
78    #[prost(int32, tag="28")]
79    pub program_type: i32,
80    /// 태그
81    #[prost(string, tag="29")]
82    pub tag: ::prost::alloc::string::String,
83    /// 체결확인시점상대가격
84    #[prost(double, tag="30")]
85    pub original_price: f64,
86    /// 사번
87    #[prost(int32, tag="31")]
88    pub user_code: i32,
89    /// IP
90    #[prost(string, tag="32")]
91    pub user_trimmed_ip: ::prost::alloc::string::String,
92    /// SMP 타입
93    #[prost(int32, tag="34")]
94    pub smp_type: i32,
95    /// 서버 IP
96    #[prost(string, tag="35")]
97    pub server_ip: ::prost::alloc::string::String,
98    /// 주문생성
99    #[prost(message, optional, tag="40")]
100    pub create_time: ::core::option::Option<super::super::super::google::protobuf::Timestamp>,
101    /// 거래소송신
102    #[prost(message, optional, tag="41")]
103    pub submit_time: ::core::option::Option<super::super::super::google::protobuf::Timestamp>,
104    /// 거래소수신
105    #[prost(message, optional, tag="42")]
106    pub process_time: ::core::option::Option<super::super::super::google::protobuf::Timestamp>,
107    /// 체결알림시각
108    #[prost(message, optional, tag="43")]
109    pub last_trade_notify_time: ::core::option::Option<super::super::super::google::protobuf::Timestamp>,
110}
111/// ListOrderLogsRequest payload
112#[allow(clippy::derive_partial_eq_without_eq)]
113#[derive(Clone, PartialEq, ::prost::Message)]
114pub struct ListOrderLogsRequest {
115    /// The maximum number of order logs to return. The service may return fewer than
116    /// this value.
117    /// If unspecified, at most 50 rows will be returned.
118    /// The maximum value is 1024; values above 1024 will be coerced to 1024.
119    #[prost(int32, tag="1")]
120    pub page_size: i32,
121    /// Token of the page to retrieve. If not specified, the first
122    /// page of results will be returned. Use the value obtained from
123    /// `next_page_token` in the previous response to request
124    /// the next page of results.
125    ///
126    /// When paginating, all other parameters provided to `ListOrderLogs` must match
127    /// the call that provided the page token.
128    #[prost(string, tag="2")]
129    pub page_token: ::prost::alloc::string::String,
130    /// Available Sequence and Operator
131    /// * start_date
132    ///    * `>`, `>=`, `=`, `<=`, `<`
133    /// * end_date
134    ///    * `>`, `>=`, `=`, `<=`, `<`
135    /// * order_id
136    ///    * `equal`
137    /// * original_order_id
138    ///    * `equal`
139    /// * fund_code
140    ///    * `equal`
141    /// * product_code
142    ///    * `equal`
143    ///
144    /// Examples
145    /// * filter=start_date>"2025-01-01T00" AND end_date<"2025-01-31T23"
146    /// * filter=fund_code="0159" AND product_code="A005930"
147    #[prost(string, tag="3")]
148    pub filter: ::prost::alloc::string::String,
149}
150/// ListOrderLogsResponse response
151#[allow(clippy::derive_partial_eq_without_eq)]
152#[derive(Clone, PartialEq, ::prost::Message)]
153pub struct ListOrderLogsResponse {
154    /// The list of rows that matched the query.
155    #[prost(message, repeated, tag="1")]
156    pub order_logs: ::prost::alloc::vec::Vec<OrderLog>,
157    /// Pagination token used to retrieve the next page of results.
158    /// Pass the content of this string as the `page_token` attribute of
159    /// the next request. `next_page_token` is not returned for the last
160    /// page.
161    #[prost(string, tag="2")]
162    pub next_page_token: ::prost::alloc::string::String,
163}
164include!("log_sync.v1.order_log.tonic.rs");
165include!("log_sync.v1.order_log.serde.rs");
166// @@protoc_insertion_point(module)