@finam/grpc-tradeapi 2.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/README.md +41 -0
  2. package/google/api/annotations_pb.d.ts +34 -0
  3. package/google/api/annotations_pb.js +36 -0
  4. package/google/api/auth_pb.d.ts +382 -0
  5. package/google/api/auth_pb.js +68 -0
  6. package/google/api/backend_pb.d.ts +278 -0
  7. package/google/api/backend_pb.js +60 -0
  8. package/google/api/billing_pb.d.ts +112 -0
  9. package/google/api/billing_pb.js +40 -0
  10. package/google/api/client_pb.d.ts +906 -0
  11. package/google/api/client_pb.js +268 -0
  12. package/google/api/config_change_pb.d.ts +156 -0
  13. package/google/api/config_change_pb.js +55 -0
  14. package/google/api/consumer_pb.d.ts +151 -0
  15. package/google/api/consumer_pb.js +54 -0
  16. package/google/api/context_pb.d.ts +139 -0
  17. package/google/api/context_pb.js +40 -0
  18. package/google/api/control_pb.d.ts +61 -0
  19. package/google/api/control_pb.js +34 -0
  20. package/google/api/distribution_pb.d.ts +379 -0
  21. package/google/api/distribution_pb.js +76 -0
  22. package/google/api/documentation_pb.d.ts +249 -0
  23. package/google/api/documentation_pb.js +47 -0
  24. package/google/api/endpoint_pb.d.ts +98 -0
  25. package/google/api/endpoint_pb.js +33 -0
  26. package/google/api/error_reason_pb.d.ts +765 -0
  27. package/google/api/error_reason_pb.js +49 -0
  28. package/google/api/field_behavior_pb.d.ts +152 -0
  29. package/google/api/field_behavior_pb.js +65 -0
  30. package/google/api/field_info_pb.d.ts +171 -0
  31. package/google/api/field_info_pb.js +80 -0
  32. package/google/api/http_pb.d.ts +469 -0
  33. package/google/api/http_pb.js +47 -0
  34. package/google/api/httpbody_pb.d.ts +104 -0
  35. package/google/api/httpbody_pb.js +34 -0
  36. package/google/api/label_pb.d.ts +93 -0
  37. package/google/api/label_pb.js +47 -0
  38. package/google/api/launch_stage_pb.d.ts +115 -0
  39. package/google/api/launch_stage_pb.js +41 -0
  40. package/google/api/log_pb.d.ts +82 -0
  41. package/google/api/log_pb.js +34 -0
  42. package/google/api/logging_pb.d.ts +120 -0
  43. package/google/api/logging_pb.js +40 -0
  44. package/google/api/metric_pb.d.ts +474 -0
  45. package/google/api/metric_pb.js +94 -0
  46. package/google/api/monitored_resource_pb.d.ts +200 -0
  47. package/google/api/monitored_resource_pb.js +50 -0
  48. package/google/api/monitoring_pb.d.ts +146 -0
  49. package/google/api/monitoring_pb.js +40 -0
  50. package/google/api/policy_pb.d.ts +128 -0
  51. package/google/api/policy_pb.js +57 -0
  52. package/google/api/quota_pb.d.ts +273 -0
  53. package/google/api/quota_pb.js +47 -0
  54. package/google/api/resource_pb.d.ts +344 -0
  55. package/google/api/resource_pb.js +97 -0
  56. package/google/api/routing_pb.d.ts +497 -0
  57. package/google/api/routing_pb.js +49 -0
  58. package/google/api/service_pb.d.ts +305 -0
  59. package/google/api/service_pb.js +52 -0
  60. package/google/api/source_info_pb.d.ts +47 -0
  61. package/google/api/source_info_pb.js +34 -0
  62. package/google/api/system_parameter_pb.d.ts +153 -0
  63. package/google/api/system_parameter_pb.js +47 -0
  64. package/google/api/usage_pb.d.ts +143 -0
  65. package/google/api/usage_pb.js +40 -0
  66. package/google/api/visibility_pb.d.ts +158 -0
  67. package/google/api/visibility_pb.js +89 -0
  68. package/google/protobuf/any_pb.d.ts +182 -0
  69. package/google/protobuf/any_pb.js +49 -0
  70. package/google/protobuf/api_pb.d.ts +302 -0
  71. package/google/protobuf/api_pb.js +65 -0
  72. package/google/protobuf/descriptor_pb.d.ts +2511 -0
  73. package/google/protobuf/descriptor_pb.js +500 -0
  74. package/google/protobuf/duration_pb.d.ts +134 -0
  75. package/google/protobuf/duration_pb.js +49 -0
  76. package/google/protobuf/empty_pb.d.ts +63 -0
  77. package/google/protobuf/empty_pb.js +49 -0
  78. package/google/protobuf/field_mask_pb.d.ts +260 -0
  79. package/google/protobuf/field_mask_pb.js +49 -0
  80. package/google/protobuf/source_context_pb.d.ts +64 -0
  81. package/google/protobuf/source_context_pb.js +49 -0
  82. package/google/protobuf/struct_pb.d.ts +186 -0
  83. package/google/protobuf/struct_pb.js +80 -0
  84. package/google/protobuf/timestamp_pb.d.ts +163 -0
  85. package/google/protobuf/timestamp_pb.js +49 -0
  86. package/google/protobuf/type_pb.d.ts +532 -0
  87. package/google/protobuf/type_pb.js +121 -0
  88. package/google/protobuf/wrappers_pb.d.ts +250 -0
  89. package/google/protobuf/wrappers_pb.js +115 -0
  90. package/google/type/calendar_period_pb.d.ts +99 -0
  91. package/google/type/calendar_period_pb.js +42 -0
  92. package/google/type/color_pb.d.ts +200 -0
  93. package/google/type/color_pb.js +34 -0
  94. package/google/type/date_pb.d.ts +76 -0
  95. package/google/type/date_pb.js +33 -0
  96. package/google/type/datetime_pb.d.ts +175 -0
  97. package/google/type/datetime_pb.js +41 -0
  98. package/google/type/dayofweek_pb.d.ts +93 -0
  99. package/google/type/dayofweek_pb.js +40 -0
  100. package/google/type/decimal_pb.d.ts +111 -0
  101. package/google/type/decimal_pb.js +33 -0
  102. package/google/type/expr_pb.d.ts +102 -0
  103. package/google/type/expr_pb.js +33 -0
  104. package/google/type/fraction_pb.d.ts +54 -0
  105. package/google/type/fraction_pb.js +33 -0
  106. package/google/type/interval_pb.d.ts +65 -0
  107. package/google/type/interval_pb.js +34 -0
  108. package/google/type/latlng_pb.d.ts +57 -0
  109. package/google/type/latlng_pb.js +33 -0
  110. package/google/type/localized_text_pb.d.ts +56 -0
  111. package/google/type/localized_text_pb.js +33 -0
  112. package/google/type/money_pb.d.ts +66 -0
  113. package/google/type/money_pb.js +33 -0
  114. package/google/type/month_pb.d.ts +128 -0
  115. package/google/type/month_pb.js +40 -0
  116. package/google/type/phone_number_pb.d.ts +161 -0
  117. package/google/type/phone_number_pb.js +40 -0
  118. package/google/type/postal_address_pb.d.ts +190 -0
  119. package/google/type/postal_address_pb.js +33 -0
  120. package/google/type/quaternion_pb.d.ts +122 -0
  121. package/google/type/quaternion_pb.js +33 -0
  122. package/google/type/timeofday_pb.d.ts +72 -0
  123. package/google/type/timeofday_pb.js +33 -0
  124. package/grpc/gateway/protoc_gen_openapiv2/options/annotations_pb.d.ts +73 -0
  125. package/grpc/gateway/protoc_gen_openapiv2/options/annotations_pb.js +80 -0
  126. package/grpc/gateway/protoc_gen_openapiv2/options/openapiv2_pb.d.ts +1586 -0
  127. package/grpc/gateway/protoc_gen_openapiv2/options/openapiv2_pb.js +239 -0
  128. package/grpc/tradeapi/v1/accounts/accounts_service_pb.d.ts +671 -0
  129. package/grpc/tradeapi/v1/accounts/accounts_service_pb.js +126 -0
  130. package/grpc/tradeapi/v1/assets/assets_service_pb.d.ts +1318 -0
  131. package/grpc/tradeapi/v1/assets/assets_service_pb.js +279 -0
  132. package/grpc/tradeapi/v1/auth/auth_service_pb.d.ts +336 -0
  133. package/grpc/tradeapi/v1/auth/auth_service_pb.js +86 -0
  134. package/grpc/tradeapi/v1/marketdata/marketdata_service_pb.d.ts +1215 -0
  135. package/grpc/tradeapi/v1/marketdata/marketdata_service_pb.js +243 -0
  136. package/grpc/tradeapi/v1/metrics/usage_metrics_service_pb.d.ts +111 -0
  137. package/grpc/tradeapi/v1/metrics/usage_metrics_service_pb.js +46 -0
  138. package/grpc/tradeapi/v1/orders/orders_service_pb.d.ts +1256 -0
  139. package/grpc/tradeapi/v1/orders/orders_service_pb.js +242 -0
  140. package/grpc/tradeapi/v1/reports/reports_service_pb.d.ts +353 -0
  141. package/grpc/tradeapi/v1/reports/reports_service_pb.js +107 -0
  142. package/grpc/tradeapi/v1/side_pb.d.ts +44 -0
  143. package/grpc/tradeapi/v1/side_pb.js +26 -0
  144. package/grpc/tradeapi/v1/trade_pb.d.ts +91 -0
  145. package/grpc/tradeapi/v1/trade_pb.js +22 -0
  146. package/package.json +14 -0
