@marleena/trb-proto 0.1.6 → 1.0.3
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 +3 -3
- package/gen/js-ts/{clickhouse_manager → api/clickhouse}/ManagerServiceClientPb.ts +262 -262
- package/gen/js-ts/{clickhouse_manager → api/clickhouse}/manager_pb.d.ts +2 -2
- package/gen/js-ts/{clickhouse_manager → api/clickhouse}/manager_pb.js +3 -3
- package/gen/js-ts/{db_api/Db_apiServiceClientPb.ts → api/data/DataServiceClientPb.ts} +42 -42
- package/gen/js-ts/{db_api/db_api_pb.d.ts → api/data/data_pb.d.ts} +1 -1
- package/gen/js-ts/{db_api/db_api_pb.js → api/data/data_pb.js} +2 -2
- package/gen/js-ts/{nats → api/nats}/ManagerServiceClientPb.ts +232 -232
- package/gen/js-ts/{nats → api/nats}/manager_pb.d.ts +1 -1
- package/gen/js-ts/{nats → api/nats}/manager_pb.js +2 -2
- package/package.json +1 -1
- package/gen/js-ts/clickhouse/Clickhouse_grpcServiceClientPb.ts +0 -108
- package/gen/js-ts/clickhouse/clickhouse_grpc_pb.d.ts +0 -464
- package/gen/js-ts/clickhouse/clickhouse_grpc_pb.js +0 -3611
- package/gen/js-ts/example/ExampleServiceClientPb.ts +0 -108
- package/gen/js-ts/example/Example_pb.d.ts +0 -77
- package/gen/js-ts/example/Example_pb.js +0 -634
- package/gen/js-ts/manager_indicators/Manager_indicatorsServiceClientPb.ts +0 -86
- package/gen/js-ts/manager_indicators/manager_indicators_pb.d.ts +0 -190
- package/gen/js-ts/manager_indicators/manager_indicators_pb.js +0 -563
- package/gen/js-ts/moex/MoexServiceClientPb.ts +0 -86
- package/gen/js-ts/moex/moex_pb.d.ts +0 -53
- package/gen/js-ts/moex/moex_pb.js +0 -420
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview gRPC-Web generated client stub for manager_indicators
|
|
3
|
-
* @enhanceable
|
|
4
|
-
* @public
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
-
// versions:
|
|
9
|
-
// protoc-gen-grpc-web v1.5.0
|
|
10
|
-
// protoc v7.34.1
|
|
11
|
-
// source: manager_indicators/manager_indicators.proto
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
/* eslint-disable */
|
|
15
|
-
// @ts-nocheck
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
import * as grpcWeb from 'grpc-web';
|
|
19
|
-
|
|
20
|
-
import * as manager_indicators_manager_indicators_pb from '../manager_indicators/manager_indicators_pb'; // proto import: "manager_indicators/manager_indicators.proto"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
export class manager_indicatorsClient {
|
|
24
|
-
client_: grpcWeb.AbstractClientBase;
|
|
25
|
-
hostname_: string;
|
|
26
|
-
credentials_: null | { [index: string]: string; };
|
|
27
|
-
options_: null | { [index: string]: any; };
|
|
28
|
-
|
|
29
|
-
constructor (hostname: string,
|
|
30
|
-
credentials?: null | { [index: string]: string; },
|
|
31
|
-
options?: null | { [index: string]: any; }) {
|
|
32
|
-
if (!options) options = {};
|
|
33
|
-
if (!credentials) credentials = {};
|
|
34
|
-
options['format'] = 'binary';
|
|
35
|
-
|
|
36
|
-
this.client_ = new grpcWeb.GrpcWebClientBase(options);
|
|
37
|
-
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
38
|
-
this.credentials_ = credentials;
|
|
39
|
-
this.options_ = options;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
methodDescriptorupdated_indicator = new grpcWeb.MethodDescriptor(
|
|
43
|
-
'/manager_indicators.manager_indicators/updated_indicator',
|
|
44
|
-
grpcWeb.MethodType.UNARY,
|
|
45
|
-
manager_indicators_manager_indicators_pb.IndicatorUpdateRequest,
|
|
46
|
-
manager_indicators_manager_indicators_pb.IndicatorUpdateResponse,
|
|
47
|
-
(request: manager_indicators_manager_indicators_pb.IndicatorUpdateRequest) => {
|
|
48
|
-
return request.serializeBinary();
|
|
49
|
-
},
|
|
50
|
-
manager_indicators_manager_indicators_pb.IndicatorUpdateResponse.deserializeBinary
|
|
51
|
-
);
|
|
52
|
-
|
|
53
|
-
updated_indicator(
|
|
54
|
-
request: manager_indicators_manager_indicators_pb.IndicatorUpdateRequest,
|
|
55
|
-
metadata?: grpcWeb.Metadata | null): Promise<manager_indicators_manager_indicators_pb.IndicatorUpdateResponse>;
|
|
56
|
-
|
|
57
|
-
updated_indicator(
|
|
58
|
-
request: manager_indicators_manager_indicators_pb.IndicatorUpdateRequest,
|
|
59
|
-
metadata: grpcWeb.Metadata | null,
|
|
60
|
-
callback: (err: grpcWeb.RpcError,
|
|
61
|
-
response: manager_indicators_manager_indicators_pb.IndicatorUpdateResponse) => void): grpcWeb.ClientReadableStream<manager_indicators_manager_indicators_pb.IndicatorUpdateResponse>;
|
|
62
|
-
|
|
63
|
-
updated_indicator(
|
|
64
|
-
request: manager_indicators_manager_indicators_pb.IndicatorUpdateRequest,
|
|
65
|
-
metadata?: grpcWeb.Metadata | null,
|
|
66
|
-
callback?: (err: grpcWeb.RpcError,
|
|
67
|
-
response: manager_indicators_manager_indicators_pb.IndicatorUpdateResponse) => void) {
|
|
68
|
-
if (callback !== undefined) {
|
|
69
|
-
return this.client_.rpcCall(
|
|
70
|
-
this.hostname_ +
|
|
71
|
-
'/manager_indicators.manager_indicators/updated_indicator',
|
|
72
|
-
request,
|
|
73
|
-
metadata || {},
|
|
74
|
-
this.methodDescriptorupdated_indicator,
|
|
75
|
-
callback);
|
|
76
|
-
}
|
|
77
|
-
return this.client_.unaryCall(
|
|
78
|
-
this.hostname_ +
|
|
79
|
-
'/manager_indicators.manager_indicators/updated_indicator',
|
|
80
|
-
request,
|
|
81
|
-
metadata || {},
|
|
82
|
-
this.methodDescriptorupdated_indicator);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
}
|
|
86
|
-
|
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
import * as jspb from 'google-protobuf'
|
|
2
|
-
|
|
3
|
-
import * as google_api_annotations_pb from '../google/api/annotations_pb'; // proto import: "google/api/annotations.proto"
|
|
4
|
-
import * as google_api_field_behavior_pb from '../google/api/field_behavior_pb'; // proto import: "google/api/field_behavior.proto"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export class IndicatorUpdateRequest extends jspb.Message {
|
|
8
|
-
getIndicatorsListList(): Array<indicators>;
|
|
9
|
-
setIndicatorsListList(value: Array<indicators>): IndicatorUpdateRequest;
|
|
10
|
-
clearIndicatorsListList(): IndicatorUpdateRequest;
|
|
11
|
-
addIndicatorsList(value: indicators, index?: number): IndicatorUpdateRequest;
|
|
12
|
-
|
|
13
|
-
getIsUpdate(): boolean;
|
|
14
|
-
setIsUpdate(value: boolean): IndicatorUpdateRequest;
|
|
15
|
-
|
|
16
|
-
serializeBinary(): Uint8Array;
|
|
17
|
-
toObject(includeInstance?: boolean): IndicatorUpdateRequest.AsObject;
|
|
18
|
-
static toObject(includeInstance: boolean, msg: IndicatorUpdateRequest): IndicatorUpdateRequest.AsObject;
|
|
19
|
-
static serializeBinaryToWriter(message: IndicatorUpdateRequest, writer: jspb.BinaryWriter): void;
|
|
20
|
-
static deserializeBinary(bytes: Uint8Array): IndicatorUpdateRequest;
|
|
21
|
-
static deserializeBinaryFromReader(message: IndicatorUpdateRequest, reader: jspb.BinaryReader): IndicatorUpdateRequest;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export namespace IndicatorUpdateRequest {
|
|
25
|
-
export type AsObject = {
|
|
26
|
-
indicatorsListList: Array<indicators>,
|
|
27
|
-
isUpdate: boolean,
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export class IndicatorUpdateResponse extends jspb.Message {
|
|
32
|
-
getSuccess(): boolean;
|
|
33
|
-
setSuccess(value: boolean): IndicatorUpdateResponse;
|
|
34
|
-
|
|
35
|
-
getMessage(): string;
|
|
36
|
-
setMessage(value: string): IndicatorUpdateResponse;
|
|
37
|
-
|
|
38
|
-
serializeBinary(): Uint8Array;
|
|
39
|
-
toObject(includeInstance?: boolean): IndicatorUpdateResponse.AsObject;
|
|
40
|
-
static toObject(includeInstance: boolean, msg: IndicatorUpdateResponse): IndicatorUpdateResponse.AsObject;
|
|
41
|
-
static serializeBinaryToWriter(message: IndicatorUpdateResponse, writer: jspb.BinaryWriter): void;
|
|
42
|
-
static deserializeBinary(bytes: Uint8Array): IndicatorUpdateResponse;
|
|
43
|
-
static deserializeBinaryFromReader(message: IndicatorUpdateResponse, reader: jspb.BinaryReader): IndicatorUpdateResponse;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export namespace IndicatorUpdateResponse {
|
|
47
|
-
export type AsObject = {
|
|
48
|
-
success: boolean,
|
|
49
|
-
message: string,
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export enum indicators {
|
|
54
|
-
AD = 0,
|
|
55
|
-
ADOSC = 1,
|
|
56
|
-
ADX = 2,
|
|
57
|
-
ADXR = 3,
|
|
58
|
-
APO = 4,
|
|
59
|
-
AROON = 5,
|
|
60
|
-
AROONOSC = 6,
|
|
61
|
-
ATR = 7,
|
|
62
|
-
AVGPRICE = 8,
|
|
63
|
-
BBANDS = 9,
|
|
64
|
-
BETA = 10,
|
|
65
|
-
BOP = 11,
|
|
66
|
-
CCI = 12,
|
|
67
|
-
CDL2CROWS = 13,
|
|
68
|
-
CDL3BLACKCROWS = 14,
|
|
69
|
-
CDL3INSIDE = 15,
|
|
70
|
-
CDL3LINESTRIKE = 16,
|
|
71
|
-
CDL3STARSINSOUTH = 17,
|
|
72
|
-
CDL3WHITESOLDIERS = 18,
|
|
73
|
-
CDLABANDONEDBABY = 19,
|
|
74
|
-
CDLADVANCEBLOCK = 20,
|
|
75
|
-
CDLBELTHOLD = 21,
|
|
76
|
-
CDLBREAKAWAY = 22,
|
|
77
|
-
CDLCLOSINGMARUBOZU = 23,
|
|
78
|
-
CDLCONCEALBABYSWALL = 24,
|
|
79
|
-
CDLCOUNTERATTACK = 25,
|
|
80
|
-
CDLDARKCLOUDCOVER = 26,
|
|
81
|
-
CDLDOJI = 27,
|
|
82
|
-
CDLDOJISTAR = 28,
|
|
83
|
-
CDLDRAGONFLYDOJI = 29,
|
|
84
|
-
CDLENGULFING = 30,
|
|
85
|
-
CDLEVENINGDOJISTAR = 31,
|
|
86
|
-
CDLEVENINGSTAR = 32,
|
|
87
|
-
CDLGAPSIDESIDEWHITE = 33,
|
|
88
|
-
CDLGRAVESTONEDOJI = 34,
|
|
89
|
-
CDLHAMMER = 35,
|
|
90
|
-
CDLHANGINGMAN = 36,
|
|
91
|
-
CDLHARAMI = 37,
|
|
92
|
-
CDLHARAMICROSS = 38,
|
|
93
|
-
CDLHIGHWAVE = 39,
|
|
94
|
-
CDLHIKKAKE = 40,
|
|
95
|
-
CDLHIKKAKEMOD = 41,
|
|
96
|
-
CDLHOMINGPIGEON = 42,
|
|
97
|
-
CDLIDENTICAL3CROWS = 43,
|
|
98
|
-
CDLINNECK = 44,
|
|
99
|
-
CDLINVERTEDHAMMER = 45,
|
|
100
|
-
CDLKICKING = 46,
|
|
101
|
-
CDLKICKINGBYLENGTH = 47,
|
|
102
|
-
CDLLADDERBOTTOM = 48,
|
|
103
|
-
CDLLONGLEGGEDDOJI = 49,
|
|
104
|
-
CDLLONGLINE = 50,
|
|
105
|
-
CDLMARUBOZU = 51,
|
|
106
|
-
CDLMATCHINGLOW = 52,
|
|
107
|
-
CDLMATHOLD = 53,
|
|
108
|
-
CDLMORNINGDOJISTAR = 54,
|
|
109
|
-
CDLMORNINGSTAR = 55,
|
|
110
|
-
CDLONNECK = 56,
|
|
111
|
-
CDLPIERCING = 57,
|
|
112
|
-
CDLRICKSHAWMAN = 58,
|
|
113
|
-
CDLRISEFALL3METHODS = 59,
|
|
114
|
-
CDLSEPARATINGLINES = 60,
|
|
115
|
-
CDLSHOOTINGSTAR = 61,
|
|
116
|
-
CDLSHORTLINE = 62,
|
|
117
|
-
CDLSPINNINGTOP = 63,
|
|
118
|
-
CDLSTALLEDPATTERN = 64,
|
|
119
|
-
CDLSTICKSANDWICH = 65,
|
|
120
|
-
CDLTAKURI = 66,
|
|
121
|
-
CDLTASUKIGAP = 67,
|
|
122
|
-
CDLTHRUSTING = 68,
|
|
123
|
-
CDLTRISTAR = 69,
|
|
124
|
-
CDLUNIQUE3RIVER = 70,
|
|
125
|
-
CDLUPSIDEGAP2CROWS = 71,
|
|
126
|
-
CDLXSIDEGAP3METHODS = 72,
|
|
127
|
-
CMO = 73,
|
|
128
|
-
CORREL = 74,
|
|
129
|
-
DEMA = 75,
|
|
130
|
-
DX = 76,
|
|
131
|
-
EMA = 77,
|
|
132
|
-
HT_DCPERIOD = 78,
|
|
133
|
-
HT_DCPHASE = 79,
|
|
134
|
-
HT_PHASOR = 80,
|
|
135
|
-
HT_SINE = 81,
|
|
136
|
-
HT_TRENDLINE = 82,
|
|
137
|
-
HT_TRENDMODE = 83,
|
|
138
|
-
KAMA = 84,
|
|
139
|
-
LINEARREG = 85,
|
|
140
|
-
LINEARREG_ANGLE = 86,
|
|
141
|
-
LINEARREG_INTERCEPT = 87,
|
|
142
|
-
LINEARREG_SLOPE = 88,
|
|
143
|
-
MA = 89,
|
|
144
|
-
MACD = 90,
|
|
145
|
-
MACDEXT = 91,
|
|
146
|
-
MAMA = 92,
|
|
147
|
-
MAX = 93,
|
|
148
|
-
MAXINDEX = 94,
|
|
149
|
-
MEDPRICE = 95,
|
|
150
|
-
MFI = 96,
|
|
151
|
-
MIDPOINT = 97,
|
|
152
|
-
MIDPRICE = 98,
|
|
153
|
-
MIN = 99,
|
|
154
|
-
MININDEX = 100,
|
|
155
|
-
MINMAX = 101,
|
|
156
|
-
MINMAXINDEX = 102,
|
|
157
|
-
MINUS_DI = 103,
|
|
158
|
-
MINUS_DM = 104,
|
|
159
|
-
MOM = 105,
|
|
160
|
-
NATR = 106,
|
|
161
|
-
OBV = 107,
|
|
162
|
-
PLUS_DI = 108,
|
|
163
|
-
PLUS_DM = 109,
|
|
164
|
-
PPO = 110,
|
|
165
|
-
ROC = 111,
|
|
166
|
-
ROCP = 112,
|
|
167
|
-
ROCR = 113,
|
|
168
|
-
ROCR100 = 114,
|
|
169
|
-
RSI = 115,
|
|
170
|
-
SAR = 116,
|
|
171
|
-
SAREXT = 117,
|
|
172
|
-
SMA = 118,
|
|
173
|
-
STDDEV = 119,
|
|
174
|
-
STOCH = 120,
|
|
175
|
-
STOCHF = 121,
|
|
176
|
-
STOCHRSI = 122,
|
|
177
|
-
SUM = 123,
|
|
178
|
-
T3 = 124,
|
|
179
|
-
TEMA = 125,
|
|
180
|
-
TRANGE = 126,
|
|
181
|
-
TRIMA = 127,
|
|
182
|
-
TRIX = 128,
|
|
183
|
-
TSF = 129,
|
|
184
|
-
TYPPRICE = 130,
|
|
185
|
-
ULTOSC = 131,
|
|
186
|
-
VAR = 132,
|
|
187
|
-
WCLPRICE = 133,
|
|
188
|
-
WILLR = 134,
|
|
189
|
-
WMA = 135,
|
|
190
|
-
}
|