@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,4 +1,4 @@
|
|
|
1
|
-
// source: tinvest/marketdata.proto
|
|
1
|
+
// source: api/tinvest/marketdata.proto
|
|
2
2
|
/**
|
|
3
3
|
* @fileoverview
|
|
4
4
|
* @enhanceable
|
|
@@ -23,9 +23,9 @@ var global =
|
|
|
23
23
|
|
|
24
24
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
25
25
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
26
|
-
var
|
|
27
|
-
goog.object.extend(proto,
|
|
28
|
-
var google_api_field_behavior_pb = require('
|
|
26
|
+
var api_tinvest_common_pb = require('../../api/tinvest/common_pb.js');
|
|
27
|
+
goog.object.extend(proto, api_tinvest_common_pb);
|
|
28
|
+
var google_api_field_behavior_pb = require('../../google/api/field_behavior_pb.js');
|
|
29
29
|
goog.object.extend(proto, google_api_field_behavior_pb);
|
|
30
30
|
goog.exportSymbol('proto.tinkoff.public.invest.api.contract.v1.Candle', null, global);
|
|
31
31
|
goog.exportSymbol('proto.tinkoff.public.invest.api.contract.v1.CandleInstrument', null, global);
|
|
@@ -1367,8 +1367,8 @@ subscribeTradesRequest: (f = msg.getSubscribeTradesRequest()) && proto.tinkoff.p
|
|
|
1367
1367
|
subscribeInfoRequest: (f = msg.getSubscribeInfoRequest()) && proto.tinkoff.public.invest.api.contract.v1.SubscribeInfoRequest.toObject(includeInstance, f),
|
|
1368
1368
|
subscribeLastPriceRequest: (f = msg.getSubscribeLastPriceRequest()) && proto.tinkoff.public.invest.api.contract.v1.SubscribeLastPriceRequest.toObject(includeInstance, f),
|
|
1369
1369
|
getMySubscriptions: (f = msg.getGetMySubscriptions()) && proto.tinkoff.public.invest.api.contract.v1.GetMySubscriptions.toObject(includeInstance, f),
|
|
1370
|
-
ping: (f = msg.getPing()) &&
|
|
1371
|
-
pingSettings: (f = msg.getPingSettings()) &&
|
|
1370
|
+
ping: (f = msg.getPing()) && api_tinvest_common_pb.PingRequest.toObject(includeInstance, f),
|
|
1371
|
+
pingSettings: (f = msg.getPingSettings()) && api_tinvest_common_pb.PingDelaySettings.toObject(includeInstance, f)
|
|
1372
1372
|
};
|
|
1373
1373
|
|
|
1374
1374
|
if (includeInstance) {
|
|
@@ -1436,13 +1436,13 @@ proto.tinkoff.public.invest.api.contract.v1.MarketDataRequest.deserializeBinaryF
|
|
|
1436
1436
|
msg.setGetMySubscriptions(value);
|
|
1437
1437
|
break;
|
|
1438
1438
|
case 7:
|
|
1439
|
-
var value = new
|
|
1440
|
-
reader.readMessage(value,
|
|
1439
|
+
var value = new api_tinvest_common_pb.PingRequest;
|
|
1440
|
+
reader.readMessage(value,api_tinvest_common_pb.PingRequest.deserializeBinaryFromReader);
|
|
1441
1441
|
msg.setPing(value);
|
|
1442
1442
|
break;
|
|
1443
1443
|
case 15:
|
|
1444
|
-
var value = new
|
|
1445
|
-
reader.readMessage(value,
|
|
1444
|
+
var value = new api_tinvest_common_pb.PingDelaySettings;
|
|
1445
|
+
reader.readMessage(value,api_tinvest_common_pb.PingDelaySettings.deserializeBinaryFromReader);
|
|
1446
1446
|
msg.setPingSettings(value);
|
|
1447
1447
|
break;
|
|
1448
1448
|
default:
|
|
@@ -1527,7 +1527,7 @@ proto.tinkoff.public.invest.api.contract.v1.MarketDataRequest.serializeBinaryToW
|
|
|
1527
1527
|
writer.writeMessage(
|
|
1528
1528
|
7,
|
|
1529
1529
|
f,
|
|
1530
|
-
|
|
1530
|
+
api_tinvest_common_pb.PingRequest.serializeBinaryToWriter
|
|
1531
1531
|
);
|
|
1532
1532
|
}
|
|
1533
1533
|
f = message.getPingSettings();
|
|
@@ -1535,7 +1535,7 @@ proto.tinkoff.public.invest.api.contract.v1.MarketDataRequest.serializeBinaryToW
|
|
|
1535
1535
|
writer.writeMessage(
|
|
1536
1536
|
15,
|
|
1537
1537
|
f,
|
|
1538
|
-
|
|
1538
|
+
api_tinvest_common_pb.PingDelaySettings.serializeBinaryToWriter
|
|
1539
1539
|
);
|
|
1540
1540
|
}
|
|
1541
1541
|
};
|
|
@@ -1769,7 +1769,7 @@ proto.tinkoff.public.invest.api.contract.v1.MarketDataRequest.prototype.hasGetMy
|
|
|
1769
1769
|
*/
|
|
1770
1770
|
proto.tinkoff.public.invest.api.contract.v1.MarketDataRequest.prototype.getPing = function() {
|
|
1771
1771
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.PingRequest} */ (
|
|
1772
|
-
jspb.Message.getWrapperField(this,
|
|
1772
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.PingRequest, 7));
|
|
1773
1773
|
};
|
|
1774
1774
|
|
|
1775
1775
|
|
|
@@ -1806,7 +1806,7 @@ proto.tinkoff.public.invest.api.contract.v1.MarketDataRequest.prototype.hasPing
|
|
|
1806
1806
|
*/
|
|
1807
1807
|
proto.tinkoff.public.invest.api.contract.v1.MarketDataRequest.prototype.getPingSettings = function() {
|
|
1808
1808
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.PingDelaySettings} */ (
|
|
1809
|
-
jspb.Message.getWrapperField(this,
|
|
1809
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.PingDelaySettings, 15));
|
|
1810
1810
|
};
|
|
1811
1811
|
|
|
1812
1812
|
|
|
@@ -1874,7 +1874,7 @@ subscribeOrderBookRequest: (f = msg.getSubscribeOrderBookRequest()) && proto.tin
|
|
|
1874
1874
|
subscribeTradesRequest: (f = msg.getSubscribeTradesRequest()) && proto.tinkoff.public.invest.api.contract.v1.SubscribeTradesRequest.toObject(includeInstance, f),
|
|
1875
1875
|
subscribeInfoRequest: (f = msg.getSubscribeInfoRequest()) && proto.tinkoff.public.invest.api.contract.v1.SubscribeInfoRequest.toObject(includeInstance, f),
|
|
1876
1876
|
subscribeLastPriceRequest: (f = msg.getSubscribeLastPriceRequest()) && proto.tinkoff.public.invest.api.contract.v1.SubscribeLastPriceRequest.toObject(includeInstance, f),
|
|
1877
|
-
pingSettings: (f = msg.getPingSettings()) &&
|
|
1877
|
+
pingSettings: (f = msg.getPingSettings()) && api_tinvest_common_pb.PingDelaySettings.toObject(includeInstance, f)
|
|
1878
1878
|
};
|
|
1879
1879
|
|
|
1880
1880
|
if (includeInstance) {
|
|
@@ -1937,8 +1937,8 @@ proto.tinkoff.public.invest.api.contract.v1.MarketDataServerSideStreamRequest.de
|
|
|
1937
1937
|
msg.setSubscribeLastPriceRequest(value);
|
|
1938
1938
|
break;
|
|
1939
1939
|
case 15:
|
|
1940
|
-
var value = new
|
|
1941
|
-
reader.readMessage(value,
|
|
1940
|
+
var value = new api_tinvest_common_pb.PingDelaySettings;
|
|
1941
|
+
reader.readMessage(value,api_tinvest_common_pb.PingDelaySettings.deserializeBinaryFromReader);
|
|
1942
1942
|
msg.setPingSettings(value);
|
|
1943
1943
|
break;
|
|
1944
1944
|
default:
|
|
@@ -2015,7 +2015,7 @@ proto.tinkoff.public.invest.api.contract.v1.MarketDataServerSideStreamRequest.se
|
|
|
2015
2015
|
writer.writeMessage(
|
|
2016
2016
|
15,
|
|
2017
2017
|
f,
|
|
2018
|
-
|
|
2018
|
+
api_tinvest_common_pb.PingDelaySettings.serializeBinaryToWriter
|
|
2019
2019
|
);
|
|
2020
2020
|
}
|
|
2021
2021
|
};
|
|
@@ -2212,7 +2212,7 @@ proto.tinkoff.public.invest.api.contract.v1.MarketDataServerSideStreamRequest.pr
|
|
|
2212
2212
|
*/
|
|
2213
2213
|
proto.tinkoff.public.invest.api.contract.v1.MarketDataServerSideStreamRequest.prototype.getPingSettings = function() {
|
|
2214
2214
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.PingDelaySettings} */ (
|
|
2215
|
-
jspb.Message.getWrapperField(this,
|
|
2215
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.PingDelaySettings, 15));
|
|
2216
2216
|
};
|
|
2217
2217
|
|
|
2218
2218
|
|
|
@@ -2319,7 +2319,7 @@ candle: (f = msg.getCandle()) && proto.tinkoff.public.invest.api.contract.v1.Can
|
|
|
2319
2319
|
trade: (f = msg.getTrade()) && proto.tinkoff.public.invest.api.contract.v1.Trade.toObject(includeInstance, f),
|
|
2320
2320
|
orderbook: (f = msg.getOrderbook()) && proto.tinkoff.public.invest.api.contract.v1.OrderBook.toObject(includeInstance, f),
|
|
2321
2321
|
tradingStatus: (f = msg.getTradingStatus()) && proto.tinkoff.public.invest.api.contract.v1.TradingStatus.toObject(includeInstance, f),
|
|
2322
|
-
ping: (f = msg.getPing()) &&
|
|
2322
|
+
ping: (f = msg.getPing()) && api_tinvest_common_pb.Ping.toObject(includeInstance, f),
|
|
2323
2323
|
subscribeLastPriceResponse: (f = msg.getSubscribeLastPriceResponse()) && proto.tinkoff.public.invest.api.contract.v1.SubscribeLastPriceResponse.toObject(includeInstance, f),
|
|
2324
2324
|
lastPrice: (f = msg.getLastPrice()) && proto.tinkoff.public.invest.api.contract.v1.LastPrice.toObject(includeInstance, f),
|
|
2325
2325
|
openInterest: (f = msg.getOpenInterest()) && proto.tinkoff.public.invest.api.contract.v1.OpenInterest.toObject(includeInstance, f)
|
|
@@ -2400,8 +2400,8 @@ proto.tinkoff.public.invest.api.contract.v1.MarketDataResponse.deserializeBinary
|
|
|
2400
2400
|
msg.setTradingStatus(value);
|
|
2401
2401
|
break;
|
|
2402
2402
|
case 9:
|
|
2403
|
-
var value = new
|
|
2404
|
-
reader.readMessage(value,
|
|
2403
|
+
var value = new api_tinvest_common_pb.Ping;
|
|
2404
|
+
reader.readMessage(value,api_tinvest_common_pb.Ping.deserializeBinaryFromReader);
|
|
2405
2405
|
msg.setPing(value);
|
|
2406
2406
|
break;
|
|
2407
2407
|
case 10:
|
|
@@ -2517,7 +2517,7 @@ proto.tinkoff.public.invest.api.contract.v1.MarketDataResponse.serializeBinaryTo
|
|
|
2517
2517
|
writer.writeMessage(
|
|
2518
2518
|
9,
|
|
2519
2519
|
f,
|
|
2520
|
-
|
|
2520
|
+
api_tinvest_common_pb.Ping.serializeBinaryToWriter
|
|
2521
2521
|
);
|
|
2522
2522
|
}
|
|
2523
2523
|
f = message.getSubscribeLastPriceResponse();
|
|
@@ -2849,7 +2849,7 @@ proto.tinkoff.public.invest.api.contract.v1.MarketDataResponse.prototype.hasTrad
|
|
|
2849
2849
|
*/
|
|
2850
2850
|
proto.tinkoff.public.invest.api.contract.v1.MarketDataResponse.prototype.getPing = function() {
|
|
2851
2851
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Ping} */ (
|
|
2852
|
-
jspb.Message.getWrapperField(this,
|
|
2852
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Ping, 9));
|
|
2853
2853
|
};
|
|
2854
2854
|
|
|
2855
2855
|
|
|
@@ -7881,10 +7881,10 @@ proto.tinkoff.public.invest.api.contract.v1.Candle.toObject = function(includeIn
|
|
|
7881
7881
|
var f, obj = {
|
|
7882
7882
|
figi: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7883
7883
|
interval: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7884
|
-
open: (f = msg.getOpen()) &&
|
|
7885
|
-
high: (f = msg.getHigh()) &&
|
|
7886
|
-
low: (f = msg.getLow()) &&
|
|
7887
|
-
close: (f = msg.getClose()) &&
|
|
7884
|
+
open: (f = msg.getOpen()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
7885
|
+
high: (f = msg.getHigh()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
7886
|
+
low: (f = msg.getLow()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
7887
|
+
close: (f = msg.getClose()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
7888
7888
|
volume: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
7889
7889
|
time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
7890
7890
|
lastTradeTs: (f = msg.getLastTradeTs()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
@@ -7939,23 +7939,23 @@ proto.tinkoff.public.invest.api.contract.v1.Candle.deserializeBinaryFromReader =
|
|
|
7939
7939
|
msg.setInterval(value);
|
|
7940
7940
|
break;
|
|
7941
7941
|
case 3:
|
|
7942
|
-
var value = new
|
|
7943
|
-
reader.readMessage(value,
|
|
7942
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
7943
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
7944
7944
|
msg.setOpen(value);
|
|
7945
7945
|
break;
|
|
7946
7946
|
case 4:
|
|
7947
|
-
var value = new
|
|
7948
|
-
reader.readMessage(value,
|
|
7947
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
7948
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
7949
7949
|
msg.setHigh(value);
|
|
7950
7950
|
break;
|
|
7951
7951
|
case 5:
|
|
7952
|
-
var value = new
|
|
7953
|
-
reader.readMessage(value,
|
|
7952
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
7953
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
7954
7954
|
msg.setLow(value);
|
|
7955
7955
|
break;
|
|
7956
7956
|
case 6:
|
|
7957
|
-
var value = new
|
|
7958
|
-
reader.readMessage(value,
|
|
7957
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
7958
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
7959
7959
|
msg.setClose(value);
|
|
7960
7960
|
break;
|
|
7961
7961
|
case 7:
|
|
@@ -8044,7 +8044,7 @@ proto.tinkoff.public.invest.api.contract.v1.Candle.serializeBinaryToWriter = fun
|
|
|
8044
8044
|
writer.writeMessage(
|
|
8045
8045
|
3,
|
|
8046
8046
|
f,
|
|
8047
|
-
|
|
8047
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
8048
8048
|
);
|
|
8049
8049
|
}
|
|
8050
8050
|
f = message.getHigh();
|
|
@@ -8052,7 +8052,7 @@ proto.tinkoff.public.invest.api.contract.v1.Candle.serializeBinaryToWriter = fun
|
|
|
8052
8052
|
writer.writeMessage(
|
|
8053
8053
|
4,
|
|
8054
8054
|
f,
|
|
8055
|
-
|
|
8055
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
8056
8056
|
);
|
|
8057
8057
|
}
|
|
8058
8058
|
f = message.getLow();
|
|
@@ -8060,7 +8060,7 @@ proto.tinkoff.public.invest.api.contract.v1.Candle.serializeBinaryToWriter = fun
|
|
|
8060
8060
|
writer.writeMessage(
|
|
8061
8061
|
5,
|
|
8062
8062
|
f,
|
|
8063
|
-
|
|
8063
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
8064
8064
|
);
|
|
8065
8065
|
}
|
|
8066
8066
|
f = message.getClose();
|
|
@@ -8068,7 +8068,7 @@ proto.tinkoff.public.invest.api.contract.v1.Candle.serializeBinaryToWriter = fun
|
|
|
8068
8068
|
writer.writeMessage(
|
|
8069
8069
|
6,
|
|
8070
8070
|
f,
|
|
8071
|
-
|
|
8071
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
8072
8072
|
);
|
|
8073
8073
|
}
|
|
8074
8074
|
f = message.getVolume();
|
|
@@ -8181,7 +8181,7 @@ proto.tinkoff.public.invest.api.contract.v1.Candle.prototype.setInterval = funct
|
|
|
8181
8181
|
*/
|
|
8182
8182
|
proto.tinkoff.public.invest.api.contract.v1.Candle.prototype.getOpen = function() {
|
|
8183
8183
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
8184
|
-
jspb.Message.getWrapperField(this,
|
|
8184
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 3));
|
|
8185
8185
|
};
|
|
8186
8186
|
|
|
8187
8187
|
|
|
@@ -8218,7 +8218,7 @@ proto.tinkoff.public.invest.api.contract.v1.Candle.prototype.hasOpen = function(
|
|
|
8218
8218
|
*/
|
|
8219
8219
|
proto.tinkoff.public.invest.api.contract.v1.Candle.prototype.getHigh = function() {
|
|
8220
8220
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
8221
|
-
jspb.Message.getWrapperField(this,
|
|
8221
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 4));
|
|
8222
8222
|
};
|
|
8223
8223
|
|
|
8224
8224
|
|
|
@@ -8255,7 +8255,7 @@ proto.tinkoff.public.invest.api.contract.v1.Candle.prototype.hasHigh = function(
|
|
|
8255
8255
|
*/
|
|
8256
8256
|
proto.tinkoff.public.invest.api.contract.v1.Candle.prototype.getLow = function() {
|
|
8257
8257
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
8258
|
-
jspb.Message.getWrapperField(this,
|
|
8258
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 5));
|
|
8259
8259
|
};
|
|
8260
8260
|
|
|
8261
8261
|
|
|
@@ -8292,7 +8292,7 @@ proto.tinkoff.public.invest.api.contract.v1.Candle.prototype.hasLow = function()
|
|
|
8292
8292
|
*/
|
|
8293
8293
|
proto.tinkoff.public.invest.api.contract.v1.Candle.prototype.getClose = function() {
|
|
8294
8294
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
8295
|
-
jspb.Message.getWrapperField(this,
|
|
8295
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 6));
|
|
8296
8296
|
};
|
|
8297
8297
|
|
|
8298
8298
|
|
|
@@ -8570,8 +8570,8 @@ bidsList: jspb.Message.toObjectList(msg.getBidsList(),
|
|
|
8570
8570
|
asksList: jspb.Message.toObjectList(msg.getAsksList(),
|
|
8571
8571
|
proto.tinkoff.public.invest.api.contract.v1.Order.toObject, includeInstance),
|
|
8572
8572
|
time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
8573
|
-
limitUp: (f = msg.getLimitUp()) &&
|
|
8574
|
-
limitDown: (f = msg.getLimitDown()) &&
|
|
8573
|
+
limitUp: (f = msg.getLimitUp()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
8574
|
+
limitDown: (f = msg.getLimitDown()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
8575
8575
|
instrumentUid: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
8576
8576
|
orderBookType: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
8577
8577
|
ticker: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
@@ -8640,13 +8640,13 @@ proto.tinkoff.public.invest.api.contract.v1.OrderBook.deserializeBinaryFromReade
|
|
|
8640
8640
|
msg.setTime(value);
|
|
8641
8641
|
break;
|
|
8642
8642
|
case 7:
|
|
8643
|
-
var value = new
|
|
8644
|
-
reader.readMessage(value,
|
|
8643
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
8644
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
8645
8645
|
msg.setLimitUp(value);
|
|
8646
8646
|
break;
|
|
8647
8647
|
case 8:
|
|
8648
|
-
var value = new
|
|
8649
|
-
reader.readMessage(value,
|
|
8648
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
8649
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
8650
8650
|
msg.setLimitDown(value);
|
|
8651
8651
|
break;
|
|
8652
8652
|
case 9:
|
|
@@ -8744,7 +8744,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderBook.serializeBinaryToWriter =
|
|
|
8744
8744
|
writer.writeMessage(
|
|
8745
8745
|
7,
|
|
8746
8746
|
f,
|
|
8747
|
-
|
|
8747
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
8748
8748
|
);
|
|
8749
8749
|
}
|
|
8750
8750
|
f = message.getLimitDown();
|
|
@@ -8752,7 +8752,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderBook.serializeBinaryToWriter =
|
|
|
8752
8752
|
writer.writeMessage(
|
|
8753
8753
|
8,
|
|
8754
8754
|
f,
|
|
8755
|
-
|
|
8755
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
8756
8756
|
);
|
|
8757
8757
|
}
|
|
8758
8758
|
f = message.getInstrumentUid();
|
|
@@ -8959,7 +8959,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderBook.prototype.hasTime = functi
|
|
|
8959
8959
|
*/
|
|
8960
8960
|
proto.tinkoff.public.invest.api.contract.v1.OrderBook.prototype.getLimitUp = function() {
|
|
8961
8961
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
8962
|
-
jspb.Message.getWrapperField(this,
|
|
8962
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 7));
|
|
8963
8963
|
};
|
|
8964
8964
|
|
|
8965
8965
|
|
|
@@ -8996,7 +8996,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderBook.prototype.hasLimitUp = fun
|
|
|
8996
8996
|
*/
|
|
8997
8997
|
proto.tinkoff.public.invest.api.contract.v1.OrderBook.prototype.getLimitDown = function() {
|
|
8998
8998
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
8999
|
-
jspb.Message.getWrapperField(this,
|
|
8999
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 8));
|
|
9000
9000
|
};
|
|
9001
9001
|
|
|
9002
9002
|
|
|
@@ -9131,7 +9131,7 @@ proto.tinkoff.public.invest.api.contract.v1.Order.prototype.toObject = function(
|
|
|
9131
9131
|
*/
|
|
9132
9132
|
proto.tinkoff.public.invest.api.contract.v1.Order.toObject = function(includeInstance, msg) {
|
|
9133
9133
|
var f, obj = {
|
|
9134
|
-
price: (f = msg.getPrice()) &&
|
|
9134
|
+
price: (f = msg.getPrice()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
9135
9135
|
quantity: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
9136
9136
|
};
|
|
9137
9137
|
|
|
@@ -9170,8 +9170,8 @@ proto.tinkoff.public.invest.api.contract.v1.Order.deserializeBinaryFromReader =
|
|
|
9170
9170
|
var field = reader.getFieldNumber();
|
|
9171
9171
|
switch (field) {
|
|
9172
9172
|
case 1:
|
|
9173
|
-
var value = new
|
|
9174
|
-
reader.readMessage(value,
|
|
9173
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
9174
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
9175
9175
|
msg.setPrice(value);
|
|
9176
9176
|
break;
|
|
9177
9177
|
case 2:
|
|
@@ -9212,7 +9212,7 @@ proto.tinkoff.public.invest.api.contract.v1.Order.serializeBinaryToWriter = func
|
|
|
9212
9212
|
writer.writeMessage(
|
|
9213
9213
|
1,
|
|
9214
9214
|
f,
|
|
9215
|
-
|
|
9215
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
9216
9216
|
);
|
|
9217
9217
|
}
|
|
9218
9218
|
f = message.getQuantity();
|
|
@@ -9231,7 +9231,7 @@ proto.tinkoff.public.invest.api.contract.v1.Order.serializeBinaryToWriter = func
|
|
|
9231
9231
|
*/
|
|
9232
9232
|
proto.tinkoff.public.invest.api.contract.v1.Order.prototype.getPrice = function() {
|
|
9233
9233
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
9234
|
-
jspb.Message.getWrapperField(this,
|
|
9234
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 1));
|
|
9235
9235
|
};
|
|
9236
9236
|
|
|
9237
9237
|
|
|
@@ -9314,7 +9314,7 @@ proto.tinkoff.public.invest.api.contract.v1.Trade.toObject = function(includeIns
|
|
|
9314
9314
|
var f, obj = {
|
|
9315
9315
|
figi: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
9316
9316
|
direction: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
9317
|
-
price: (f = msg.getPrice()) &&
|
|
9317
|
+
price: (f = msg.getPrice()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
9318
9318
|
quantity: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
9319
9319
|
time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
9320
9320
|
instrumentUid: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
@@ -9366,8 +9366,8 @@ proto.tinkoff.public.invest.api.contract.v1.Trade.deserializeBinaryFromReader =
|
|
|
9366
9366
|
msg.setDirection(value);
|
|
9367
9367
|
break;
|
|
9368
9368
|
case 3:
|
|
9369
|
-
var value = new
|
|
9370
|
-
reader.readMessage(value,
|
|
9369
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
9370
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
9371
9371
|
msg.setPrice(value);
|
|
9372
9372
|
break;
|
|
9373
9373
|
case 4:
|
|
@@ -9443,7 +9443,7 @@ proto.tinkoff.public.invest.api.contract.v1.Trade.serializeBinaryToWriter = func
|
|
|
9443
9443
|
writer.writeMessage(
|
|
9444
9444
|
3,
|
|
9445
9445
|
f,
|
|
9446
|
-
|
|
9446
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
9447
9447
|
);
|
|
9448
9448
|
}
|
|
9449
9449
|
f = message.getQuantity();
|
|
@@ -9534,7 +9534,7 @@ proto.tinkoff.public.invest.api.contract.v1.Trade.prototype.setDirection = funct
|
|
|
9534
9534
|
*/
|
|
9535
9535
|
proto.tinkoff.public.invest.api.contract.v1.Trade.prototype.getPrice = function() {
|
|
9536
9536
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
9537
|
-
jspb.Message.getWrapperField(this,
|
|
9537
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 3));
|
|
9538
9538
|
};
|
|
9539
9539
|
|
|
9540
9540
|
|
|
@@ -10678,10 +10678,10 @@ proto.tinkoff.public.invest.api.contract.v1.HistoricCandle.prototype.toObject =
|
|
|
10678
10678
|
*/
|
|
10679
10679
|
proto.tinkoff.public.invest.api.contract.v1.HistoricCandle.toObject = function(includeInstance, msg) {
|
|
10680
10680
|
var f, obj = {
|
|
10681
|
-
open: (f = msg.getOpen()) &&
|
|
10682
|
-
high: (f = msg.getHigh()) &&
|
|
10683
|
-
low: (f = msg.getLow()) &&
|
|
10684
|
-
close: (f = msg.getClose()) &&
|
|
10681
|
+
open: (f = msg.getOpen()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
10682
|
+
high: (f = msg.getHigh()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
10683
|
+
low: (f = msg.getLow()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
10684
|
+
close: (f = msg.getClose()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
10685
10685
|
volume: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
10686
10686
|
time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
10687
10687
|
isComplete: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
@@ -10725,23 +10725,23 @@ proto.tinkoff.public.invest.api.contract.v1.HistoricCandle.deserializeBinaryFrom
|
|
|
10725
10725
|
var field = reader.getFieldNumber();
|
|
10726
10726
|
switch (field) {
|
|
10727
10727
|
case 1:
|
|
10728
|
-
var value = new
|
|
10729
|
-
reader.readMessage(value,
|
|
10728
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
10729
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
10730
10730
|
msg.setOpen(value);
|
|
10731
10731
|
break;
|
|
10732
10732
|
case 2:
|
|
10733
|
-
var value = new
|
|
10734
|
-
reader.readMessage(value,
|
|
10733
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
10734
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
10735
10735
|
msg.setHigh(value);
|
|
10736
10736
|
break;
|
|
10737
10737
|
case 3:
|
|
10738
|
-
var value = new
|
|
10739
|
-
reader.readMessage(value,
|
|
10738
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
10739
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
10740
10740
|
msg.setLow(value);
|
|
10741
10741
|
break;
|
|
10742
10742
|
case 4:
|
|
10743
|
-
var value = new
|
|
10744
|
-
reader.readMessage(value,
|
|
10743
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
10744
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
10745
10745
|
msg.setClose(value);
|
|
10746
10746
|
break;
|
|
10747
10747
|
case 5:
|
|
@@ -10803,7 +10803,7 @@ proto.tinkoff.public.invest.api.contract.v1.HistoricCandle.serializeBinaryToWrit
|
|
|
10803
10803
|
writer.writeMessage(
|
|
10804
10804
|
1,
|
|
10805
10805
|
f,
|
|
10806
|
-
|
|
10806
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
10807
10807
|
);
|
|
10808
10808
|
}
|
|
10809
10809
|
f = message.getHigh();
|
|
@@ -10811,7 +10811,7 @@ proto.tinkoff.public.invest.api.contract.v1.HistoricCandle.serializeBinaryToWrit
|
|
|
10811
10811
|
writer.writeMessage(
|
|
10812
10812
|
2,
|
|
10813
10813
|
f,
|
|
10814
|
-
|
|
10814
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
10815
10815
|
);
|
|
10816
10816
|
}
|
|
10817
10817
|
f = message.getLow();
|
|
@@ -10819,7 +10819,7 @@ proto.tinkoff.public.invest.api.contract.v1.HistoricCandle.serializeBinaryToWrit
|
|
|
10819
10819
|
writer.writeMessage(
|
|
10820
10820
|
3,
|
|
10821
10821
|
f,
|
|
10822
|
-
|
|
10822
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
10823
10823
|
);
|
|
10824
10824
|
}
|
|
10825
10825
|
f = message.getClose();
|
|
@@ -10827,7 +10827,7 @@ proto.tinkoff.public.invest.api.contract.v1.HistoricCandle.serializeBinaryToWrit
|
|
|
10827
10827
|
writer.writeMessage(
|
|
10828
10828
|
4,
|
|
10829
10829
|
f,
|
|
10830
|
-
|
|
10830
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
10831
10831
|
);
|
|
10832
10832
|
}
|
|
10833
10833
|
f = message.getVolume();
|
|
@@ -10882,7 +10882,7 @@ proto.tinkoff.public.invest.api.contract.v1.HistoricCandle.serializeBinaryToWrit
|
|
|
10882
10882
|
*/
|
|
10883
10883
|
proto.tinkoff.public.invest.api.contract.v1.HistoricCandle.prototype.getOpen = function() {
|
|
10884
10884
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
10885
|
-
jspb.Message.getWrapperField(this,
|
|
10885
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 1));
|
|
10886
10886
|
};
|
|
10887
10887
|
|
|
10888
10888
|
|
|
@@ -10919,7 +10919,7 @@ proto.tinkoff.public.invest.api.contract.v1.HistoricCandle.prototype.hasOpen = f
|
|
|
10919
10919
|
*/
|
|
10920
10920
|
proto.tinkoff.public.invest.api.contract.v1.HistoricCandle.prototype.getHigh = function() {
|
|
10921
10921
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
10922
|
-
jspb.Message.getWrapperField(this,
|
|
10922
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 2));
|
|
10923
10923
|
};
|
|
10924
10924
|
|
|
10925
10925
|
|
|
@@ -10956,7 +10956,7 @@ proto.tinkoff.public.invest.api.contract.v1.HistoricCandle.prototype.hasHigh = f
|
|
|
10956
10956
|
*/
|
|
10957
10957
|
proto.tinkoff.public.invest.api.contract.v1.HistoricCandle.prototype.getLow = function() {
|
|
10958
10958
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
10959
|
-
jspb.Message.getWrapperField(this,
|
|
10959
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 3));
|
|
10960
10960
|
};
|
|
10961
10961
|
|
|
10962
10962
|
|
|
@@ -10993,7 +10993,7 @@ proto.tinkoff.public.invest.api.contract.v1.HistoricCandle.prototype.hasLow = fu
|
|
|
10993
10993
|
*/
|
|
10994
10994
|
proto.tinkoff.public.invest.api.contract.v1.HistoricCandle.prototype.getClose = function() {
|
|
10995
10995
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
10996
|
-
jspb.Message.getWrapperField(this,
|
|
10996
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 4));
|
|
10997
10997
|
};
|
|
10998
10998
|
|
|
10999
10999
|
|
|
@@ -11627,7 +11627,7 @@ proto.tinkoff.public.invest.api.contract.v1.LastPrice.prototype.toObject = funct
|
|
|
11627
11627
|
proto.tinkoff.public.invest.api.contract.v1.LastPrice.toObject = function(includeInstance, msg) {
|
|
11628
11628
|
var f, obj = {
|
|
11629
11629
|
figi: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
11630
|
-
price: (f = msg.getPrice()) &&
|
|
11630
|
+
price: (f = msg.getPrice()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
11631
11631
|
time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
11632
11632
|
ticker: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
11633
11633
|
classCode: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
@@ -11674,8 +11674,8 @@ proto.tinkoff.public.invest.api.contract.v1.LastPrice.deserializeBinaryFromReade
|
|
|
11674
11674
|
msg.setFigi(value);
|
|
11675
11675
|
break;
|
|
11676
11676
|
case 2:
|
|
11677
|
-
var value = new
|
|
11678
|
-
reader.readMessage(value,
|
|
11677
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
11678
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
11679
11679
|
msg.setPrice(value);
|
|
11680
11680
|
break;
|
|
11681
11681
|
case 3:
|
|
@@ -11740,7 +11740,7 @@ proto.tinkoff.public.invest.api.contract.v1.LastPrice.serializeBinaryToWriter =
|
|
|
11740
11740
|
writer.writeMessage(
|
|
11741
11741
|
2,
|
|
11742
11742
|
f,
|
|
11743
|
-
|
|
11743
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
11744
11744
|
);
|
|
11745
11745
|
}
|
|
11746
11746
|
f = message.getTime();
|
|
@@ -11806,7 +11806,7 @@ proto.tinkoff.public.invest.api.contract.v1.LastPrice.prototype.setFigi = functi
|
|
|
11806
11806
|
*/
|
|
11807
11807
|
proto.tinkoff.public.invest.api.contract.v1.LastPrice.prototype.getPrice = function() {
|
|
11808
11808
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
11809
|
-
jspb.Message.getWrapperField(this,
|
|
11809
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 2));
|
|
11810
11810
|
};
|
|
11811
11811
|
|
|
11812
11812
|
|
|
@@ -12488,10 +12488,10 @@ bidsList: jspb.Message.toObjectList(msg.getBidsList(),
|
|
|
12488
12488
|
proto.tinkoff.public.invest.api.contract.v1.Order.toObject, includeInstance),
|
|
12489
12489
|
asksList: jspb.Message.toObjectList(msg.getAsksList(),
|
|
12490
12490
|
proto.tinkoff.public.invest.api.contract.v1.Order.toObject, includeInstance),
|
|
12491
|
-
lastPrice: (f = msg.getLastPrice()) &&
|
|
12492
|
-
closePrice: (f = msg.getClosePrice()) &&
|
|
12493
|
-
limitUp: (f = msg.getLimitUp()) &&
|
|
12494
|
-
limitDown: (f = msg.getLimitDown()) &&
|
|
12491
|
+
lastPrice: (f = msg.getLastPrice()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
12492
|
+
closePrice: (f = msg.getClosePrice()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
12493
|
+
limitUp: (f = msg.getLimitUp()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
12494
|
+
limitDown: (f = msg.getLimitDown()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
12495
12495
|
instrumentUid: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
12496
12496
|
ticker: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
12497
12497
|
classCode: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
@@ -12553,23 +12553,23 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderBookResponse.deserializeBina
|
|
|
12553
12553
|
msg.addAsks(value);
|
|
12554
12554
|
break;
|
|
12555
12555
|
case 5:
|
|
12556
|
-
var value = new
|
|
12557
|
-
reader.readMessage(value,
|
|
12556
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
12557
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
12558
12558
|
msg.setLastPrice(value);
|
|
12559
12559
|
break;
|
|
12560
12560
|
case 6:
|
|
12561
|
-
var value = new
|
|
12562
|
-
reader.readMessage(value,
|
|
12561
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
12562
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
12563
12563
|
msg.setClosePrice(value);
|
|
12564
12564
|
break;
|
|
12565
12565
|
case 7:
|
|
12566
|
-
var value = new
|
|
12567
|
-
reader.readMessage(value,
|
|
12566
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
12567
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
12568
12568
|
msg.setLimitUp(value);
|
|
12569
12569
|
break;
|
|
12570
12570
|
case 8:
|
|
12571
|
-
var value = new
|
|
12572
|
-
reader.readMessage(value,
|
|
12571
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
12572
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
12573
12573
|
msg.setLimitDown(value);
|
|
12574
12574
|
break;
|
|
12575
12575
|
case 9:
|
|
@@ -12663,7 +12663,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderBookResponse.serializeBinary
|
|
|
12663
12663
|
writer.writeMessage(
|
|
12664
12664
|
5,
|
|
12665
12665
|
f,
|
|
12666
|
-
|
|
12666
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
12667
12667
|
);
|
|
12668
12668
|
}
|
|
12669
12669
|
f = message.getClosePrice();
|
|
@@ -12671,7 +12671,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderBookResponse.serializeBinary
|
|
|
12671
12671
|
writer.writeMessage(
|
|
12672
12672
|
6,
|
|
12673
12673
|
f,
|
|
12674
|
-
|
|
12674
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
12675
12675
|
);
|
|
12676
12676
|
}
|
|
12677
12677
|
f = message.getLimitUp();
|
|
@@ -12679,7 +12679,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderBookResponse.serializeBinary
|
|
|
12679
12679
|
writer.writeMessage(
|
|
12680
12680
|
7,
|
|
12681
12681
|
f,
|
|
12682
|
-
|
|
12682
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
12683
12683
|
);
|
|
12684
12684
|
}
|
|
12685
12685
|
f = message.getLimitDown();
|
|
@@ -12687,7 +12687,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderBookResponse.serializeBinary
|
|
|
12687
12687
|
writer.writeMessage(
|
|
12688
12688
|
8,
|
|
12689
12689
|
f,
|
|
12690
|
-
|
|
12690
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
12691
12691
|
);
|
|
12692
12692
|
}
|
|
12693
12693
|
f = message.getInstrumentUid();
|
|
@@ -12856,7 +12856,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderBookResponse.prototype.clear
|
|
|
12856
12856
|
*/
|
|
12857
12857
|
proto.tinkoff.public.invest.api.contract.v1.GetOrderBookResponse.prototype.getLastPrice = function() {
|
|
12858
12858
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
12859
|
-
jspb.Message.getWrapperField(this,
|
|
12859
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 5));
|
|
12860
12860
|
};
|
|
12861
12861
|
|
|
12862
12862
|
|
|
@@ -12893,7 +12893,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderBookResponse.prototype.hasLa
|
|
|
12893
12893
|
*/
|
|
12894
12894
|
proto.tinkoff.public.invest.api.contract.v1.GetOrderBookResponse.prototype.getClosePrice = function() {
|
|
12895
12895
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
12896
|
-
jspb.Message.getWrapperField(this,
|
|
12896
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 6));
|
|
12897
12897
|
};
|
|
12898
12898
|
|
|
12899
12899
|
|
|
@@ -12930,7 +12930,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderBookResponse.prototype.hasCl
|
|
|
12930
12930
|
*/
|
|
12931
12931
|
proto.tinkoff.public.invest.api.contract.v1.GetOrderBookResponse.prototype.getLimitUp = function() {
|
|
12932
12932
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
12933
|
-
jspb.Message.getWrapperField(this,
|
|
12933
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 7));
|
|
12934
12934
|
};
|
|
12935
12935
|
|
|
12936
12936
|
|
|
@@ -12967,7 +12967,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderBookResponse.prototype.hasLi
|
|
|
12967
12967
|
*/
|
|
12968
12968
|
proto.tinkoff.public.invest.api.contract.v1.GetOrderBookResponse.prototype.getLimitDown = function() {
|
|
12969
12969
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
12970
|
-
jspb.Message.getWrapperField(this,
|
|
12970
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 8));
|
|
12971
12971
|
};
|
|
12972
12972
|
|
|
12973
12973
|
|
|
@@ -15198,8 +15198,8 @@ figi: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
15198
15198
|
instrumentUid: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
15199
15199
|
ticker: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
15200
15200
|
classCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
15201
|
-
price: (f = msg.getPrice()) &&
|
|
15202
|
-
eveningSessionPrice: (f = msg.getEveningSessionPrice()) &&
|
|
15201
|
+
price: (f = msg.getPrice()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
15202
|
+
eveningSessionPrice: (f = msg.getEveningSessionPrice()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
15203
15203
|
time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
15204
15204
|
eveningSessionPriceTime: (f = msg.getEveningSessionPriceTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
15205
15205
|
};
|
|
@@ -15255,13 +15255,13 @@ proto.tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse.deseria
|
|
|
15255
15255
|
msg.setClassCode(value);
|
|
15256
15256
|
break;
|
|
15257
15257
|
case 11:
|
|
15258
|
-
var value = new
|
|
15259
|
-
reader.readMessage(value,
|
|
15258
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
15259
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
15260
15260
|
msg.setPrice(value);
|
|
15261
15261
|
break;
|
|
15262
15262
|
case 12:
|
|
15263
|
-
var value = new
|
|
15264
|
-
reader.readMessage(value,
|
|
15263
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
15264
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
15265
15265
|
msg.setEveningSessionPrice(value);
|
|
15266
15266
|
break;
|
|
15267
15267
|
case 21:
|
|
@@ -15336,7 +15336,7 @@ proto.tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse.seriali
|
|
|
15336
15336
|
writer.writeMessage(
|
|
15337
15337
|
11,
|
|
15338
15338
|
f,
|
|
15339
|
-
|
|
15339
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
15340
15340
|
);
|
|
15341
15341
|
}
|
|
15342
15342
|
f = message.getEveningSessionPrice();
|
|
@@ -15344,7 +15344,7 @@ proto.tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse.seriali
|
|
|
15344
15344
|
writer.writeMessage(
|
|
15345
15345
|
12,
|
|
15346
15346
|
f,
|
|
15347
|
-
|
|
15347
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
15348
15348
|
);
|
|
15349
15349
|
}
|
|
15350
15350
|
f = message.getTime();
|
|
@@ -15444,7 +15444,7 @@ proto.tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse.prototy
|
|
|
15444
15444
|
*/
|
|
15445
15445
|
proto.tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse.prototype.getPrice = function() {
|
|
15446
15446
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
15447
|
-
jspb.Message.getWrapperField(this,
|
|
15447
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 11));
|
|
15448
15448
|
};
|
|
15449
15449
|
|
|
15450
15450
|
|
|
@@ -15481,7 +15481,7 @@ proto.tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse.prototy
|
|
|
15481
15481
|
*/
|
|
15482
15482
|
proto.tinkoff.public.invest.api.contract.v1.InstrumentClosePriceResponse.prototype.getEveningSessionPrice = function() {
|
|
15483
15483
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
15484
|
-
jspb.Message.getWrapperField(this,
|
|
15484
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 12));
|
|
15485
15485
|
};
|
|
15486
15486
|
|
|
15487
15487
|
|
|
@@ -16068,7 +16068,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisRequest.Deviation.pro
|
|
|
16068
16068
|
*/
|
|
16069
16069
|
proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisRequest.Deviation.toObject = function(includeInstance, msg) {
|
|
16070
16070
|
var f, obj = {
|
|
16071
|
-
deviationMultiplier: (f = msg.getDeviationMultiplier()) &&
|
|
16071
|
+
deviationMultiplier: (f = msg.getDeviationMultiplier()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f)
|
|
16072
16072
|
};
|
|
16073
16073
|
|
|
16074
16074
|
if (includeInstance) {
|
|
@@ -16106,8 +16106,8 @@ proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisRequest.Deviation.des
|
|
|
16106
16106
|
var field = reader.getFieldNumber();
|
|
16107
16107
|
switch (field) {
|
|
16108
16108
|
case 1:
|
|
16109
|
-
var value = new
|
|
16110
|
-
reader.readMessage(value,
|
|
16109
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
16110
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
16111
16111
|
msg.setDeviationMultiplier(value);
|
|
16112
16112
|
break;
|
|
16113
16113
|
default:
|
|
@@ -16144,7 +16144,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisRequest.Deviation.ser
|
|
|
16144
16144
|
writer.writeMessage(
|
|
16145
16145
|
1,
|
|
16146
16146
|
f,
|
|
16147
|
-
|
|
16147
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
16148
16148
|
);
|
|
16149
16149
|
}
|
|
16150
16150
|
};
|
|
@@ -16156,7 +16156,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisRequest.Deviation.ser
|
|
|
16156
16156
|
*/
|
|
16157
16157
|
proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisRequest.Deviation.prototype.getDeviationMultiplier = function() {
|
|
16158
16158
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
16159
|
-
jspb.Message.getWrapperField(this,
|
|
16159
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 1));
|
|
16160
16160
|
};
|
|
16161
16161
|
|
|
16162
16162
|
|
|
@@ -16580,11 +16580,11 @@ proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisResponse.TechAnalysis
|
|
|
16580
16580
|
proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisResponse.TechAnalysisItem.toObject = function(includeInstance, msg) {
|
|
16581
16581
|
var f, obj = {
|
|
16582
16582
|
timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
16583
|
-
middleBand: (f = msg.getMiddleBand()) &&
|
|
16584
|
-
upperBand: (f = msg.getUpperBand()) &&
|
|
16585
|
-
lowerBand: (f = msg.getLowerBand()) &&
|
|
16586
|
-
signal: (f = msg.getSignal()) &&
|
|
16587
|
-
macd: (f = msg.getMacd()) &&
|
|
16583
|
+
middleBand: (f = msg.getMiddleBand()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
16584
|
+
upperBand: (f = msg.getUpperBand()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
16585
|
+
lowerBand: (f = msg.getLowerBand()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
16586
|
+
signal: (f = msg.getSignal()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
16587
|
+
macd: (f = msg.getMacd()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f)
|
|
16588
16588
|
};
|
|
16589
16589
|
|
|
16590
16590
|
if (includeInstance) {
|
|
@@ -16627,28 +16627,28 @@ proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisResponse.TechAnalysis
|
|
|
16627
16627
|
msg.setTimestamp(value);
|
|
16628
16628
|
break;
|
|
16629
16629
|
case 2:
|
|
16630
|
-
var value = new
|
|
16631
|
-
reader.readMessage(value,
|
|
16630
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
16631
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
16632
16632
|
msg.setMiddleBand(value);
|
|
16633
16633
|
break;
|
|
16634
16634
|
case 3:
|
|
16635
|
-
var value = new
|
|
16636
|
-
reader.readMessage(value,
|
|
16635
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
16636
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
16637
16637
|
msg.setUpperBand(value);
|
|
16638
16638
|
break;
|
|
16639
16639
|
case 4:
|
|
16640
|
-
var value = new
|
|
16641
|
-
reader.readMessage(value,
|
|
16640
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
16641
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
16642
16642
|
msg.setLowerBand(value);
|
|
16643
16643
|
break;
|
|
16644
16644
|
case 5:
|
|
16645
|
-
var value = new
|
|
16646
|
-
reader.readMessage(value,
|
|
16645
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
16646
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
16647
16647
|
msg.setSignal(value);
|
|
16648
16648
|
break;
|
|
16649
16649
|
case 6:
|
|
16650
|
-
var value = new
|
|
16651
|
-
reader.readMessage(value,
|
|
16650
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
16651
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
16652
16652
|
msg.setMacd(value);
|
|
16653
16653
|
break;
|
|
16654
16654
|
default:
|
|
@@ -16693,7 +16693,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisResponse.TechAnalysis
|
|
|
16693
16693
|
writer.writeMessage(
|
|
16694
16694
|
2,
|
|
16695
16695
|
f,
|
|
16696
|
-
|
|
16696
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
16697
16697
|
);
|
|
16698
16698
|
}
|
|
16699
16699
|
f = message.getUpperBand();
|
|
@@ -16701,7 +16701,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisResponse.TechAnalysis
|
|
|
16701
16701
|
writer.writeMessage(
|
|
16702
16702
|
3,
|
|
16703
16703
|
f,
|
|
16704
|
-
|
|
16704
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
16705
16705
|
);
|
|
16706
16706
|
}
|
|
16707
16707
|
f = message.getLowerBand();
|
|
@@ -16709,7 +16709,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisResponse.TechAnalysis
|
|
|
16709
16709
|
writer.writeMessage(
|
|
16710
16710
|
4,
|
|
16711
16711
|
f,
|
|
16712
|
-
|
|
16712
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
16713
16713
|
);
|
|
16714
16714
|
}
|
|
16715
16715
|
f = message.getSignal();
|
|
@@ -16717,7 +16717,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisResponse.TechAnalysis
|
|
|
16717
16717
|
writer.writeMessage(
|
|
16718
16718
|
5,
|
|
16719
16719
|
f,
|
|
16720
|
-
|
|
16720
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
16721
16721
|
);
|
|
16722
16722
|
}
|
|
16723
16723
|
f = message.getMacd();
|
|
@@ -16725,7 +16725,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisResponse.TechAnalysis
|
|
|
16725
16725
|
writer.writeMessage(
|
|
16726
16726
|
6,
|
|
16727
16727
|
f,
|
|
16728
|
-
|
|
16728
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
16729
16729
|
);
|
|
16730
16730
|
}
|
|
16731
16731
|
};
|
|
@@ -16774,7 +16774,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisResponse.TechAnalysis
|
|
|
16774
16774
|
*/
|
|
16775
16775
|
proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisResponse.TechAnalysisItem.prototype.getMiddleBand = function() {
|
|
16776
16776
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
16777
|
-
jspb.Message.getWrapperField(this,
|
|
16777
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 2));
|
|
16778
16778
|
};
|
|
16779
16779
|
|
|
16780
16780
|
|
|
@@ -16811,7 +16811,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisResponse.TechAnalysis
|
|
|
16811
16811
|
*/
|
|
16812
16812
|
proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisResponse.TechAnalysisItem.prototype.getUpperBand = function() {
|
|
16813
16813
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
16814
|
-
jspb.Message.getWrapperField(this,
|
|
16814
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 3));
|
|
16815
16815
|
};
|
|
16816
16816
|
|
|
16817
16817
|
|
|
@@ -16848,7 +16848,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisResponse.TechAnalysis
|
|
|
16848
16848
|
*/
|
|
16849
16849
|
proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisResponse.TechAnalysisItem.prototype.getLowerBand = function() {
|
|
16850
16850
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
16851
|
-
jspb.Message.getWrapperField(this,
|
|
16851
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 4));
|
|
16852
16852
|
};
|
|
16853
16853
|
|
|
16854
16854
|
|
|
@@ -16885,7 +16885,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisResponse.TechAnalysis
|
|
|
16885
16885
|
*/
|
|
16886
16886
|
proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisResponse.TechAnalysisItem.prototype.getSignal = function() {
|
|
16887
16887
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
16888
|
-
jspb.Message.getWrapperField(this,
|
|
16888
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 5));
|
|
16889
16889
|
};
|
|
16890
16890
|
|
|
16891
16891
|
|
|
@@ -16922,7 +16922,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisResponse.TechAnalysis
|
|
|
16922
16922
|
*/
|
|
16923
16923
|
proto.tinkoff.public.invest.api.contract.v1.GetTechAnalysisResponse.TechAnalysisItem.prototype.getMacd = function() {
|
|
16924
16924
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
16925
|
-
jspb.Message.getWrapperField(this,
|
|
16925
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 6));
|
|
16926
16926
|
};
|
|
16927
16927
|
|
|
16928
16928
|
|
|
@@ -17641,7 +17641,7 @@ proto.tinkoff.public.invest.api.contract.v1.MarketValue.prototype.toObject = fun
|
|
|
17641
17641
|
proto.tinkoff.public.invest.api.contract.v1.MarketValue.toObject = function(includeInstance, msg) {
|
|
17642
17642
|
var f, obj = {
|
|
17643
17643
|
type: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
|
|
17644
|
-
value: (f = msg.getValue()) &&
|
|
17644
|
+
value: (f = msg.getValue()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
17645
17645
|
time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
17646
17646
|
};
|
|
17647
17647
|
|
|
@@ -17684,8 +17684,8 @@ proto.tinkoff.public.invest.api.contract.v1.MarketValue.deserializeBinaryFromRea
|
|
|
17684
17684
|
msg.setType(value);
|
|
17685
17685
|
break;
|
|
17686
17686
|
case 2:
|
|
17687
|
-
var value = new
|
|
17688
|
-
reader.readMessage(value,
|
|
17687
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
17688
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
17689
17689
|
msg.setValue(value);
|
|
17690
17690
|
break;
|
|
17691
17691
|
case 3:
|
|
@@ -17734,7 +17734,7 @@ proto.tinkoff.public.invest.api.contract.v1.MarketValue.serializeBinaryToWriter
|
|
|
17734
17734
|
writer.writeMessage(
|
|
17735
17735
|
2,
|
|
17736
17736
|
f,
|
|
17737
|
-
|
|
17737
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
17738
17738
|
);
|
|
17739
17739
|
}
|
|
17740
17740
|
f = message.getTime();
|
|
@@ -17790,7 +17790,7 @@ proto.tinkoff.public.invest.api.contract.v1.MarketValue.prototype.hasType = func
|
|
|
17790
17790
|
*/
|
|
17791
17791
|
proto.tinkoff.public.invest.api.contract.v1.MarketValue.prototype.getValue = function() {
|
|
17792
17792
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
17793
|
-
jspb.Message.getWrapperField(this,
|
|
17793
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 2));
|
|
17794
17794
|
};
|
|
17795
17795
|
|
|
17796
17796
|
|