@@ -0,0 +1,1318 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file grpc/tradeapi/v1/assets/assets_service.proto (package grpc.tradeapi.v1.assets, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+ import type { Decimal } from "../../../../google/type/decimal_pb.js";
8
+ import type { Date } from "../../../../google/type/date_pb.js";
9
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
10
+ import type { Money } from "../../../../google/type/money_pb.js";
11
+ import type { Interval } from "../../../../google/type/interval_pb.js";
12
+
13
+ /**
14
+ * Describes the file grpc/tradeapi/v1/assets/assets_service.proto.
15
+ */
16
+ export declare const file_grpc_tradeapi_v1_assets_assets_service: GenFile;
17
+
18
+ /**
19
+ * Запрос получения списка доступных бирж
20
+ *
21
+ * @generated from message grpc.tradeapi.v1.assets.ExchangesRequest
22
+ */
23
+ export declare type ExchangesRequest = Message<"grpc.tradeapi.v1.assets.ExchangesRequest"> & {
24
+ };
25
+
26
+ /**
27
+ * Describes the message grpc.tradeapi.v1.assets.ExchangesRequest.
28
+ * Use `create(ExchangesRequestSchema)` to create a new message.
29
+ */
30
+ export declare const ExchangesRequestSchema: GenMessage<ExchangesRequest>;
31
+
32
+ /**
33
+ * Список доступных бирж
34
+ *
35
+ * @generated from message grpc.tradeapi.v1.assets.ExchangesResponse
36
+ */
37
+ export declare type ExchangesResponse = Message<"grpc.tradeapi.v1.assets.ExchangesResponse"> & {
38
+ /**
39
+ * Информация о бирже
40
+ *
41
+ * @generated from field: repeated grpc.tradeapi.v1.assets.Exchange exchanges = 1;
42
+ */
43
+ exchanges: Exchange[];
44
+ };
45
+
46
+ /**
47
+ * Describes the message grpc.tradeapi.v1.assets.ExchangesResponse.
48
+ * Use `create(ExchangesResponseSchema)` to create a new message.
49
+ */
50
+ export declare const ExchangesResponseSchema: GenMessage<ExchangesResponse>;
51
+
52
+ /**
53
+ * Запрос получения списка доступных инструментов
54
+ *
55
+ * @generated from message grpc.tradeapi.v1.assets.AssetsRequest
56
+ */
57
+ export declare type AssetsRequest = Message<"grpc.tradeapi.v1.assets.AssetsRequest"> & {
58
+ };
59
+
60
+ /**
61
+ * Describes the message grpc.tradeapi.v1.assets.AssetsRequest.
62
+ * Use `create(AssetsRequestSchema)` to create a new message.
63
+ */
64
+ export declare const AssetsRequestSchema: GenMessage<AssetsRequest>;
65
+
66
+ /**
67
+ * Список доступных инструментов
68
+ *
69
+ * @generated from message grpc.tradeapi.v1.assets.AssetsResponse
70
+ */
71
+ export declare type AssetsResponse = Message<"grpc.tradeapi.v1.assets.AssetsResponse"> & {
72
+ /**
73
+ * Информация об инструменте
74
+ *
75
+ * @generated from field: repeated grpc.tradeapi.v1.assets.Asset assets = 1;
76
+ */
77
+ assets: Asset[];
78
+ };
79
+
80
+ /**
81
+ * Describes the message grpc.tradeapi.v1.assets.AssetsResponse.
82
+ * Use `create(AssetsResponseSchema)` to create a new message.
83
+ */
84
+ export declare const AssetsResponseSchema: GenMessage<AssetsResponse>;
85
+
86
+ /**
87
+ * Запрос получения списка доступных инструментов
88
+ *
89
+ * @generated from message grpc.tradeapi.v1.assets.AllAssetsRequest
90
+ */
91
+ export declare type AllAssetsRequest = Message<"grpc.tradeapi.v1.assets.AllAssetsRequest"> & {
92
+ /**
93
+ * Курсор для пагинации. Указывает sec_id инструмента, с которого должен начинаться список.
94
+ * Для первого запроса оставьте поле пустым (значение 0).
95
+ * Для последующих запросов используйте значение next_cursor из предыдущего ответа.
96
+ *
97
+ * @generated from field: int64 cursor = 1;
98
+ */
99
+ cursor: bigint;
100
+
101
+ /**
102
+ * Фильтрация по статусу инструмента: выбираются только активные(неархивные) инструменты
103
+ * По умолчанию: false.
104
+ *
105
+ * @generated from field: bool only_active = 2;
106
+ */
107
+ onlyActive: boolean;
108
+
109
+ /**
110
+ * Фильтрация по статусу инструмента: выбираются только неактивные(архивные) инструменты
111
+ * По умолчанию: false.
112
+ *
113
+ * @generated from field: bool only_disabled = 3;
114
+ */
115
+ onlyDisabled: boolean;
116
+ };
117
+
118
+ /**
119
+ * Describes the message grpc.tradeapi.v1.assets.AllAssetsRequest.
120
+ * Use `create(AllAssetsRequestSchema)` to create a new message.
121
+ */
122
+ export declare const AllAssetsRequestSchema: GenMessage<AllAssetsRequest>;
123
+
124
+ /**
125
+ * Ответ, содержащий часть доступных инструментов.
126
+ *
127
+ * @generated from message grpc.tradeapi.v1.assets.AllAssetsResponse
128
+ */
129
+ export declare type AllAssetsResponse = Message<"grpc.tradeapi.v1.assets.AllAssetsResponse"> & {
130
+ /**
131
+ * Часть списка инструментов
132
+ *
133
+ * @generated from field: repeated grpc.tradeapi.v1.assets.Asset assets = 1;
134
+ */
135
+ assets: Asset[];
136
+
137
+ /**
138
+ * Курсор для получения следующей страницы. Содержит sec_id последнего инструмента в текущем списке.
139
+ * Передайте это значение в поле cursor следующего запроса, чтобы получить следующую часть данных.
140
+ * Если значение 0 или отсутствует — это последняя страница.
141
+ *
142
+ * @generated from field: int64 next_cursor = 2;
143
+ */
144
+ nextCursor: bigint;
145
+ };
146
+
147
+ /**
148
+ * Describes the message grpc.tradeapi.v1.assets.AllAssetsResponse.
149
+ * Use `create(AllAssetsResponseSchema)` to create a new message.
150
+ */
151
+ export declare const AllAssetsResponseSchema: GenMessage<AllAssetsResponse>;
152
+
153
+ /**
154
+ * Запрос получения информации по конкретному инструменту
155
+ *
156
+ * @generated from message grpc.tradeapi.v1.assets.GetAssetRequest
157
+ */
158
+ export declare type GetAssetRequest = Message<"grpc.tradeapi.v1.assets.GetAssetRequest"> & {
159
+ /**
160
+ * Символ инструмента
161
+ *
162
+ * @generated from field: string symbol = 1;
163
+ */
164
+ symbol: string;
165
+
166
+ /**
167
+ * ID аккаунта для которого будет подбираться информация по инструменту
168
+ *
169
+ * @generated from field: string account_id = 2;
170
+ */
171
+ accountId: string;
172
+ };
173
+
174
+ /**
175
+ * Describes the message grpc.tradeapi.v1.assets.GetAssetRequest.
176
+ * Use `create(GetAssetRequestSchema)` to create a new message.
177
+ */
178
+ export declare const GetAssetRequestSchema: GenMessage<GetAssetRequest>;
179
+
180
+ /**
181
+ * Список информации по конкретному инструменту
182
+ *
183
+ * @generated from message grpc.tradeapi.v1.assets.GetAssetResponse
184
+ */
185
+ export declare type GetAssetResponse = Message<"grpc.tradeapi.v1.assets.GetAssetResponse"> & {
186
+ /**
187
+ * Код режима торгов
188
+ *
189
+ * @generated from field: string board = 1;
190
+ */
191
+ board: string;
192
+
193
+ /**
194
+ * Идентификатор инструмента
195
+ *
196
+ * @generated from field: string id = 2;
197
+ */
198
+ id: string;
199
+
200
+ /**
201
+ * Тикер инструмента
202
+ *
203
+ * @generated from field: string ticker = 3;
204
+ */
205
+ ticker: string;
206
+
207
+ /**
208
+ * mic идентификатор биржи
209
+ *
210
+ * @generated from field: string mic = 4;
211
+ */
212
+ mic: string;
213
+
214
+ /**
215
+ * Isin идентификатор инструмента
216
+ *
217
+ * @generated from field: string isin = 5;
218
+ */
219
+ isin: string;
220
+
221
+ /**
222
+ * Тип инструмента
223
+ *
224
+ * @generated from field: string type = 6;
225
+ */
226
+ type: string;
227
+
228
+ /**
229
+ * Наименование инструмента
230
+ *
231
+ * @generated from field: string name = 7;
232
+ */
233
+ name: string;
234
+
235
+ /**
236
+ * Кол-во десятичных знаков в цене
237
+ *
238
+ * @generated from field: int32 decimals = 10;
239
+ */
240
+ decimals: number;
241
+
242
+ /**
243
+ * Минимальный шаг цены. Для расчета финального ценового шага: min_step/(10ˆdecimals)
244
+ *
245
+ * @generated from field: int64 min_step = 11;
246
+ */
247
+ minStep: bigint;
248
+
249
+ /**
250
+ * Кол-во штук в лоте
251
+ *
252
+ * @generated from field: google.type.Decimal lot_size = 9;
253
+ */
254
+ lotSize?: Decimal;
255
+
256
+ /**
257
+ * Дата экспирации фьючерса
258
+ *
259
+ * @generated from field: google.type.Date expiration_date = 12 [deprecated = true];
260
+ * @deprecated
261
+ */
262
+ expirationDate?: Date;
263
+
264
+ /**
265
+ * Валюта котировки, может не совпадать с валютой режима торгов инструмента
266
+ *
267
+ * @generated from field: string quote_currency = 13;
268
+ */
269
+ quoteCurrency: string;
270
+
271
+ /**
272
+ * @generated from oneof grpc.tradeapi.v1.assets.GetAssetResponse.asset_details
273
+ */
274
+ assetDetails: {
275
+ /**
276
+ * Специфичные параметры для инструмента типа "Фьючерс"
277
+ *
278
+ * @generated from field: grpc.tradeapi.v1.assets.GetAssetResponse.FutureDetails future_details = 14;
279
+ */
280
+ value: GetAssetResponse_FutureDetails;
281
+ case: "futureDetails";
282
+ } | {
283
+ /**
284
+ * Специфичные параметры для инструмента типа "Опцион"
285
+ *
286
+ * @generated from field: grpc.tradeapi.v1.assets.GetAssetResponse.OptionDetails option_details = 15;
287
+ */
288
+ value: GetAssetResponse_OptionDetails;
289
+ case: "optionDetails";
290
+ } | {
291
+ /**
292
+ * Специфичные параметры для инструмента типа "Облигация"
293
+ *
294
+ * @generated from field: grpc.tradeapi.v1.assets.GetAssetResponse.BondDetails bond_details = 16;
295
+ */
296
+ value: GetAssetResponse_BondDetails;
297
+ case: "bondDetails";
298
+ } | { case: undefined; value?: undefined };
299
+ };
300
+
301
+ /**
302
+ * Describes the message grpc.tradeapi.v1.assets.GetAssetResponse.
303
+ * Use `create(GetAssetResponseSchema)` to create a new message.
304
+ */
305
+ export declare const GetAssetResponseSchema: GenMessage<GetAssetResponse>;
306
+
307
+ /**
308
+ * Специфичные параметры для инструмента типа "Фьючерс"
309
+ *
310
+ * @generated from message grpc.tradeapi.v1.assets.GetAssetResponse.FutureDetails
311
+ */
312
+ export declare type GetAssetResponse_FutureDetails = Message<"grpc.tradeapi.v1.assets.GetAssetResponse.FutureDetails"> & {
313
+ /**
314
+ * Дата и время экспирации (исполнения) фьючерсного контракта.
315
+ *
316
+ * @generated from field: google.protobuf.Timestamp expiration_date = 1;
317
+ */
318
+ expirationDate?: Timestamp;
319
+
320
+ /**
321
+ * Размер контракта (мультипликатор) — количество единиц базового актива в одном контракте.
322
+ *
323
+ * @generated from field: google.type.Decimal contract_size = 2;
324
+ */
325
+ contractSize?: Decimal;
326
+ };
327
+
328
+ /**
329
+ * Describes the message grpc.tradeapi.v1.assets.GetAssetResponse.FutureDetails.
330
+ * Use `create(GetAssetResponse_FutureDetailsSchema)` to create a new message.
331
+ */
332
+ export declare const GetAssetResponse_FutureDetailsSchema: GenMessage<GetAssetResponse_FutureDetails>;
333
+
334
+ /**
335
+ * Специфичные параметры для инструмента типа "Опцион"
336
+ *
337
+ * @generated from message grpc.tradeapi.v1.assets.GetAssetResponse.OptionDetails
338
+ */
339
+ export declare type GetAssetResponse_OptionDetails = Message<"grpc.tradeapi.v1.assets.GetAssetResponse.OptionDetails"> & {
340
+ /**
341
+ * Дата и время экспирации (исполнения) опционного контракта.
342
+ *
343
+ * @generated from field: google.protobuf.Timestamp expiration_date = 1;
344
+ */
345
+ expirationDate?: Timestamp;
346
+
347
+ /**
348
+ * Размер контракта (мультипликатор) — количество единиц базового актива в одном контракте.
349
+ *
350
+ * @generated from field: google.type.Decimal contract_size = 2;
351
+ */
352
+ contractSize?: Decimal;
353
+
354
+ /**
355
+ * Цена исполнения (страйк) опциона.
356
+ *
357
+ * @generated from field: google.type.Decimal strike = 3;
358
+ */
359
+ strike?: Decimal;
360
+ };
361
+
362
+ /**
363
+ * Describes the message grpc.tradeapi.v1.assets.GetAssetResponse.OptionDetails.
364
+ * Use `create(GetAssetResponse_OptionDetailsSchema)` to create a new message.
365
+ */
366
+ export declare const GetAssetResponse_OptionDetailsSchema: GenMessage<GetAssetResponse_OptionDetails>;
367
+
368
+ /**
369
+ * Специфичные параметры для инструмента типа "Облигация"
370
+ *
371
+ * @generated from message grpc.tradeapi.v1.assets.GetAssetResponse.BondDetails
372
+ */
373
+ export declare type GetAssetResponse_BondDetails = Message<"grpc.tradeapi.v1.assets.GetAssetResponse.BondDetails"> & {
374
+ /**
375
+ * Текущая номинальная стоимость одной облигации.
376
+ *
377
+ * @generated from field: google.type.Decimal bond_face_value = 1;
378
+ */
379
+ bondFaceValue?: Decimal;
380
+
381
+ /**
382
+ * Символьный код валюты номинала облигации (например, RUB, USD).
383
+ *
384
+ * @generated from field: string currency = 2;
385
+ */
386
+ currency: string;
387
+ };
388
+
389
+ /**
390
+ * Describes the message grpc.tradeapi.v1.assets.GetAssetResponse.BondDetails.
391
+ * Use `create(GetAssetResponse_BondDetailsSchema)` to create a new message.
392
+ */
393
+ export declare const GetAssetResponse_BondDetailsSchema: GenMessage<GetAssetResponse_BondDetails>;
394
+
395
+ /**
396
+ * Запрос торговых параметров инструмента
397
+ *
398
+ * @generated from message grpc.tradeapi.v1.assets.GetAssetParamsRequest
399
+ */
400
+ export declare type GetAssetParamsRequest = Message<"grpc.tradeapi.v1.assets.GetAssetParamsRequest"> & {
401
+ /**
402
+ * Символ инструмента
403
+ *
404
+ * @generated from field: string symbol = 1;
405
+ */
406
+ symbol: string;
407
+
408
+ /**
409
+ * ID аккаунта для которого будут подбираться торговые параметры
410
+ *
411
+ * @generated from field: string account_id = 2;
412
+ */
413
+ accountId: string;
414
+ };
415
+
416
+ /**
417
+ * Describes the message grpc.tradeapi.v1.assets.GetAssetParamsRequest.
418
+ * Use `create(GetAssetParamsRequestSchema)` to create a new message.
419
+ */
420
+ export declare const GetAssetParamsRequestSchema: GenMessage<GetAssetParamsRequest>;
421
+
422
+ /**
423
+ * Торговые параметры инструмента
424
+ *
425
+ * @generated from message grpc.tradeapi.v1.assets.GetAssetParamsResponse
426
+ */
427
+ export declare type GetAssetParamsResponse = Message<"grpc.tradeapi.v1.assets.GetAssetParamsResponse"> & {
428
+ /**
429
+ * Символ инструмента
430
+ *
431
+ * @generated from field: string symbol = 1;
432
+ */
433
+ symbol: string;
434
+
435
+ /**
436
+ * ID аккаунта для которого подбираются торговые параметры
437
+ *
438
+ * @generated from field: string account_id = 2;
439
+ */
440
+ accountId: string;
441
+
442
+ /**
443
+ * Доступны ли торговые операции
444
+ * Старое поле, помечено как устаревшее.
445
+ * Клиентам следует перейти на is_tradeable.
446
+ *
447
+ * @generated from field: bool tradeable = 3 [deprecated = true];
448
+ * @deprecated
449
+ */
450
+ tradeable: boolean;
451
+
452
+ /**
453
+ * Доступны ли операции в Лонг
454
+ *
455
+ * @generated from field: grpc.tradeapi.v1.assets.Longable longable = 4;
456
+ */
457
+ longable?: Longable;
458
+
459
+ /**
460
+ * Доступны ли операции в Шорт
461
+ *
462
+ * @generated from field: grpc.tradeapi.v1.assets.Shortable shortable = 5;
463
+ */
464
+ shortable?: Shortable;
465
+
466
+ /**
467
+ * Ставка риска для операции в Лонг
468
+ *
469
+ * @generated from field: google.type.Decimal long_risk_rate = 6;
470
+ */
471
+ longRiskRate?: Decimal;
472
+
473
+ /**
474
+ * Сумма обеспечения для поддержания позиции Лонг
475
+ *
476
+ * @generated from field: google.type.Money long_collateral = 7 [deprecated = true];
477
+ * @deprecated
478
+ */
479
+ longCollateral?: Money;
480
+
481
+ /**
482
+ * Ставка риска для операции в Шорт
483
+ *
484
+ * @generated from field: google.type.Decimal short_risk_rate = 8;
485
+ */
486
+ shortRiskRate?: Decimal;
487
+
488
+ /**
489
+ * Сумма обеспечения для поддержания позиции Шорт
490
+ *
491
+ * @generated from field: google.type.Money short_collateral = 9 [deprecated = true];
492
+ * @deprecated
493
+ */
494
+ shortCollateral?: Money;
495
+
496
+ /**
497
+ * Начальные требования, сколько на счету должно быть свободных денежных средств, чтобы открыть лонг позицию, для FORTS счетов равен биржевому ГО
498
+ *
499
+ * @generated from field: google.type.Money long_initial_margin = 10;
500
+ */
501
+ longInitialMargin?: Money;
502
+
503
+ /**
504
+ * Начальные требования, сколько на счету должно быть свободных денежных средств, чтобы открыть шорт позицию, для FORTS счетов равен биржевому ГО
505
+ *
506
+ * @generated from field: google.type.Money short_initial_margin = 11;
507
+ */
508
+ shortInitialMargin?: Money;
509
+
510
+ /**
511
+ * Доступны ли торговые операции
512
+ * Новое поле. Позволяет различать false и "не установлено".
513
+ *
514
+ * @generated from field: google.protobuf.BoolValue is_tradable = 12;
515
+ */
516
+ isTradable?: boolean;
517
+
518
+ /**
519
+ * Допустимая цена. Помогает определить можно ли выставлять ордера с отрицательной ценой для финансового инструмента
520
+ *
521
+ * @generated from field: grpc.tradeapi.v1.assets.PriceType price_type = 13;
522
+ */
523
+ priceType: PriceType;
524
+ };
525
+
526
+ /**
527
+ * Describes the message grpc.tradeapi.v1.assets.GetAssetParamsResponse.
528
+ * Use `create(GetAssetParamsResponseSchema)` to create a new message.
529
+ */
530
+ export declare const GetAssetParamsResponseSchema: GenMessage<GetAssetParamsResponse>;
531
+
532
+ /**
533
+ * Запрос получения цепочки опционов
534
+ *
535
+ * @generated from message grpc.tradeapi.v1.assets.OptionsChainRequest
536
+ */
537
+ export declare type OptionsChainRequest = Message<"grpc.tradeapi.v1.assets.OptionsChainRequest"> & {
538
+ /**
539
+ * Символ базового актива опциона
540
+ *
541
+ * @generated from field: string underlying_symbol = 1;
542
+ */
543
+ underlyingSymbol: string;
544
+
545
+ /**
546
+ * Опциональный параметр. Актуален для опционов на фьючерсы, по типу (недельные, месячные).
547
+ * Если параметр не указан, будут возвращены опционы с ближайшей датой экспирации.
548
+ *
549
+ * @generated from field: string root = 2;
550
+ */
551
+ root: string;
552
+
553
+ /**
554
+ * Опциональный фильтр по дате экспирации опционов.
555
+ * Если параметр не указан, будут возвращены опционы с ближайшей датой экспирации.
556
+ *
557
+ * @generated from field: google.type.Date expiration_date = 3;
558
+ */
559
+ expirationDate?: Date;
560
+ };
561
+
562
+ /**
563
+ * Describes the message grpc.tradeapi.v1.assets.OptionsChainRequest.
564
+ * Use `create(OptionsChainRequestSchema)` to create a new message.
565
+ */
566
+ export declare const OptionsChainRequestSchema: GenMessage<OptionsChainRequest>;
567
+
568
+ /**
569
+ * Информация о цепочке опционов
570
+ *
571
+ * @generated from message grpc.tradeapi.v1.assets.OptionsChainResponse
572
+ */
573
+ export declare type OptionsChainResponse = Message<"grpc.tradeapi.v1.assets.OptionsChainResponse"> & {
574
+ /**
575
+ * Символ базового актива опциона
576
+ *
577
+ * @generated from field: string symbol = 1;
578
+ */
579
+ symbol: string;
580
+
581
+ /**
582
+ * Информация об опционе
583
+ *
584
+ * @generated from field: repeated grpc.tradeapi.v1.assets.Option options = 2;
585
+ */
586
+ options: Option[];
587
+ };
588
+
589
+ /**
590
+ * Describes the message grpc.tradeapi.v1.assets.OptionsChainResponse.
591
+ * Use `create(OptionsChainResponseSchema)` to create a new message.
592
+ */
593
+ export declare const OptionsChainResponseSchema: GenMessage<OptionsChainResponse>;
594
+
595
+ /**
596
+ * Запрос получения расписания инструмента
597
+ *
598
+ * @generated from message grpc.tradeapi.v1.assets.ScheduleRequest
599
+ */
600
+ export declare type ScheduleRequest = Message<"grpc.tradeapi.v1.assets.ScheduleRequest"> & {
601
+ /**
602
+ * Символ инструмента
603
+ *
604
+ * @generated from field: string symbol = 1;
605
+ */
606
+ symbol: string;
607
+ };
608
+
609
+ /**
610
+ * Describes the message grpc.tradeapi.v1.assets.ScheduleRequest.
611
+ * Use `create(ScheduleRequestSchema)` to create a new message.
612
+ */
613
+ export declare const ScheduleRequestSchema: GenMessage<ScheduleRequest>;
614
+
615
+ /**
616
+ * Расписание инструмента
617
+ *
618
+ * @generated from message grpc.tradeapi.v1.assets.ScheduleResponse
619
+ */
620
+ export declare type ScheduleResponse = Message<"grpc.tradeapi.v1.assets.ScheduleResponse"> & {
621
+ /**
622
+ * Символ инструмента
623
+ *
624
+ * @generated from field: string symbol = 1;
625
+ */
626
+ symbol: string;
627
+
628
+ /**
629
+ * Сессии инструмента
630
+ *
631
+ * @generated from field: repeated grpc.tradeapi.v1.assets.ScheduleResponse.Sessions sessions = 2;
632
+ */
633
+ sessions: ScheduleResponse_Sessions[];
634
+ };
635
+
636
+ /**
637
+ * Describes the message grpc.tradeapi.v1.assets.ScheduleResponse.
638
+ * Use `create(ScheduleResponseSchema)` to create a new message.
639
+ */
640
+ export declare const ScheduleResponseSchema: GenMessage<ScheduleResponse>;
641
+
642
+ /**
643
+ * Сессии
644
+ *
645
+ * @generated from message grpc.tradeapi.v1.assets.ScheduleResponse.Sessions
646
+ */
647
+ export declare type ScheduleResponse_Sessions = Message<"grpc.tradeapi.v1.assets.ScheduleResponse.Sessions"> & {
648
+ /**
649
+ * Тип сессии
650
+ *
651
+ * @generated from field: string type = 1;
652
+ */
653
+ type: string;
654
+
655
+ /**
656
+ * Интервал сессии
657
+ *
658
+ * @generated from field: google.type.Interval interval = 2;
659
+ */
660
+ interval?: Interval;
661
+ };
662
+
663
+ /**
664
+ * Describes the message grpc.tradeapi.v1.assets.ScheduleResponse.Sessions.
665
+ * Use `create(ScheduleResponse_SessionsSchema)` to create a new message.
666
+ */
667
+ export declare const ScheduleResponse_SessionsSchema: GenMessage<ScheduleResponse_Sessions>;
668
+
669
+ /**
670
+ * Запрос получения времени на сервере
671
+ *
672
+ * @generated from message grpc.tradeapi.v1.assets.ClockRequest
673
+ */
674
+ export declare type ClockRequest = Message<"grpc.tradeapi.v1.assets.ClockRequest"> & {
675
+ };
676
+
677
+ /**
678
+ * Describes the message grpc.tradeapi.v1.assets.ClockRequest.
679
+ * Use `create(ClockRequestSchema)` to create a new message.
680
+ */
681
+ export declare const ClockRequestSchema: GenMessage<ClockRequest>;
682
+
683
+ /**
684
+ * Время на сервере
685
+ *
686
+ * @generated from message grpc.tradeapi.v1.assets.ClockResponse
687
+ */
688
+ export declare type ClockResponse = Message<"grpc.tradeapi.v1.assets.ClockResponse"> & {
689
+ /**
690
+ * Метка времени
691
+ *
692
+ * @generated from field: google.protobuf.Timestamp timestamp = 1;
693
+ */
694
+ timestamp?: Timestamp;
695
+ };
696
+
697
+ /**
698
+ * Describes the message grpc.tradeapi.v1.assets.ClockResponse.
699
+ * Use `create(ClockResponseSchema)` to create a new message.
700
+ */
701
+ export declare const ClockResponseSchema: GenMessage<ClockResponse>;
702
+
703
+ /**
704
+ * Информация о бирже
705
+ *
706
+ * @generated from message grpc.tradeapi.v1.assets.Exchange
707
+ */
708
+ export declare type Exchange = Message<"grpc.tradeapi.v1.assets.Exchange"> & {
709
+ /**
710
+ * Идентификатор биржи mic
711
+ *
712
+ * @generated from field: string mic = 1;
713
+ */
714
+ mic: string;
715
+
716
+ /**
717
+ * Наименование биржи
718
+ *
719
+ * @generated from field: string name = 2;
720
+ */
721
+ name: string;
722
+ };
723
+
724
+ /**
725
+ * Describes the message grpc.tradeapi.v1.assets.Exchange.
726
+ * Use `create(ExchangeSchema)` to create a new message.
727
+ */
728
+ export declare const ExchangeSchema: GenMessage<Exchange>;
729
+
730
+ /**
731
+ * Информация об инструменте
732
+ *
733
+ * @generated from message grpc.tradeapi.v1.assets.Asset
734
+ */
735
+ export declare type Asset = Message<"grpc.tradeapi.v1.assets.Asset"> & {
736
+ /**
737
+ * Символ инструмента ticker@mic
738
+ *
739
+ * @generated from field: string symbol = 1;
740
+ */
741
+ symbol: string;
742
+
743
+ /**
744
+ * Идентификатор инструмента
745
+ *
746
+ * @generated from field: string id = 2;
747
+ */
748
+ id: string;
749
+
750
+ /**
751
+ * Тикер инструмента
752
+ *
753
+ * @generated from field: string ticker = 3;
754
+ */
755
+ ticker: string;
756
+
757
+ /**
758
+ * mic идентификатор биржи
759
+ *
760
+ * @generated from field: string mic = 4;
761
+ */
762
+ mic: string;
763
+
764
+ /**
765
+ * Isin идентификатор инструмента
766
+ *
767
+ * @generated from field: string isin = 5;
768
+ */
769
+ isin: string;
770
+
771
+ /**
772
+ * Тип инструмента
773
+ *
774
+ * @generated from field: string type = 6;
775
+ */
776
+ type: string;
777
+
778
+ /**
779
+ * Наименование инструмента
780
+ *
781
+ * @generated from field: string name = 7;
782
+ */
783
+ name: string;
784
+
785
+ /**
786
+ * Архивный инструмент или нет
787
+ *
788
+ * @generated from field: bool is_archived = 8;
789
+ */
790
+ isArchived: boolean;
791
+ };
792
+
793
+ /**
794
+ * Describes the message grpc.tradeapi.v1.assets.Asset.
795
+ * Use `create(AssetSchema)` to create a new message.
796
+ */
797
+ export declare const AssetSchema: GenMessage<Asset>;
798
+
799
+ /**
800
+ * Информация об опционе
801
+ *
802
+ * @generated from message grpc.tradeapi.v1.assets.Option
803
+ */
804
+ export declare type Option = Message<"grpc.tradeapi.v1.assets.Option"> & {
805
+ /**
806
+ * Символ инструмента
807
+ *
808
+ * @generated from field: string symbol = 1;
809
+ */
810
+ symbol: string;
811
+
812
+ /**
813
+ * Тип инструмента
814
+ *
815
+ * @generated from field: grpc.tradeapi.v1.assets.Option.Type type = 2;
816
+ */
817
+ type: Option_Type;
818
+
819
+ /**
820
+ * Лот, количество базового актива в инструменте
821
+ *
822
+ * @generated from field: google.type.Decimal contract_size = 4;
823
+ */
824
+ contractSize?: Decimal;
825
+
826
+ /**
827
+ * Дата старта торговли
828
+ *
829
+ * @generated from field: google.type.Date trade_first_day = 5;
830
+ */
831
+ tradeFirstDay?: Date;
832
+
833
+ /**
834
+ * Дата окончания торговли
835
+ *
836
+ * @generated from field: google.type.Date trade_last_day = 6;
837
+ */
838
+ tradeLastDay?: Date;
839
+
840
+ /**
841
+ * Цена исполнения опциона
842
+ *
843
+ * @generated from field: google.type.Decimal strike = 7;
844
+ */
845
+ strike?: Decimal;
846
+
847
+ /**
848
+ * Множитель опциона
849
+ *
850
+ * @generated from field: google.type.Decimal multiplier = 9;
851
+ */
852
+ multiplier?: Decimal;
853
+
854
+ /**
855
+ * Дата начала экспирации
856
+ *
857
+ * @generated from field: google.type.Date expiration_first_day = 10;
858
+ */
859
+ expirationFirstDay?: Date;
860
+
861
+ /**
862
+ * Дата окончания экспирации
863
+ *
864
+ * @generated from field: google.type.Date expiration_last_day = 11;
865
+ */
866
+ expirationLastDay?: Date;
867
+ };
868
+
869
+ /**
870
+ * Describes the message grpc.tradeapi.v1.assets.Option.
871
+ * Use `create(OptionSchema)` to create a new message.
872
+ */
873
+ export declare const OptionSchema: GenMessage<Option>;
874
+
875
+ /**
876
+ * Тип опциона
877
+ *
878
+ * @generated from enum grpc.tradeapi.v1.assets.Option.Type
879
+ */
880
+ export enum Option_Type {
881
+ /**
882
+ * Неопределенное значение
883
+ *
884
+ * @generated from enum value: TYPE_UNSPECIFIED = 0;
885
+ */
886
+ UNSPECIFIED = 0,
887
+
888
+ /**
889
+ * Колл
890
+ *
891
+ * @generated from enum value: TYPE_CALL = 1;
892
+ */
893
+ CALL = 1,
894
+
895
+ /**
896
+ * Пут
897
+ *
898
+ * @generated from enum value: TYPE_PUT = 2;
899
+ */
900
+ PUT = 2,
901
+ }
902
+
903
+ /**
904
+ * Describes the enum grpc.tradeapi.v1.assets.Option.Type.
905
+ */
906
+ export declare const Option_TypeSchema: GenEnum<Option_Type>;
907
+
908
+ /**
909
+ * Доступны ли операции в Лонг
910
+ *
911
+ * @generated from message grpc.tradeapi.v1.assets.Longable
912
+ */
913
+ export declare type Longable = Message<"grpc.tradeapi.v1.assets.Longable"> & {
914
+ /**
915
+ * Статус инструмента
916
+ *
917
+ * @generated from field: grpc.tradeapi.v1.assets.Longable.Status value = 1;
918
+ */
919
+ value: Longable_Status;
920
+
921
+ /**
922
+ * Сколько дней действует запрет на операции в Лонг (если есть)
923
+ *
924
+ * @generated from field: int32 halted_days = 2;
925
+ */
926
+ haltedDays: number;
927
+ };
928
+
929
+ /**
930
+ * Describes the message grpc.tradeapi.v1.assets.Longable.
931
+ * Use `create(LongableSchema)` to create a new message.
932
+ */
933
+ export declare const LongableSchema: GenMessage<Longable>;
934
+
935
+ /**
936
+ * Статус
937
+ *
938
+ * @generated from enum grpc.tradeapi.v1.assets.Longable.Status
939
+ */
940
+ export enum Longable_Status {
941
+ /**
942
+ * Не доступен
943
+ *
944
+ * @generated from enum value: NOT_AVAILABLE = 0;
945
+ */
946
+ NOT_AVAILABLE = 0,
947
+
948
+ /**
949
+ * Доступен
950
+ *
951
+ * @generated from enum value: AVAILABLE = 1;
952
+ */
953
+ AVAILABLE = 1,
954
+
955
+ /**
956
+ * Запрещено на уровне счета
957
+ *
958
+ * @generated from enum value: ACCOUNT_NOT_APPROVED = 2;
959
+ */
960
+ ACCOUNT_NOT_APPROVED = 2,
961
+ }
962
+
963
+ /**
964
+ * Describes the enum grpc.tradeapi.v1.assets.Longable.Status.
965
+ */
966
+ export declare const Longable_StatusSchema: GenEnum<Longable_Status>;
967
+
968
+ /**
969
+ * Доступны ли операции в Шорт
970
+ *
971
+ * @generated from message grpc.tradeapi.v1.assets.Shortable
972
+ */
973
+ export declare type Shortable = Message<"grpc.tradeapi.v1.assets.Shortable"> & {
974
+ /**
975
+ * Статус инструмента
976
+ *
977
+ * @generated from field: grpc.tradeapi.v1.assets.Shortable.Status value = 1;
978
+ */
979
+ value: Shortable_Status;
980
+
981
+ /**
982
+ * Сколько дней действует запрет на операции в Шорт (если есть)
983
+ *
984
+ * @generated from field: int32 halted_days = 2;
985
+ */
986
+ haltedDays: number;
987
+ };
988
+
989
+ /**
990
+ * Describes the message grpc.tradeapi.v1.assets.Shortable.
991
+ * Use `create(ShortableSchema)` to create a new message.
992
+ */
993
+ export declare const ShortableSchema: GenMessage<Shortable>;
994
+
995
+ /**
996
+ * Статус
997
+ *
998
+ * @generated from enum grpc.tradeapi.v1.assets.Shortable.Status
999
+ */
1000
+ export enum Shortable_Status {
1001
+ /**
1002
+ * Не доступен
1003
+ *
1004
+ * @generated from enum value: NOT_AVAILABLE = 0;
1005
+ */
1006
+ NOT_AVAILABLE = 0,
1007
+
1008
+ /**
1009
+ * Доступен
1010
+ *
1011
+ * @generated from enum value: AVAILABLE = 1;
1012
+ */
1013
+ AVAILABLE = 1,
1014
+
1015
+ /**
1016
+ * Признак того, что бумага Hard To Borrow (если есть)
1017
+ *
1018
+ * @generated from enum value: HTB = 2;
1019
+ */
1020
+ HTB = 2,
1021
+
1022
+ /**
1023
+ * Запрещено на уровне счета
1024
+ *
1025
+ * @generated from enum value: ACCOUNT_NOT_APPROVED = 3;
1026
+ */
1027
+ ACCOUNT_NOT_APPROVED = 3,
1028
+
1029
+ /**
1030
+ * Разрешено в составе стратегии
1031
+ *
1032
+ * @generated from enum value: AVAILABLE_STRATEGY = 4;
1033
+ */
1034
+ AVAILABLE_STRATEGY = 4,
1035
+ }
1036
+
1037
+ /**
1038
+ * Describes the enum grpc.tradeapi.v1.assets.Shortable.Status.
1039
+ */
1040
+ export declare const Shortable_StatusSchema: GenEnum<Shortable_Status>;
1041
+
1042
+ /**
1043
+ * Запрос на получение состава индекса
1044
+ *
1045
+ * @generated from message grpc.tradeapi.v1.assets.GetConstituentsRequest
1046
+ */
1047
+ export declare type GetConstituentsRequest = Message<"grpc.tradeapi.v1.assets.GetConstituentsRequest"> & {
1048
+ /**
1049
+ * Символьный код индекса (например, "SPX@_SP", "NDX@_SCI")
1050
+ *
1051
+ * @generated from field: string symbol = 1;
1052
+ */
1053
+ symbol: string;
1054
+
1055
+ /**
1056
+ * Курсор для пагинации. Указывает sec_id инструмента, с которого должен начинаться список.
1057
+ * Для первого запроса оставьте поле пустым (значение 0).
1058
+ * Для последующих запросов используйте значение next_cursor из предыдущего ответа.
1059
+ *
1060
+ * @generated from field: int64 cursor = 2;
1061
+ */
1062
+ cursor: bigint;
1063
+ };
1064
+
1065
+ /**
1066
+ * Describes the message grpc.tradeapi.v1.assets.GetConstituentsRequest.
1067
+ * Use `create(GetConstituentsRequestSchema)` to create a new message.
1068
+ */
1069
+ export declare const GetConstituentsRequestSchema: GenMessage<GetConstituentsRequest>;
1070
+
1071
+ /**
1072
+ * Результат запроса состава индекса
1073
+ *
1074
+ * @generated from message grpc.tradeapi.v1.assets.GetConstituentsResponse
1075
+ */
1076
+ export declare type GetConstituentsResponse = Message<"grpc.tradeapi.v1.assets.GetConstituentsResponse"> & {
1077
+ /**
1078
+ * Список компонентов (ценных бумаг), входящих в базу расчета запрошенного индекса
1079
+ *
1080
+ * @generated from field: repeated grpc.tradeapi.v1.assets.Constituents constituents = 1;
1081
+ */
1082
+ constituents: Constituents[];
1083
+
1084
+ /**
1085
+ * Курсор для получения следующей страницы. Содержит sec_id последнего инструмента в текущем списке.
1086
+ * Передайте это значение в поле cursor следующего запроса, чтобы получить следующую часть данных.
1087
+ * Если значение 0 или отсутствует — это последняя страница
1088
+ *
1089
+ * @generated from field: int64 next_cursor = 2;
1090
+ */
1091
+ nextCursor: bigint;
1092
+ };
1093
+
1094
+ /**
1095
+ * Describes the message grpc.tradeapi.v1.assets.GetConstituentsResponse.
1096
+ * Use `create(GetConstituentsResponseSchema)` to create a new message.
1097
+ */
1098
+ export declare const GetConstituentsResponseSchema: GenMessage<GetConstituentsResponse>;
1099
+
1100
+ /**
1101
+ * Информация о компоненте (ценной бумаге), входящем в индекс
1102
+ *
1103
+ * @generated from message grpc.tradeapi.v1.assets.Constituents
1104
+ */
1105
+ export declare type Constituents = Message<"grpc.tradeapi.v1.assets.Constituents"> & {
1106
+ /**
1107
+ * Символьный код инструмента
1108
+ *
1109
+ * @generated from field: string symbol = 1;
1110
+ */
1111
+ symbol: string;
1112
+
1113
+ /**
1114
+ * Полное наименование компании-эмитента
1115
+ *
1116
+ * @generated from field: string name = 2;
1117
+ */
1118
+ name: string;
1119
+
1120
+ /**
1121
+ * Глобальный сектор экономики, к которому относится компания (например, "Technology", "Healthcare")
1122
+ *
1123
+ * @generated from field: string sector = 3;
1124
+ */
1125
+ sector: string;
1126
+
1127
+ /**
1128
+ * Отрасль (подотрасль) деятельности компании (например, "Software - Application")
1129
+ *
1130
+ * @generated from field: string sub_sector = 4;
1131
+ */
1132
+ subSector: string;
1133
+
1134
+ /**
1135
+ * Уникальный идентификатор компании в базе данных SEC США (Central Index Key)
1136
+ *
1137
+ * @generated from field: string cik = 5;
1138
+ */
1139
+ cik: string;
1140
+ };
1141
+
1142
+ /**
1143
+ * Describes the message grpc.tradeapi.v1.assets.Constituents.
1144
+ * Use `create(ConstituentsSchema)` to create a new message.
1145
+ */
1146
+ export declare const ConstituentsSchema: GenMessage<Constituents>;
1147
+
1148
+ /**
1149
+ * Допустимая цена
1150
+ *
1151
+ * @generated from enum grpc.tradeapi.v1.assets.PriceType
1152
+ */
1153
+ export enum PriceType {
1154
+ /**
1155
+ * Неизвестно
1156
+ *
1157
+ * @generated from enum value: UNKNOWN = 0;
1158
+ */
1159
+ UNKNOWN = 0,
1160
+
1161
+ /**
1162
+ * Положительная. Больше нуля
1163
+ *
1164
+ * @generated from enum value: POSITIVE = 1;
1165
+ */
1166
+ POSITIVE = 1,
1167
+
1168
+ /**
1169
+ * Неотрицательная. Больше или равна нулю
1170
+ *
1171
+ * @generated from enum value: NON_NEGATIVE = 2;
1172
+ */
1173
+ NON_NEGATIVE = 2,
1174
+
1175
+ /**
1176
+ * Любая
1177
+ *
1178
+ * @generated from enum value: ANY = 3;
1179
+ */
1180
+ ANY = 3,
1181
+ }
1182
+
1183
+ /**
1184
+ * Describes the enum grpc.tradeapi.v1.assets.PriceType.
1185
+ */
1186
+ export declare const PriceTypeSchema: GenEnum<PriceType>;
1187
+
1188
+ /**
1189
+ * Сервис инструментов
1190
+ *
1191
+ * @generated from service grpc.tradeapi.v1.assets.AssetsService
1192
+ */
1193
+ export declare const AssetsService: GenService<{
1194
+ /**
1195
+ * Получение списка доступных бирж, названия и mic коды
1196
+ * Пример HTTP запроса:
1197
+ * GET /v1/exchanges
1198
+ * Authorization: <token>
1199
+ *
1200
+ * @generated from rpc grpc.tradeapi.v1.assets.AssetsService.Exchanges
1201
+ */
1202
+ exchanges: {
1203
+ methodKind: "unary";
1204
+ input: typeof ExchangesRequestSchema;
1205
+ output: typeof ExchangesResponseSchema;
1206
+ },
1207
+ /**
1208
+ * Получение списка доступных для торговли инструментов, их описание
1209
+ * Пример HTTP запроса:
1210
+ * GET /v1/assets
1211
+ * Authorization: <token>
1212
+ *
1213
+ * @generated from rpc grpc.tradeapi.v1.assets.AssetsService.Assets
1214
+ * @deprecated
1215
+ */
1216
+ assets: {
1217
+ methodKind: "unary";
1218
+ input: typeof AssetsRequestSchema;
1219
+ output: typeof AssetsResponseSchema;
1220
+ },
1221
+ /**
1222
+ * Получение списка всех инструментов, в том числе индикативных и архивных, их описание
1223
+ * Пример HTTP запроса:
1224
+ * GET /v1/assets/all?cursor=56658&only_disabled=true
1225
+ * Authorization: <token>
1226
+ *
1227
+ * @generated from rpc grpc.tradeapi.v1.assets.AssetsService.AllAssets
1228
+ */
1229
+ allAssets: {
1230
+ methodKind: "unary";
1231
+ input: typeof AllAssetsRequestSchema;
1232
+ output: typeof AllAssetsResponseSchema;
1233
+ },
1234
+ /**
1235
+ * Получение информации по конкретному инструменту
1236
+ * Пример HTTP запроса:
1237
+ * GET /v1/assets/SBER@MISX?account_id=1440399
1238
+ * Authorization: <token>
1239
+ *
1240
+ * Параметры:
1241
+ * - symbol - передается в URL пути
1242
+ * - account_id - передаётся как query-параметр
1243
+ *
1244
+ * @generated from rpc grpc.tradeapi.v1.assets.AssetsService.GetAsset
1245
+ */
1246
+ getAsset: {
1247
+ methodKind: "unary";
1248
+ input: typeof GetAssetRequestSchema;
1249
+ output: typeof GetAssetResponseSchema;
1250
+ },
1251
+ /**
1252
+ * Получение торговых параметров по инструменту
1253
+ * Пример HTTP запроса:
1254
+ * GET /v1/assets/SBER@MISX/params?account_id=1440399
1255
+ * Authorization: <token>
1256
+ *
1257
+ * Параметры:
1258
+ * - symbol - передается в URL пути
1259
+ * - account_id - передаётся как query-параметр
1260
+ *
1261
+ * @generated from rpc grpc.tradeapi.v1.assets.AssetsService.GetAssetParams
1262
+ */
1263
+ getAssetParams: {
1264
+ methodKind: "unary";
1265
+ input: typeof GetAssetParamsRequestSchema;
1266
+ output: typeof GetAssetParamsResponseSchema;
1267
+ },
1268
+ /**
1269
+ * Получение цепочки опционов для базового актива
1270
+ * Пример HTTP запроса:
1271
+ * GET /v1/assets/SBER@MISX/options
1272
+ * Authorization: <token>
1273
+ *
1274
+ * @generated from rpc grpc.tradeapi.v1.assets.AssetsService.OptionsChain
1275
+ */
1276
+ optionsChain: {
1277
+ methodKind: "unary";
1278
+ input: typeof OptionsChainRequestSchema;
1279
+ output: typeof OptionsChainResponseSchema;
1280
+ },
1281
+ /**
1282
+ * Получение расписания торгов для инструмента
1283
+ * Пример HTTP запроса:
1284
+ * GET /v1/assets/SBER@MISX/schedule
1285
+ * Authorization: <token>
1286
+ *
1287
+ * @generated from rpc grpc.tradeapi.v1.assets.AssetsService.Schedule
1288
+ */
1289
+ schedule: {
1290
+ methodKind: "unary";
1291
+ input: typeof ScheduleRequestSchema;
1292
+ output: typeof ScheduleResponseSchema;
1293
+ },
1294
+ /**
1295
+ * Получение времени на сервере
1296
+ * Пример HTTP запроса:
1297
+ * GET /v1/assets/clock
1298
+ * Authorization: <token>
1299
+ *
1300
+ * @generated from rpc grpc.tradeapi.v1.assets.AssetsService.Clock
1301
+ */
1302
+ clock: {
1303
+ methodKind: "unary";
1304
+ input: typeof ClockRequestSchema;
1305
+ output: typeof ClockResponseSchema;
1306
+ },
1307
+ /**
1308
+ * Получить состав биржевого индекса по его символу
1309
+ *
1310
+ * @generated from rpc grpc.tradeapi.v1.assets.AssetsService.GetConstituents
1311
+ */
1312
+ getConstituents: {
1313
+ methodKind: "unary";
1314
+ input: typeof GetConstituentsRequestSchema;
1315
+ output: typeof GetConstituentsResponseSchema;
1316
+ },
1317
+ }>;
1318
+