@marleena/trb-proto 1.0.28 → 1.0.30
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.
- package/README.md +15 -3
- package/gen/js-ts/{tinvest → api/tinvest}/InstrumentsServiceClientPb.ts +432 -432
- package/gen/js-ts/{tinvest → api/tinvest}/MarketdataServiceClientPb.ts +98 -98
- package/gen/js-ts/{tinvest → api/tinvest}/OperationsServiceClientPb.ts +90 -90
- package/gen/js-ts/{tinvest → api/tinvest}/OrdersServiceClientPb.ts +94 -94
- package/gen/js-ts/{tinvest → api/tinvest}/SandboxServiceClientPb.ts +206 -206
- package/gen/js-ts/{tinvest → api/tinvest}/SignalsServiceClientPb.ts +22 -22
- package/gen/js-ts/{tinvest → api/tinvest}/StopordersServiceClientPb.ts +32 -32
- package/gen/js-ts/{tinvest → api/tinvest}/UsersServiceClientPb.ts +82 -82
- package/gen/js-ts/{tinvest → api/tinvest}/common_pb.js +1 -1
- package/gen/js-ts/{tinvest → api/tinvest}/instruments_pb.d.ts +560 -560
- package/gen/js-ts/{tinvest → api/tinvest}/instruments_pb.js +804 -804
- package/gen/js-ts/{tinvest → api/tinvest}/marketdata_pb.d.ts +104 -104
- package/gen/js-ts/{tinvest → api/tinvest}/marketdata_pb.js +154 -154
- package/gen/js-ts/{tinvest → api/tinvest}/operations_pb.d.ts +229 -229
- package/gen/js-ts/{tinvest → api/tinvest}/operations_pb.js +364 -364
- package/gen/js-ts/{tinvest → api/tinvest}/orders_pb.d.ts +153 -153
- package/gen/js-ts/{tinvest → api/tinvest}/orders_pb.js +226 -226
- package/gen/js-ts/{tinvest → api/tinvest}/sandbox_pb.d.ts +12 -12
- package/gen/js-ts/{tinvest → api/tinvest}/sandbox_pb.js +22 -22
- package/gen/js-ts/{tinvest → api/tinvest}/signals_pb.d.ts +32 -32
- package/gen/js-ts/{tinvest → api/tinvest}/signals_pb.js +54 -54
- package/gen/js-ts/{tinvest → api/tinvest}/stoporders_pb.d.ts +38 -38
- package/gen/js-ts/{tinvest → api/tinvest}/stoporders_pb.js +59 -59
- package/gen/js-ts/{tinvest → api/tinvest}/users_pb.d.ts +36 -36
- package/gen/js-ts/{tinvest → api/tinvest}/users_pb.js +59 -59
- package/gen/js-ts/clickhouse/AdminServiceClientPb.ts +1161 -0
- package/gen/js-ts/clickhouse/ClickhouseServiceClientPb.ts +216 -0
- package/gen/js-ts/{api/clickhouse/manager_pb.d.ts → clickhouse/admin_pb.d.ts} +2 -2
- package/gen/js-ts/{api/clickhouse/manager_pb.js → clickhouse/admin_pb.js} +1551 -1551
- package/gen/js-ts/{api/db_api/db_api_pb.d.ts → clickhouse/clickhouse_pb.d.ts} +8 -158
- package/gen/js-ts/clickhouse/clickhouse_pb.js +2440 -0
- package/gen/js-ts/nats/NatsServiceClientPb.ts +1032 -0
- package/gen/js-ts/{api/nats/manager_pb.d.ts → nats/nats_pb.d.ts} +1 -1
- package/gen/js-ts/{api/nats/manager_pb.js → nats/nats_pb.js} +1784 -1784
- package/gen/js-ts/postgresql/AdminServiceClientPb.ts +1591 -0
- package/gen/js-ts/postgresql/PostgresqlServiceClientPb.ts +129 -0
- package/gen/js-ts/postgresql/admin_pb.d.ts +1895 -0
- package/gen/js-ts/postgresql/admin_pb.js +15465 -0
- package/gen/js-ts/postgresql/postgresql_pb.d.ts +156 -0
- package/gen/js-ts/postgresql/postgresql_pb.js +1311 -0
- package/gen/js-ts/{api/test → test}/TestServiceClientPb.ts +16 -16
- package/gen/js-ts/{api/test → test}/test_pb.d.ts +5 -5
- package/gen/js-ts/{api/test → test}/test_pb.js +58 -58
- package/package.json +1 -1
- package/gen/js-ts/api/clickhouse/ManagerServiceClientPb.ts +0 -1161
- package/gen/js-ts/api/db_api/Db_apiServiceClientPb.ts +0 -302
- package/gen/js-ts/api/db_api/db_api_pb.js +0 -3723
- package/gen/js-ts/api/nats/ManagerServiceClientPb.ts +0 -1032
- /package/gen/js-ts/{tinvest → api/tinvest}/common_pb.d.ts +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as jspb from 'google-protobuf'
|
|
2
2
|
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as api_tinvest_common_pb from '../../api/tinvest/common_pb'; // proto import: "api/tinvest/common.proto"
|
|
4
|
+
import * as api_tinvest_stoporders_pb from '../../api/tinvest/stoporders_pb'; // proto import: "api/tinvest/stoporders.proto"
|
|
5
5
|
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb'; // proto import: "google/protobuf/timestamp.proto"
|
|
6
|
-
import * as google_api_field_behavior_pb from '
|
|
6
|
+
import * as google_api_field_behavior_pb from '../../google/api/field_behavior_pb'; // proto import: "google/api/field_behavior.proto"
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
export class TradesStreamRequest extends jspb.Message {
|
|
@@ -43,8 +43,8 @@ export class TradesStreamResponse extends jspb.Message {
|
|
|
43
43
|
hasOrderTrades(): boolean;
|
|
44
44
|
clearOrderTrades(): TradesStreamResponse;
|
|
45
45
|
|
|
46
|
-
getPing():
|
|
47
|
-
setPing(value?:
|
|
46
|
+
getPing(): api_tinvest_common_pb.Ping | undefined;
|
|
47
|
+
setPing(value?: api_tinvest_common_pb.Ping): TradesStreamResponse;
|
|
48
48
|
hasPing(): boolean;
|
|
49
49
|
clearPing(): TradesStreamResponse;
|
|
50
50
|
|
|
@@ -66,7 +66,7 @@ export class TradesStreamResponse extends jspb.Message {
|
|
|
66
66
|
export namespace TradesStreamResponse {
|
|
67
67
|
export type AsObject = {
|
|
68
68
|
orderTrades?: OrderTrades.AsObject,
|
|
69
|
-
ping?:
|
|
69
|
+
ping?: api_tinvest_common_pb.Ping.AsObject,
|
|
70
70
|
subscription?: SubscriptionResponse.AsObject,
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -130,8 +130,8 @@ export class OrderTrade extends jspb.Message {
|
|
|
130
130
|
hasDateTime(): boolean;
|
|
131
131
|
clearDateTime(): OrderTrade;
|
|
132
132
|
|
|
133
|
-
getPrice():
|
|
134
|
-
setPrice(value?:
|
|
133
|
+
getPrice(): api_tinvest_common_pb.Quotation | undefined;
|
|
134
|
+
setPrice(value?: api_tinvest_common_pb.Quotation): OrderTrade;
|
|
135
135
|
hasPrice(): boolean;
|
|
136
136
|
clearPrice(): OrderTrade;
|
|
137
137
|
|
|
@@ -152,7 +152,7 @@ export class OrderTrade extends jspb.Message {
|
|
|
152
152
|
export namespace OrderTrade {
|
|
153
153
|
export type AsObject = {
|
|
154
154
|
dateTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
155
|
-
price?:
|
|
155
|
+
price?: api_tinvest_common_pb.Quotation.AsObject,
|
|
156
156
|
quantity: number,
|
|
157
157
|
tradeId: string,
|
|
158
158
|
}
|
|
@@ -167,8 +167,8 @@ export class PostOrderRequest extends jspb.Message {
|
|
|
167
167
|
getQuantity(): number;
|
|
168
168
|
setQuantity(value: number): PostOrderRequest;
|
|
169
169
|
|
|
170
|
-
getPrice():
|
|
171
|
-
setPrice(value?:
|
|
170
|
+
getPrice(): api_tinvest_common_pb.Quotation | undefined;
|
|
171
|
+
setPrice(value?: api_tinvest_common_pb.Quotation): PostOrderRequest;
|
|
172
172
|
hasPrice(): boolean;
|
|
173
173
|
clearPrice(): PostOrderRequest;
|
|
174
174
|
|
|
@@ -190,8 +190,8 @@ export class PostOrderRequest extends jspb.Message {
|
|
|
190
190
|
getTimeInForce(): TimeInForceType;
|
|
191
191
|
setTimeInForce(value: TimeInForceType): PostOrderRequest;
|
|
192
192
|
|
|
193
|
-
getPriceType():
|
|
194
|
-
setPriceType(value:
|
|
193
|
+
getPriceType(): api_tinvest_common_pb.PriceType;
|
|
194
|
+
setPriceType(value: api_tinvest_common_pb.PriceType): PostOrderRequest;
|
|
195
195
|
|
|
196
196
|
getConfirmMarginTrade(): boolean;
|
|
197
197
|
setConfirmMarginTrade(value: boolean): PostOrderRequest;
|
|
@@ -208,14 +208,14 @@ export namespace PostOrderRequest {
|
|
|
208
208
|
export type AsObject = {
|
|
209
209
|
figi?: string,
|
|
210
210
|
quantity: number,
|
|
211
|
-
price?:
|
|
211
|
+
price?: api_tinvest_common_pb.Quotation.AsObject,
|
|
212
212
|
direction: OrderDirection,
|
|
213
213
|
accountId: string,
|
|
214
214
|
orderType: OrderType,
|
|
215
215
|
orderId: string,
|
|
216
216
|
instrumentId: string,
|
|
217
217
|
timeInForce: TimeInForceType,
|
|
218
|
-
priceType:
|
|
218
|
+
priceType: api_tinvest_common_pb.PriceType,
|
|
219
219
|
confirmMarginTrade: boolean,
|
|
220
220
|
}
|
|
221
221
|
|
|
@@ -243,33 +243,33 @@ export class PostOrderResponse extends jspb.Message {
|
|
|
243
243
|
getLotsExecuted(): number;
|
|
244
244
|
setLotsExecuted(value: number): PostOrderResponse;
|
|
245
245
|
|
|
246
|
-
getInitialOrderPrice():
|
|
247
|
-
setInitialOrderPrice(value?:
|
|
246
|
+
getInitialOrderPrice(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
247
|
+
setInitialOrderPrice(value?: api_tinvest_common_pb.MoneyValue): PostOrderResponse;
|
|
248
248
|
hasInitialOrderPrice(): boolean;
|
|
249
249
|
clearInitialOrderPrice(): PostOrderResponse;
|
|
250
250
|
|
|
251
|
-
getExecutedOrderPrice():
|
|
252
|
-
setExecutedOrderPrice(value?:
|
|
251
|
+
getExecutedOrderPrice(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
252
|
+
setExecutedOrderPrice(value?: api_tinvest_common_pb.MoneyValue): PostOrderResponse;
|
|
253
253
|
hasExecutedOrderPrice(): boolean;
|
|
254
254
|
clearExecutedOrderPrice(): PostOrderResponse;
|
|
255
255
|
|
|
256
|
-
getTotalOrderAmount():
|
|
257
|
-
setTotalOrderAmount(value?:
|
|
256
|
+
getTotalOrderAmount(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
257
|
+
setTotalOrderAmount(value?: api_tinvest_common_pb.MoneyValue): PostOrderResponse;
|
|
258
258
|
hasTotalOrderAmount(): boolean;
|
|
259
259
|
clearTotalOrderAmount(): PostOrderResponse;
|
|
260
260
|
|
|
261
|
-
getInitialCommission():
|
|
262
|
-
setInitialCommission(value?:
|
|
261
|
+
getInitialCommission(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
262
|
+
setInitialCommission(value?: api_tinvest_common_pb.MoneyValue): PostOrderResponse;
|
|
263
263
|
hasInitialCommission(): boolean;
|
|
264
264
|
clearInitialCommission(): PostOrderResponse;
|
|
265
265
|
|
|
266
|
-
getExecutedCommission():
|
|
267
|
-
setExecutedCommission(value?:
|
|
266
|
+
getExecutedCommission(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
267
|
+
setExecutedCommission(value?: api_tinvest_common_pb.MoneyValue): PostOrderResponse;
|
|
268
268
|
hasExecutedCommission(): boolean;
|
|
269
269
|
clearExecutedCommission(): PostOrderResponse;
|
|
270
270
|
|
|
271
|
-
getAciValue():
|
|
272
|
-
setAciValue(value?:
|
|
271
|
+
getAciValue(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
272
|
+
setAciValue(value?: api_tinvest_common_pb.MoneyValue): PostOrderResponse;
|
|
273
273
|
hasAciValue(): boolean;
|
|
274
274
|
clearAciValue(): PostOrderResponse;
|
|
275
275
|
|
|
@@ -279,8 +279,8 @@ export class PostOrderResponse extends jspb.Message {
|
|
|
279
279
|
getDirection(): OrderDirection;
|
|
280
280
|
setDirection(value: OrderDirection): PostOrderResponse;
|
|
281
281
|
|
|
282
|
-
getInitialSecurityPrice():
|
|
283
|
-
setInitialSecurityPrice(value?:
|
|
282
|
+
getInitialSecurityPrice(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
283
|
+
setInitialSecurityPrice(value?: api_tinvest_common_pb.MoneyValue): PostOrderResponse;
|
|
284
284
|
hasInitialSecurityPrice(): boolean;
|
|
285
285
|
clearInitialSecurityPrice(): PostOrderResponse;
|
|
286
286
|
|
|
@@ -290,8 +290,8 @@ export class PostOrderResponse extends jspb.Message {
|
|
|
290
290
|
getMessage(): string;
|
|
291
291
|
setMessage(value: string): PostOrderResponse;
|
|
292
292
|
|
|
293
|
-
getInitialOrderPricePt():
|
|
294
|
-
setInitialOrderPricePt(value?:
|
|
293
|
+
getInitialOrderPricePt(): api_tinvest_common_pb.Quotation | undefined;
|
|
294
|
+
setInitialOrderPricePt(value?: api_tinvest_common_pb.Quotation): PostOrderResponse;
|
|
295
295
|
hasInitialOrderPricePt(): boolean;
|
|
296
296
|
clearInitialOrderPricePt(): PostOrderResponse;
|
|
297
297
|
|
|
@@ -307,8 +307,8 @@ export class PostOrderResponse extends jspb.Message {
|
|
|
307
307
|
getOrderRequestId(): string;
|
|
308
308
|
setOrderRequestId(value: string): PostOrderResponse;
|
|
309
309
|
|
|
310
|
-
getResponseMetadata():
|
|
311
|
-
setResponseMetadata(value?:
|
|
310
|
+
getResponseMetadata(): api_tinvest_common_pb.ResponseMetadata | undefined;
|
|
311
|
+
setResponseMetadata(value?: api_tinvest_common_pb.ResponseMetadata): PostOrderResponse;
|
|
312
312
|
hasResponseMetadata(): boolean;
|
|
313
313
|
clearResponseMetadata(): PostOrderResponse;
|
|
314
314
|
|
|
@@ -326,23 +326,23 @@ export namespace PostOrderResponse {
|
|
|
326
326
|
executionReportStatus: OrderExecutionReportStatus,
|
|
327
327
|
lotsRequested: number,
|
|
328
328
|
lotsExecuted: number,
|
|
329
|
-
initialOrderPrice?:
|
|
330
|
-
executedOrderPrice?:
|
|
331
|
-
totalOrderAmount?:
|
|
332
|
-
initialCommission?:
|
|
333
|
-
executedCommission?:
|
|
334
|
-
aciValue?:
|
|
329
|
+
initialOrderPrice?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
330
|
+
executedOrderPrice?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
331
|
+
totalOrderAmount?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
332
|
+
initialCommission?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
333
|
+
executedCommission?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
334
|
+
aciValue?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
335
335
|
figi: string,
|
|
336
336
|
direction: OrderDirection,
|
|
337
|
-
initialSecurityPrice?:
|
|
337
|
+
initialSecurityPrice?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
338
338
|
orderType: OrderType,
|
|
339
339
|
message: string,
|
|
340
|
-
initialOrderPricePt?:
|
|
340
|
+
initialOrderPricePt?: api_tinvest_common_pb.Quotation.AsObject,
|
|
341
341
|
instrumentUid: string,
|
|
342
342
|
ticker: string,
|
|
343
343
|
classCode: string,
|
|
344
344
|
orderRequestId: string,
|
|
345
|
-
responseMetadata?:
|
|
345
|
+
responseMetadata?: api_tinvest_common_pb.ResponseMetadata.AsObject,
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
|
|
@@ -353,8 +353,8 @@ export class PostOrderAsyncRequest extends jspb.Message {
|
|
|
353
353
|
getQuantity(): number;
|
|
354
354
|
setQuantity(value: number): PostOrderAsyncRequest;
|
|
355
355
|
|
|
356
|
-
getPrice():
|
|
357
|
-
setPrice(value?:
|
|
356
|
+
getPrice(): api_tinvest_common_pb.Quotation | undefined;
|
|
357
|
+
setPrice(value?: api_tinvest_common_pb.Quotation): PostOrderAsyncRequest;
|
|
358
358
|
hasPrice(): boolean;
|
|
359
359
|
clearPrice(): PostOrderAsyncRequest;
|
|
360
360
|
|
|
@@ -375,8 +375,8 @@ export class PostOrderAsyncRequest extends jspb.Message {
|
|
|
375
375
|
hasTimeInForce(): boolean;
|
|
376
376
|
clearTimeInForce(): PostOrderAsyncRequest;
|
|
377
377
|
|
|
378
|
-
getPriceType():
|
|
379
|
-
setPriceType(value:
|
|
378
|
+
getPriceType(): api_tinvest_common_pb.PriceType;
|
|
379
|
+
setPriceType(value: api_tinvest_common_pb.PriceType): PostOrderAsyncRequest;
|
|
380
380
|
hasPriceType(): boolean;
|
|
381
381
|
clearPriceType(): PostOrderAsyncRequest;
|
|
382
382
|
|
|
@@ -395,13 +395,13 @@ export namespace PostOrderAsyncRequest {
|
|
|
395
395
|
export type AsObject = {
|
|
396
396
|
instrumentId: string,
|
|
397
397
|
quantity: number,
|
|
398
|
-
price?:
|
|
398
|
+
price?: api_tinvest_common_pb.Quotation.AsObject,
|
|
399
399
|
direction: OrderDirection,
|
|
400
400
|
accountId: string,
|
|
401
401
|
orderType: OrderType,
|
|
402
402
|
orderId: string,
|
|
403
403
|
timeInForce?: TimeInForceType,
|
|
404
|
-
priceType?:
|
|
404
|
+
priceType?: api_tinvest_common_pb.PriceType,
|
|
405
405
|
confirmMarginTrade: boolean,
|
|
406
406
|
}
|
|
407
407
|
|
|
@@ -493,8 +493,8 @@ export class CancelOrderResponse extends jspb.Message {
|
|
|
493
493
|
hasTime(): boolean;
|
|
494
494
|
clearTime(): CancelOrderResponse;
|
|
495
495
|
|
|
496
|
-
getResponseMetadata():
|
|
497
|
-
setResponseMetadata(value?:
|
|
496
|
+
getResponseMetadata(): api_tinvest_common_pb.ResponseMetadata | undefined;
|
|
497
|
+
setResponseMetadata(value?: api_tinvest_common_pb.ResponseMetadata): CancelOrderResponse;
|
|
498
498
|
hasResponseMetadata(): boolean;
|
|
499
499
|
clearResponseMetadata(): CancelOrderResponse;
|
|
500
500
|
|
|
@@ -509,7 +509,7 @@ export class CancelOrderResponse extends jspb.Message {
|
|
|
509
509
|
export namespace CancelOrderResponse {
|
|
510
510
|
export type AsObject = {
|
|
511
511
|
time?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
512
|
-
responseMetadata?:
|
|
512
|
+
responseMetadata?: api_tinvest_common_pb.ResponseMetadata.AsObject,
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
|
|
@@ -520,8 +520,8 @@ export class GetOrderStateRequest extends jspb.Message {
|
|
|
520
520
|
getOrderId(): string;
|
|
521
521
|
setOrderId(value: string): GetOrderStateRequest;
|
|
522
522
|
|
|
523
|
-
getPriceType():
|
|
524
|
-
setPriceType(value:
|
|
523
|
+
getPriceType(): api_tinvest_common_pb.PriceType;
|
|
524
|
+
setPriceType(value: api_tinvest_common_pb.PriceType): GetOrderStateRequest;
|
|
525
525
|
|
|
526
526
|
getOrderIdType(): OrderIdType;
|
|
527
527
|
setOrderIdType(value: OrderIdType): GetOrderStateRequest;
|
|
@@ -540,7 +540,7 @@ export namespace GetOrderStateRequest {
|
|
|
540
540
|
export type AsObject = {
|
|
541
541
|
accountId: string,
|
|
542
542
|
orderId: string,
|
|
543
|
-
priceType:
|
|
543
|
+
priceType: api_tinvest_common_pb.PriceType,
|
|
544
544
|
orderIdType?: OrderIdType,
|
|
545
545
|
}
|
|
546
546
|
|
|
@@ -655,33 +655,33 @@ export class OrderState extends jspb.Message {
|
|
|
655
655
|
getLotsExecuted(): number;
|
|
656
656
|
setLotsExecuted(value: number): OrderState;
|
|
657
657
|
|
|
658
|
-
getInitialOrderPrice():
|
|
659
|
-
setInitialOrderPrice(value?:
|
|
658
|
+
getInitialOrderPrice(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
659
|
+
setInitialOrderPrice(value?: api_tinvest_common_pb.MoneyValue): OrderState;
|
|
660
660
|
hasInitialOrderPrice(): boolean;
|
|
661
661
|
clearInitialOrderPrice(): OrderState;
|
|
662
662
|
|
|
663
|
-
getExecutedOrderPrice():
|
|
664
|
-
setExecutedOrderPrice(value?:
|
|
663
|
+
getExecutedOrderPrice(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
664
|
+
setExecutedOrderPrice(value?: api_tinvest_common_pb.MoneyValue): OrderState;
|
|
665
665
|
hasExecutedOrderPrice(): boolean;
|
|
666
666
|
clearExecutedOrderPrice(): OrderState;
|
|
667
667
|
|
|
668
|
-
getTotalOrderAmount():
|
|
669
|
-
setTotalOrderAmount(value?:
|
|
668
|
+
getTotalOrderAmount(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
669
|
+
setTotalOrderAmount(value?: api_tinvest_common_pb.MoneyValue): OrderState;
|
|
670
670
|
hasTotalOrderAmount(): boolean;
|
|
671
671
|
clearTotalOrderAmount(): OrderState;
|
|
672
672
|
|
|
673
|
-
getAveragePositionPrice():
|
|
674
|
-
setAveragePositionPrice(value?:
|
|
673
|
+
getAveragePositionPrice(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
674
|
+
setAveragePositionPrice(value?: api_tinvest_common_pb.MoneyValue): OrderState;
|
|
675
675
|
hasAveragePositionPrice(): boolean;
|
|
676
676
|
clearAveragePositionPrice(): OrderState;
|
|
677
677
|
|
|
678
|
-
getInitialCommission():
|
|
679
|
-
setInitialCommission(value?:
|
|
678
|
+
getInitialCommission(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
679
|
+
setInitialCommission(value?: api_tinvest_common_pb.MoneyValue): OrderState;
|
|
680
680
|
hasInitialCommission(): boolean;
|
|
681
681
|
clearInitialCommission(): OrderState;
|
|
682
682
|
|
|
683
|
-
getExecutedCommission():
|
|
684
|
-
setExecutedCommission(value?:
|
|
683
|
+
getExecutedCommission(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
684
|
+
setExecutedCommission(value?: api_tinvest_common_pb.MoneyValue): OrderState;
|
|
685
685
|
hasExecutedCommission(): boolean;
|
|
686
686
|
clearExecutedCommission(): OrderState;
|
|
687
687
|
|
|
@@ -691,8 +691,8 @@ export class OrderState extends jspb.Message {
|
|
|
691
691
|
getDirection(): OrderDirection;
|
|
692
692
|
setDirection(value: OrderDirection): OrderState;
|
|
693
693
|
|
|
694
|
-
getInitialSecurityPrice():
|
|
695
|
-
setInitialSecurityPrice(value?:
|
|
694
|
+
getInitialSecurityPrice(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
695
|
+
setInitialSecurityPrice(value?: api_tinvest_common_pb.MoneyValue): OrderState;
|
|
696
696
|
hasInitialSecurityPrice(): boolean;
|
|
697
697
|
clearInitialSecurityPrice(): OrderState;
|
|
698
698
|
|
|
@@ -701,8 +701,8 @@ export class OrderState extends jspb.Message {
|
|
|
701
701
|
clearStagesList(): OrderState;
|
|
702
702
|
addStages(value?: OrderStage, index?: number): OrderStage;
|
|
703
703
|
|
|
704
|
-
getServiceCommission():
|
|
705
|
-
setServiceCommission(value?:
|
|
704
|
+
getServiceCommission(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
705
|
+
setServiceCommission(value?: api_tinvest_common_pb.MoneyValue): OrderState;
|
|
706
706
|
hasServiceCommission(): boolean;
|
|
707
707
|
clearServiceCommission(): OrderState;
|
|
708
708
|
|
|
@@ -743,17 +743,17 @@ export namespace OrderState {
|
|
|
743
743
|
executionReportStatus: OrderExecutionReportStatus,
|
|
744
744
|
lotsRequested: number,
|
|
745
745
|
lotsExecuted: number,
|
|
746
|
-
initialOrderPrice?:
|
|
747
|
-
executedOrderPrice?:
|
|
748
|
-
totalOrderAmount?:
|
|
749
|
-
averagePositionPrice?:
|
|
750
|
-
initialCommission?:
|
|
751
|
-
executedCommission?:
|
|
746
|
+
initialOrderPrice?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
747
|
+
executedOrderPrice?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
748
|
+
totalOrderAmount?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
749
|
+
averagePositionPrice?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
750
|
+
initialCommission?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
751
|
+
executedCommission?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
752
752
|
figi: string,
|
|
753
753
|
direction: OrderDirection,
|
|
754
|
-
initialSecurityPrice?:
|
|
754
|
+
initialSecurityPrice?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
755
755
|
stagesList: Array<OrderStage.AsObject>,
|
|
756
|
-
serviceCommission?:
|
|
756
|
+
serviceCommission?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
757
757
|
currency: string,
|
|
758
758
|
orderType: OrderType,
|
|
759
759
|
orderDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
@@ -765,8 +765,8 @@ export namespace OrderState {
|
|
|
765
765
|
}
|
|
766
766
|
|
|
767
767
|
export class OrderStage extends jspb.Message {
|
|
768
|
-
getPrice():
|
|
769
|
-
setPrice(value?:
|
|
768
|
+
getPrice(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
769
|
+
setPrice(value?: api_tinvest_common_pb.MoneyValue): OrderStage;
|
|
770
770
|
hasPrice(): boolean;
|
|
771
771
|
clearPrice(): OrderStage;
|
|
772
772
|
|
|
@@ -791,7 +791,7 @@ export class OrderStage extends jspb.Message {
|
|
|
791
791
|
|
|
792
792
|
export namespace OrderStage {
|
|
793
793
|
export type AsObject = {
|
|
794
|
-
price?:
|
|
794
|
+
price?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
795
795
|
quantity: number,
|
|
796
796
|
tradeId: string,
|
|
797
797
|
executionTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
@@ -816,13 +816,13 @@ export class ReplaceOrderRequest extends jspb.Message {
|
|
|
816
816
|
getQuantity(): number;
|
|
817
817
|
setQuantity(value: number): ReplaceOrderRequest;
|
|
818
818
|
|
|
819
|
-
getPrice():
|
|
820
|
-
setPrice(value?:
|
|
819
|
+
getPrice(): api_tinvest_common_pb.Quotation | undefined;
|
|
820
|
+
setPrice(value?: api_tinvest_common_pb.Quotation): ReplaceOrderRequest;
|
|
821
821
|
hasPrice(): boolean;
|
|
822
822
|
clearPrice(): ReplaceOrderRequest;
|
|
823
823
|
|
|
824
|
-
getPriceType():
|
|
825
|
-
setPriceType(value:
|
|
824
|
+
getPriceType(): api_tinvest_common_pb.PriceType;
|
|
825
|
+
setPriceType(value: api_tinvest_common_pb.PriceType): ReplaceOrderRequest;
|
|
826
826
|
hasPriceType(): boolean;
|
|
827
827
|
clearPriceType(): ReplaceOrderRequest;
|
|
828
828
|
|
|
@@ -844,8 +844,8 @@ export namespace ReplaceOrderRequest {
|
|
|
844
844
|
orderId: string,
|
|
845
845
|
idempotencyKey: string,
|
|
846
846
|
quantity: number,
|
|
847
|
-
price?:
|
|
848
|
-
priceType?:
|
|
847
|
+
price?: api_tinvest_common_pb.Quotation.AsObject,
|
|
848
|
+
priceType?: api_tinvest_common_pb.PriceType,
|
|
849
849
|
confirmMarginTrade: boolean,
|
|
850
850
|
}
|
|
851
851
|
|
|
@@ -872,8 +872,8 @@ export class GetMaxLotsRequest extends jspb.Message {
|
|
|
872
872
|
getInstrumentId(): string;
|
|
873
873
|
setInstrumentId(value: string): GetMaxLotsRequest;
|
|
874
874
|
|
|
875
|
-
getPrice():
|
|
876
|
-
setPrice(value?:
|
|
875
|
+
getPrice(): api_tinvest_common_pb.Quotation | undefined;
|
|
876
|
+
setPrice(value?: api_tinvest_common_pb.Quotation): GetMaxLotsRequest;
|
|
877
877
|
hasPrice(): boolean;
|
|
878
878
|
clearPrice(): GetMaxLotsRequest;
|
|
879
879
|
|
|
@@ -889,7 +889,7 @@ export namespace GetMaxLotsRequest {
|
|
|
889
889
|
export type AsObject = {
|
|
890
890
|
accountId: string,
|
|
891
891
|
instrumentId: string,
|
|
892
|
-
price?:
|
|
892
|
+
price?: api_tinvest_common_pb.Quotation.AsObject,
|
|
893
893
|
}
|
|
894
894
|
|
|
895
895
|
export enum PriceCase {
|
|
@@ -940,8 +940,8 @@ export namespace GetMaxLotsResponse {
|
|
|
940
940
|
}
|
|
941
941
|
|
|
942
942
|
export class BuyLimitsView extends jspb.Message {
|
|
943
|
-
getBuyMoneyAmount():
|
|
944
|
-
setBuyMoneyAmount(value?:
|
|
943
|
+
getBuyMoneyAmount(): api_tinvest_common_pb.Quotation | undefined;
|
|
944
|
+
setBuyMoneyAmount(value?: api_tinvest_common_pb.Quotation): BuyLimitsView;
|
|
945
945
|
hasBuyMoneyAmount(): boolean;
|
|
946
946
|
clearBuyMoneyAmount(): BuyLimitsView;
|
|
947
947
|
|
|
@@ -961,7 +961,7 @@ export namespace GetMaxLotsResponse {
|
|
|
961
961
|
|
|
962
962
|
export namespace BuyLimitsView {
|
|
963
963
|
export type AsObject = {
|
|
964
|
-
buyMoneyAmount?:
|
|
964
|
+
buyMoneyAmount?: api_tinvest_common_pb.Quotation.AsObject,
|
|
965
965
|
buyMaxLots: number,
|
|
966
966
|
buyMaxMarketLots: number,
|
|
967
967
|
}
|
|
@@ -995,8 +995,8 @@ export class GetOrderPriceRequest extends jspb.Message {
|
|
|
995
995
|
getInstrumentId(): string;
|
|
996
996
|
setInstrumentId(value: string): GetOrderPriceRequest;
|
|
997
997
|
|
|
998
|
-
getPrice():
|
|
999
|
-
setPrice(value?:
|
|
998
|
+
getPrice(): api_tinvest_common_pb.Quotation | undefined;
|
|
999
|
+
setPrice(value?: api_tinvest_common_pb.Quotation): GetOrderPriceRequest;
|
|
1000
1000
|
hasPrice(): boolean;
|
|
1001
1001
|
clearPrice(): GetOrderPriceRequest;
|
|
1002
1002
|
|
|
@@ -1018,43 +1018,43 @@ export namespace GetOrderPriceRequest {
|
|
|
1018
1018
|
export type AsObject = {
|
|
1019
1019
|
accountId: string,
|
|
1020
1020
|
instrumentId: string,
|
|
1021
|
-
price?:
|
|
1021
|
+
price?: api_tinvest_common_pb.Quotation.AsObject,
|
|
1022
1022
|
direction: OrderDirection,
|
|
1023
1023
|
quantity: number,
|
|
1024
1024
|
}
|
|
1025
1025
|
}
|
|
1026
1026
|
|
|
1027
1027
|
export class GetOrderPriceResponse extends jspb.Message {
|
|
1028
|
-
getTotalOrderAmount():
|
|
1029
|
-
setTotalOrderAmount(value?:
|
|
1028
|
+
getTotalOrderAmount(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
1029
|
+
setTotalOrderAmount(value?: api_tinvest_common_pb.MoneyValue): GetOrderPriceResponse;
|
|
1030
1030
|
hasTotalOrderAmount(): boolean;
|
|
1031
1031
|
clearTotalOrderAmount(): GetOrderPriceResponse;
|
|
1032
1032
|
|
|
1033
|
-
getInitialOrderAmount():
|
|
1034
|
-
setInitialOrderAmount(value?:
|
|
1033
|
+
getInitialOrderAmount(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
1034
|
+
setInitialOrderAmount(value?: api_tinvest_common_pb.MoneyValue): GetOrderPriceResponse;
|
|
1035
1035
|
hasInitialOrderAmount(): boolean;
|
|
1036
1036
|
clearInitialOrderAmount(): GetOrderPriceResponse;
|
|
1037
1037
|
|
|
1038
1038
|
getLotsRequested(): number;
|
|
1039
1039
|
setLotsRequested(value: number): GetOrderPriceResponse;
|
|
1040
1040
|
|
|
1041
|
-
getExecutedCommission():
|
|
1042
|
-
setExecutedCommission(value?:
|
|
1041
|
+
getExecutedCommission(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
1042
|
+
setExecutedCommission(value?: api_tinvest_common_pb.MoneyValue): GetOrderPriceResponse;
|
|
1043
1043
|
hasExecutedCommission(): boolean;
|
|
1044
1044
|
clearExecutedCommission(): GetOrderPriceResponse;
|
|
1045
1045
|
|
|
1046
|
-
getExecutedCommissionRub():
|
|
1047
|
-
setExecutedCommissionRub(value?:
|
|
1046
|
+
getExecutedCommissionRub(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
1047
|
+
setExecutedCommissionRub(value?: api_tinvest_common_pb.MoneyValue): GetOrderPriceResponse;
|
|
1048
1048
|
hasExecutedCommissionRub(): boolean;
|
|
1049
1049
|
clearExecutedCommissionRub(): GetOrderPriceResponse;
|
|
1050
1050
|
|
|
1051
|
-
getServiceCommission():
|
|
1052
|
-
setServiceCommission(value?:
|
|
1051
|
+
getServiceCommission(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
1052
|
+
setServiceCommission(value?: api_tinvest_common_pb.MoneyValue): GetOrderPriceResponse;
|
|
1053
1053
|
hasServiceCommission(): boolean;
|
|
1054
1054
|
clearServiceCommission(): GetOrderPriceResponse;
|
|
1055
1055
|
|
|
1056
|
-
getDealCommission():
|
|
1057
|
-
setDealCommission(value?:
|
|
1056
|
+
getDealCommission(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
1057
|
+
setDealCommission(value?: api_tinvest_common_pb.MoneyValue): GetOrderPriceResponse;
|
|
1058
1058
|
hasDealCommission(): boolean;
|
|
1059
1059
|
clearDealCommission(): GetOrderPriceResponse;
|
|
1060
1060
|
|
|
@@ -1080,25 +1080,25 @@ export class GetOrderPriceResponse extends jspb.Message {
|
|
|
1080
1080
|
|
|
1081
1081
|
export namespace GetOrderPriceResponse {
|
|
1082
1082
|
export type AsObject = {
|
|
1083
|
-
totalOrderAmount?:
|
|
1084
|
-
initialOrderAmount?:
|
|
1083
|
+
totalOrderAmount?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
1084
|
+
initialOrderAmount?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
1085
1085
|
lotsRequested: number,
|
|
1086
|
-
executedCommission?:
|
|
1087
|
-
executedCommissionRub?:
|
|
1088
|
-
serviceCommission?:
|
|
1089
|
-
dealCommission?:
|
|
1086
|
+
executedCommission?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
1087
|
+
executedCommissionRub?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
1088
|
+
serviceCommission?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
1089
|
+
dealCommission?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
1090
1090
|
extraBond?: GetOrderPriceResponse.ExtraBond.AsObject,
|
|
1091
1091
|
extraFuture?: GetOrderPriceResponse.ExtraFuture.AsObject,
|
|
1092
1092
|
}
|
|
1093
1093
|
|
|
1094
1094
|
export class ExtraBond extends jspb.Message {
|
|
1095
|
-
getAciValue():
|
|
1096
|
-
setAciValue(value?:
|
|
1095
|
+
getAciValue(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
1096
|
+
setAciValue(value?: api_tinvest_common_pb.MoneyValue): ExtraBond;
|
|
1097
1097
|
hasAciValue(): boolean;
|
|
1098
1098
|
clearAciValue(): ExtraBond;
|
|
1099
1099
|
|
|
1100
|
-
getNominalConversionRate():
|
|
1101
|
-
setNominalConversionRate(value?:
|
|
1100
|
+
getNominalConversionRate(): api_tinvest_common_pb.Quotation | undefined;
|
|
1101
|
+
setNominalConversionRate(value?: api_tinvest_common_pb.Quotation): ExtraBond;
|
|
1102
1102
|
hasNominalConversionRate(): boolean;
|
|
1103
1103
|
clearNominalConversionRate(): ExtraBond;
|
|
1104
1104
|
|
|
@@ -1112,15 +1112,15 @@ export namespace GetOrderPriceResponse {
|
|
|
1112
1112
|
|
|
1113
1113
|
export namespace ExtraBond {
|
|
1114
1114
|
export type AsObject = {
|
|
1115
|
-
aciValue?:
|
|
1116
|
-
nominalConversionRate?:
|
|
1115
|
+
aciValue?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
1116
|
+
nominalConversionRate?: api_tinvest_common_pb.Quotation.AsObject,
|
|
1117
1117
|
}
|
|
1118
1118
|
}
|
|
1119
1119
|
|
|
1120
1120
|
|
|
1121
1121
|
export class ExtraFuture extends jspb.Message {
|
|
1122
|
-
getInitialMargin():
|
|
1123
|
-
setInitialMargin(value?:
|
|
1122
|
+
getInitialMargin(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
1123
|
+
setInitialMargin(value?: api_tinvest_common_pb.MoneyValue): ExtraFuture;
|
|
1124
1124
|
hasInitialMargin(): boolean;
|
|
1125
1125
|
clearInitialMargin(): ExtraFuture;
|
|
1126
1126
|
|
|
@@ -1134,7 +1134,7 @@ export namespace GetOrderPriceResponse {
|
|
|
1134
1134
|
|
|
1135
1135
|
export namespace ExtraFuture {
|
|
1136
1136
|
export type AsObject = {
|
|
1137
|
-
initialMargin?:
|
|
1137
|
+
initialMargin?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
1138
1138
|
}
|
|
1139
1139
|
}
|
|
1140
1140
|
|
|
@@ -1181,8 +1181,8 @@ export class SubscriptionResponse extends jspb.Message {
|
|
|
1181
1181
|
getTrackingId(): string;
|
|
1182
1182
|
setTrackingId(value: string): SubscriptionResponse;
|
|
1183
1183
|
|
|
1184
|
-
getStatus():
|
|
1185
|
-
setStatus(value:
|
|
1184
|
+
getStatus(): api_tinvest_common_pb.ResultSubscriptionStatus;
|
|
1185
|
+
setStatus(value: api_tinvest_common_pb.ResultSubscriptionStatus): SubscriptionResponse;
|
|
1186
1186
|
|
|
1187
1187
|
getStreamId(): string;
|
|
1188
1188
|
setStreamId(value: string): SubscriptionResponse;
|
|
@@ -1192,8 +1192,8 @@ export class SubscriptionResponse extends jspb.Message {
|
|
|
1192
1192
|
clearAccountsList(): SubscriptionResponse;
|
|
1193
1193
|
addAccounts(value: string, index?: number): SubscriptionResponse;
|
|
1194
1194
|
|
|
1195
|
-
getError():
|
|
1196
|
-
setError(value?:
|
|
1195
|
+
getError(): api_tinvest_common_pb.ErrorDetail | undefined;
|
|
1196
|
+
setError(value?: api_tinvest_common_pb.ErrorDetail): SubscriptionResponse;
|
|
1197
1197
|
hasError(): boolean;
|
|
1198
1198
|
clearError(): SubscriptionResponse;
|
|
1199
1199
|
|
|
@@ -1208,10 +1208,10 @@ export class SubscriptionResponse extends jspb.Message {
|
|
|
1208
1208
|
export namespace SubscriptionResponse {
|
|
1209
1209
|
export type AsObject = {
|
|
1210
1210
|
trackingId: string,
|
|
1211
|
-
status:
|
|
1211
|
+
status: api_tinvest_common_pb.ResultSubscriptionStatus,
|
|
1212
1212
|
streamId: string,
|
|
1213
1213
|
accountsList: Array<string>,
|
|
1214
|
-
error?:
|
|
1214
|
+
error?: api_tinvest_common_pb.ErrorDetail.AsObject,
|
|
1215
1215
|
}
|
|
1216
1216
|
|
|
1217
1217
|
export enum ErrorCase {
|
|
@@ -1226,8 +1226,8 @@ export class OrderStateStreamResponse extends jspb.Message {
|
|
|
1226
1226
|
hasOrderState(): boolean;
|
|
1227
1227
|
clearOrderState(): OrderStateStreamResponse;
|
|
1228
1228
|
|
|
1229
|
-
getPing():
|
|
1230
|
-
setPing(value?:
|
|
1229
|
+
getPing(): api_tinvest_common_pb.Ping | undefined;
|
|
1230
|
+
setPing(value?: api_tinvest_common_pb.Ping): OrderStateStreamResponse;
|
|
1231
1231
|
hasPing(): boolean;
|
|
1232
1232
|
clearPing(): OrderStateStreamResponse;
|
|
1233
1233
|
|
|
@@ -1254,7 +1254,7 @@ export class OrderStateStreamResponse extends jspb.Message {
|
|
|
1254
1254
|
export namespace OrderStateStreamResponse {
|
|
1255
1255
|
export type AsObject = {
|
|
1256
1256
|
orderState?: OrderStateStreamResponse.OrderState.AsObject,
|
|
1257
|
-
ping?:
|
|
1257
|
+
ping?: api_tinvest_common_pb.Ping.AsObject,
|
|
1258
1258
|
subscription?: SubscriptionResponse.AsObject,
|
|
1259
1259
|
stopOrderState?: OrderStateStreamResponse.StopOrderState.AsObject,
|
|
1260
1260
|
}
|
|
@@ -1308,23 +1308,23 @@ export namespace OrderStateStreamResponse {
|
|
|
1308
1308
|
getTradeOrderId(): string;
|
|
1309
1309
|
setTradeOrderId(value: string): OrderState;
|
|
1310
1310
|
|
|
1311
|
-
getInitialOrderPrice():
|
|
1312
|
-
setInitialOrderPrice(value?:
|
|
1311
|
+
getInitialOrderPrice(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
1312
|
+
setInitialOrderPrice(value?: api_tinvest_common_pb.MoneyValue): OrderState;
|
|
1313
1313
|
hasInitialOrderPrice(): boolean;
|
|
1314
1314
|
clearInitialOrderPrice(): OrderState;
|
|
1315
1315
|
|
|
1316
|
-
getOrderPrice():
|
|
1317
|
-
setOrderPrice(value?:
|
|
1316
|
+
getOrderPrice(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
1317
|
+
setOrderPrice(value?: api_tinvest_common_pb.MoneyValue): OrderState;
|
|
1318
1318
|
hasOrderPrice(): boolean;
|
|
1319
1319
|
clearOrderPrice(): OrderState;
|
|
1320
1320
|
|
|
1321
|
-
getAmount():
|
|
1322
|
-
setAmount(value?:
|
|
1321
|
+
getAmount(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
1322
|
+
setAmount(value?: api_tinvest_common_pb.MoneyValue): OrderState;
|
|
1323
1323
|
hasAmount(): boolean;
|
|
1324
1324
|
clearAmount(): OrderState;
|
|
1325
1325
|
|
|
1326
|
-
getExecutedOrderPrice():
|
|
1327
|
-
setExecutedOrderPrice(value?:
|
|
1326
|
+
getExecutedOrderPrice(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
1327
|
+
setExecutedOrderPrice(value?: api_tinvest_common_pb.MoneyValue): OrderState;
|
|
1328
1328
|
hasExecutedOrderPrice(): boolean;
|
|
1329
1329
|
clearExecutedOrderPrice(): OrderState;
|
|
1330
1330
|
|
|
@@ -1388,10 +1388,10 @@ export namespace OrderStateStreamResponse {
|
|
|
1388
1388
|
orderType: OrderType,
|
|
1389
1389
|
accountId: string,
|
|
1390
1390
|
tradeOrderId: string,
|
|
1391
|
-
initialOrderPrice?:
|
|
1392
|
-
orderPrice?:
|
|
1393
|
-
amount?:
|
|
1394
|
-
executedOrderPrice?:
|
|
1391
|
+
initialOrderPrice?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
1392
|
+
orderPrice?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
1393
|
+
amount?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
1394
|
+
executedOrderPrice?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
1395
1395
|
currency: string,
|
|
1396
1396
|
lotsRequested: number,
|
|
1397
1397
|
lotsExecuted: number,
|
|
@@ -1441,13 +1441,13 @@ export namespace OrderStateStreamResponse {
|
|
|
1441
1441
|
getDirection(): OrderDirection;
|
|
1442
1442
|
setDirection(value: OrderDirection): StopOrderState;
|
|
1443
1443
|
|
|
1444
|
-
getPrice():
|
|
1445
|
-
setPrice(value?:
|
|
1444
|
+
getPrice(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
1445
|
+
setPrice(value?: api_tinvest_common_pb.MoneyValue): StopOrderState;
|
|
1446
1446
|
hasPrice(): boolean;
|
|
1447
1447
|
clearPrice(): StopOrderState;
|
|
1448
1448
|
|
|
1449
|
-
getStopPrice():
|
|
1450
|
-
setStopPrice(value?:
|
|
1449
|
+
getStopPrice(): api_tinvest_common_pb.MoneyValue | undefined;
|
|
1450
|
+
setStopPrice(value?: api_tinvest_common_pb.MoneyValue): StopOrderState;
|
|
1451
1451
|
hasStopPrice(): boolean;
|
|
1452
1452
|
clearStopPrice(): StopOrderState;
|
|
1453
1453
|
|
|
@@ -1463,8 +1463,8 @@ export namespace OrderStateStreamResponse {
|
|
|
1463
1463
|
getClassCode(): string;
|
|
1464
1464
|
setClassCode(value: string): StopOrderState;
|
|
1465
1465
|
|
|
1466
|
-
getStatus():
|
|
1467
|
-
setStatus(value:
|
|
1466
|
+
getStatus(): api_tinvest_stoporders_pb.StopOrderStatusOption;
|
|
1467
|
+
setStatus(value: api_tinvest_stoporders_pb.StopOrderStatusOption): StopOrderState;
|
|
1468
1468
|
|
|
1469
1469
|
serializeBinary(): Uint8Array;
|
|
1470
1470
|
toObject(includeInstance?: boolean): StopOrderState.AsObject;
|
|
@@ -1480,13 +1480,13 @@ export namespace OrderStateStreamResponse {
|
|
|
1480
1480
|
accountId: string,
|
|
1481
1481
|
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
1482
1482
|
direction: OrderDirection,
|
|
1483
|
-
price?:
|
|
1484
|
-
stopPrice?:
|
|
1483
|
+
price?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
1484
|
+
stopPrice?: api_tinvest_common_pb.MoneyValue.AsObject,
|
|
1485
1485
|
orderType: OrderType,
|
|
1486
1486
|
instrumentUid: string,
|
|
1487
1487
|
ticker: string,
|
|
1488
1488
|
classCode: string,
|
|
1489
|
-
status:
|
|
1489
|
+
status: api_tinvest_stoporders_pb.StopOrderStatusOption,
|
|
1490
1490
|
}
|
|
1491
1491
|
}
|
|
1492
1492
|
|