@marleena/trb-proto 1.0.43 → 1.0.45
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 +1 -1
- package/gen/js-ts/indicators/IndicatorsServiceClientPb.ts +58 -101
- package/gen/js-ts/indicators/indicators_pb.d.ts +62 -296
- package/gen/js-ts/indicators/indicators_pb.js +362 -2256
- package/gen/js-ts/indicators/params_pb.d.ts +4325 -0
- package/gen/js-ts/indicators/params_pb.js +35391 -0
- package/gen/js-ts/indicators/values_pb.d.ts +1943 -0
- package/gen/js-ts/indicators/values_pb.js +15239 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ make gene
|
|
|
33
33
|
| `clickhouse` | `ClickHouse_Admin`, `ClickHouse` |
|
|
34
34
|
| `postgresql` | `PostgreSQL_Admin`, `PostgreSQL` |
|
|
35
35
|
| `nats` | `Nats_Admin` |
|
|
36
|
-
| `indicators` | `Indicators` |
|
|
36
|
+
| `indicators` | `Indicators`, `Settings` |
|
|
37
37
|
| `test` | `Test` |
|
|
38
38
|
|
|
39
39
|
`clickhouse` — `admin.proto` и `clickhouse.proto`.
|
|
@@ -20,7 +20,7 @@ import * as grpcWeb from 'grpc-web';
|
|
|
20
20
|
import * as indicators_indicators_pb from '../indicators/indicators_pb'; // proto import: "indicators/indicators.proto"
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
export class
|
|
23
|
+
export class Indicator_SettingsClient {
|
|
24
24
|
client_: grpcWeb.AbstractClientBase;
|
|
25
25
|
hostname_: string;
|
|
26
26
|
credentials_: null | { [index: string]: string; };
|
|
@@ -39,176 +39,133 @@ export class IndicatorsClient {
|
|
|
39
39
|
this.options_ = options;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
'/trb.indicators.v1.
|
|
42
|
+
methodDescriptorGetSettingsHash = new grpcWeb.MethodDescriptor(
|
|
43
|
+
'/trb.indicators.v1.Indicator_Settings/GetSettingsHash',
|
|
44
44
|
grpcWeb.MethodType.UNARY,
|
|
45
|
-
indicators_indicators_pb.
|
|
46
|
-
indicators_indicators_pb.
|
|
47
|
-
(request: indicators_indicators_pb.
|
|
45
|
+
indicators_indicators_pb.Settings,
|
|
46
|
+
indicators_indicators_pb.SettingsHash,
|
|
47
|
+
(request: indicators_indicators_pb.Settings) => {
|
|
48
48
|
return request.serializeBinary();
|
|
49
49
|
},
|
|
50
|
-
indicators_indicators_pb.
|
|
50
|
+
indicators_indicators_pb.SettingsHash.deserializeBinary
|
|
51
51
|
);
|
|
52
52
|
|
|
53
|
-
|
|
54
|
-
request: indicators_indicators_pb.
|
|
55
|
-
metadata?: grpcWeb.Metadata | null): Promise<indicators_indicators_pb.
|
|
53
|
+
getSettingsHash(
|
|
54
|
+
request: indicators_indicators_pb.Settings,
|
|
55
|
+
metadata?: grpcWeb.Metadata | null): Promise<indicators_indicators_pb.SettingsHash>;
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
request: indicators_indicators_pb.
|
|
57
|
+
getSettingsHash(
|
|
58
|
+
request: indicators_indicators_pb.Settings,
|
|
59
59
|
metadata: grpcWeb.Metadata | null,
|
|
60
60
|
callback: (err: grpcWeb.RpcError,
|
|
61
|
-
response: indicators_indicators_pb.
|
|
61
|
+
response: indicators_indicators_pb.SettingsHash) => void): grpcWeb.ClientReadableStream<indicators_indicators_pb.SettingsHash>;
|
|
62
62
|
|
|
63
|
-
|
|
64
|
-
request: indicators_indicators_pb.
|
|
63
|
+
getSettingsHash(
|
|
64
|
+
request: indicators_indicators_pb.Settings,
|
|
65
65
|
metadata?: grpcWeb.Metadata | null,
|
|
66
66
|
callback?: (err: grpcWeb.RpcError,
|
|
67
|
-
response: indicators_indicators_pb.
|
|
67
|
+
response: indicators_indicators_pb.SettingsHash) => void) {
|
|
68
68
|
if (callback !== undefined) {
|
|
69
69
|
return this.client_.rpcCall(
|
|
70
70
|
this.hostname_ +
|
|
71
|
-
'/trb.indicators.v1.
|
|
71
|
+
'/trb.indicators.v1.Indicator_Settings/GetSettingsHash',
|
|
72
72
|
request,
|
|
73
73
|
metadata || {},
|
|
74
|
-
this.
|
|
74
|
+
this.methodDescriptorGetSettingsHash,
|
|
75
75
|
callback);
|
|
76
76
|
}
|
|
77
77
|
return this.client_.unaryCall(
|
|
78
78
|
this.hostname_ +
|
|
79
|
-
'/trb.indicators.v1.
|
|
79
|
+
'/trb.indicators.v1.Indicator_Settings/GetSettingsHash',
|
|
80
80
|
request,
|
|
81
81
|
metadata || {},
|
|
82
|
-
this.
|
|
82
|
+
this.methodDescriptorGetSettingsHash);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
|
|
86
|
-
'/trb.indicators.v1.
|
|
85
|
+
methodDescriptorUpdateSettings = new grpcWeb.MethodDescriptor(
|
|
86
|
+
'/trb.indicators.v1.Indicator_Settings/UpdateSettings',
|
|
87
87
|
grpcWeb.MethodType.UNARY,
|
|
88
|
-
indicators_indicators_pb.
|
|
89
|
-
indicators_indicators_pb.
|
|
90
|
-
(request: indicators_indicators_pb.
|
|
88
|
+
indicators_indicators_pb.Settings,
|
|
89
|
+
indicators_indicators_pb.UpdateSettingsResponse,
|
|
90
|
+
(request: indicators_indicators_pb.Settings) => {
|
|
91
91
|
return request.serializeBinary();
|
|
92
92
|
},
|
|
93
|
-
indicators_indicators_pb.
|
|
93
|
+
indicators_indicators_pb.UpdateSettingsResponse.deserializeBinary
|
|
94
94
|
);
|
|
95
95
|
|
|
96
|
-
|
|
97
|
-
request: indicators_indicators_pb.
|
|
98
|
-
metadata?: grpcWeb.Metadata | null): Promise<indicators_indicators_pb.
|
|
96
|
+
updateSettings(
|
|
97
|
+
request: indicators_indicators_pb.Settings,
|
|
98
|
+
metadata?: grpcWeb.Metadata | null): Promise<indicators_indicators_pb.UpdateSettingsResponse>;
|
|
99
99
|
|
|
100
|
-
|
|
101
|
-
request: indicators_indicators_pb.
|
|
100
|
+
updateSettings(
|
|
101
|
+
request: indicators_indicators_pb.Settings,
|
|
102
102
|
metadata: grpcWeb.Metadata | null,
|
|
103
103
|
callback: (err: grpcWeb.RpcError,
|
|
104
|
-
response: indicators_indicators_pb.
|
|
104
|
+
response: indicators_indicators_pb.UpdateSettingsResponse) => void): grpcWeb.ClientReadableStream<indicators_indicators_pb.UpdateSettingsResponse>;
|
|
105
105
|
|
|
106
|
-
|
|
107
|
-
request: indicators_indicators_pb.
|
|
106
|
+
updateSettings(
|
|
107
|
+
request: indicators_indicators_pb.Settings,
|
|
108
108
|
metadata?: grpcWeb.Metadata | null,
|
|
109
109
|
callback?: (err: grpcWeb.RpcError,
|
|
110
|
-
response: indicators_indicators_pb.
|
|
110
|
+
response: indicators_indicators_pb.UpdateSettingsResponse) => void) {
|
|
111
111
|
if (callback !== undefined) {
|
|
112
112
|
return this.client_.rpcCall(
|
|
113
113
|
this.hostname_ +
|
|
114
|
-
'/trb.indicators.v1.
|
|
114
|
+
'/trb.indicators.v1.Indicator_Settings/UpdateSettings',
|
|
115
115
|
request,
|
|
116
116
|
metadata || {},
|
|
117
|
-
this.
|
|
117
|
+
this.methodDescriptorUpdateSettings,
|
|
118
118
|
callback);
|
|
119
119
|
}
|
|
120
120
|
return this.client_.unaryCall(
|
|
121
121
|
this.hostname_ +
|
|
122
|
-
'/trb.indicators.v1.
|
|
122
|
+
'/trb.indicators.v1.Indicator_Settings/UpdateSettings',
|
|
123
123
|
request,
|
|
124
124
|
metadata || {},
|
|
125
|
-
this.
|
|
125
|
+
this.methodDescriptorUpdateSettings);
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
|
|
129
|
-
'/trb.indicators.v1.
|
|
128
|
+
methodDescriptorDeleteSettings = new grpcWeb.MethodDescriptor(
|
|
129
|
+
'/trb.indicators.v1.Indicator_Settings/DeleteSettings',
|
|
130
130
|
grpcWeb.MethodType.UNARY,
|
|
131
|
-
indicators_indicators_pb.
|
|
132
|
-
indicators_indicators_pb.
|
|
133
|
-
(request: indicators_indicators_pb.
|
|
131
|
+
indicators_indicators_pb.Settings,
|
|
132
|
+
indicators_indicators_pb.DeleteSettingsResponse,
|
|
133
|
+
(request: indicators_indicators_pb.Settings) => {
|
|
134
134
|
return request.serializeBinary();
|
|
135
135
|
},
|
|
136
|
-
indicators_indicators_pb.
|
|
136
|
+
indicators_indicators_pb.DeleteSettingsResponse.deserializeBinary
|
|
137
137
|
);
|
|
138
138
|
|
|
139
|
-
|
|
140
|
-
request: indicators_indicators_pb.
|
|
141
|
-
metadata?: grpcWeb.Metadata | null): Promise<indicators_indicators_pb.
|
|
139
|
+
deleteSettings(
|
|
140
|
+
request: indicators_indicators_pb.Settings,
|
|
141
|
+
metadata?: grpcWeb.Metadata | null): Promise<indicators_indicators_pb.DeleteSettingsResponse>;
|
|
142
142
|
|
|
143
|
-
|
|
144
|
-
request: indicators_indicators_pb.
|
|
143
|
+
deleteSettings(
|
|
144
|
+
request: indicators_indicators_pb.Settings,
|
|
145
145
|
metadata: grpcWeb.Metadata | null,
|
|
146
146
|
callback: (err: grpcWeb.RpcError,
|
|
147
|
-
response: indicators_indicators_pb.
|
|
147
|
+
response: indicators_indicators_pb.DeleteSettingsResponse) => void): grpcWeb.ClientReadableStream<indicators_indicators_pb.DeleteSettingsResponse>;
|
|
148
148
|
|
|
149
|
-
|
|
150
|
-
request: indicators_indicators_pb.
|
|
149
|
+
deleteSettings(
|
|
150
|
+
request: indicators_indicators_pb.Settings,
|
|
151
151
|
metadata?: grpcWeb.Metadata | null,
|
|
152
152
|
callback?: (err: grpcWeb.RpcError,
|
|
153
|
-
response: indicators_indicators_pb.
|
|
153
|
+
response: indicators_indicators_pb.DeleteSettingsResponse) => void) {
|
|
154
154
|
if (callback !== undefined) {
|
|
155
155
|
return this.client_.rpcCall(
|
|
156
156
|
this.hostname_ +
|
|
157
|
-
'/trb.indicators.v1.
|
|
157
|
+
'/trb.indicators.v1.Indicator_Settings/DeleteSettings',
|
|
158
158
|
request,
|
|
159
159
|
metadata || {},
|
|
160
|
-
this.
|
|
160
|
+
this.methodDescriptorDeleteSettings,
|
|
161
161
|
callback);
|
|
162
162
|
}
|
|
163
163
|
return this.client_.unaryCall(
|
|
164
164
|
this.hostname_ +
|
|
165
|
-
'/trb.indicators.v1.
|
|
165
|
+
'/trb.indicators.v1.Indicator_Settings/DeleteSettings',
|
|
166
166
|
request,
|
|
167
167
|
metadata || {},
|
|
168
|
-
this.
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
methodDescriptorListIndicatorValues = new grpcWeb.MethodDescriptor(
|
|
172
|
-
'/trb.indicators.v1.Indicators/ListIndicatorValues',
|
|
173
|
-
grpcWeb.MethodType.UNARY,
|
|
174
|
-
indicators_indicators_pb.ListIndicatorValuesRequest,
|
|
175
|
-
indicators_indicators_pb.ListIndicatorValuesResponse,
|
|
176
|
-
(request: indicators_indicators_pb.ListIndicatorValuesRequest) => {
|
|
177
|
-
return request.serializeBinary();
|
|
178
|
-
},
|
|
179
|
-
indicators_indicators_pb.ListIndicatorValuesResponse.deserializeBinary
|
|
180
|
-
);
|
|
181
|
-
|
|
182
|
-
listIndicatorValues(
|
|
183
|
-
request: indicators_indicators_pb.ListIndicatorValuesRequest,
|
|
184
|
-
metadata?: grpcWeb.Metadata | null): Promise<indicators_indicators_pb.ListIndicatorValuesResponse>;
|
|
185
|
-
|
|
186
|
-
listIndicatorValues(
|
|
187
|
-
request: indicators_indicators_pb.ListIndicatorValuesRequest,
|
|
188
|
-
metadata: grpcWeb.Metadata | null,
|
|
189
|
-
callback: (err: grpcWeb.RpcError,
|
|
190
|
-
response: indicators_indicators_pb.ListIndicatorValuesResponse) => void): grpcWeb.ClientReadableStream<indicators_indicators_pb.ListIndicatorValuesResponse>;
|
|
191
|
-
|
|
192
|
-
listIndicatorValues(
|
|
193
|
-
request: indicators_indicators_pb.ListIndicatorValuesRequest,
|
|
194
|
-
metadata?: grpcWeb.Metadata | null,
|
|
195
|
-
callback?: (err: grpcWeb.RpcError,
|
|
196
|
-
response: indicators_indicators_pb.ListIndicatorValuesResponse) => void) {
|
|
197
|
-
if (callback !== undefined) {
|
|
198
|
-
return this.client_.rpcCall(
|
|
199
|
-
this.hostname_ +
|
|
200
|
-
'/trb.indicators.v1.Indicators/ListIndicatorValues',
|
|
201
|
-
request,
|
|
202
|
-
metadata || {},
|
|
203
|
-
this.methodDescriptorListIndicatorValues,
|
|
204
|
-
callback);
|
|
205
|
-
}
|
|
206
|
-
return this.client_.unaryCall(
|
|
207
|
-
this.hostname_ +
|
|
208
|
-
'/trb.indicators.v1.Indicators/ListIndicatorValues',
|
|
209
|
-
request,
|
|
210
|
-
metadata || {},
|
|
211
|
-
this.methodDescriptorListIndicatorValues);
|
|
168
|
+
this.methodDescriptorDeleteSettings);
|
|
212
169
|
}
|
|
213
170
|
|
|
214
171
|
}
|
|
@@ -2,342 +2,108 @@ import * as jspb from 'google-protobuf'
|
|
|
2
2
|
|
|
3
3
|
import * as google_api_annotations_pb from '../google/api/annotations_pb'; // proto import: "google/api/annotations.proto"
|
|
4
4
|
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb'; // proto import: "google/protobuf/timestamp.proto"
|
|
5
|
+
import * as indicators_params_pb from '../indicators/params_pb'; // proto import: "indicators/params.proto"
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
export class
|
|
8
|
-
getTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
9
|
-
setTime(value?: google_protobuf_timestamp_pb.Timestamp): Candle;
|
|
10
|
-
hasTime(): boolean;
|
|
11
|
-
clearTime(): Candle;
|
|
12
|
-
|
|
13
|
-
getOpen(): number;
|
|
14
|
-
setOpen(value: number): Candle;
|
|
15
|
-
|
|
16
|
-
getHigh(): number;
|
|
17
|
-
setHigh(value: number): Candle;
|
|
18
|
-
|
|
19
|
-
getLow(): number;
|
|
20
|
-
setLow(value: number): Candle;
|
|
21
|
-
|
|
22
|
-
getClose(): number;
|
|
23
|
-
setClose(value: number): Candle;
|
|
24
|
-
|
|
25
|
-
getVolume(): number;
|
|
26
|
-
setVolume(value: number): Candle;
|
|
27
|
-
|
|
28
|
-
serializeBinary(): Uint8Array;
|
|
29
|
-
toObject(includeInstance?: boolean): Candle.AsObject;
|
|
30
|
-
static toObject(includeInstance: boolean, msg: Candle): Candle.AsObject;
|
|
31
|
-
static serializeBinaryToWriter(message: Candle, writer: jspb.BinaryWriter): void;
|
|
32
|
-
static deserializeBinary(bytes: Uint8Array): Candle;
|
|
33
|
-
static deserializeBinaryFromReader(message: Candle, reader: jspb.BinaryReader): Candle;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export namespace Candle {
|
|
37
|
-
export type AsObject = {
|
|
38
|
-
time?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
39
|
-
open: number,
|
|
40
|
-
high: number,
|
|
41
|
-
low: number,
|
|
42
|
-
close: number,
|
|
43
|
-
volume: number,
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export class ComputeRequest extends jspb.Message {
|
|
48
|
-
getType(): IndicatorType;
|
|
49
|
-
setType(value: IndicatorType): ComputeRequest;
|
|
50
|
-
|
|
51
|
-
getCandlesList(): Array<Candle>;
|
|
52
|
-
setCandlesList(value: Array<Candle>): ComputeRequest;
|
|
53
|
-
clearCandlesList(): ComputeRequest;
|
|
54
|
-
addCandles(value?: Candle, index?: number): Candle;
|
|
55
|
-
|
|
56
|
-
getParamsMap(): jspb.Map<string, number>;
|
|
57
|
-
clearParamsMap(): ComputeRequest;
|
|
58
|
-
|
|
59
|
-
serializeBinary(): Uint8Array;
|
|
60
|
-
toObject(includeInstance?: boolean): ComputeRequest.AsObject;
|
|
61
|
-
static toObject(includeInstance: boolean, msg: ComputeRequest): ComputeRequest.AsObject;
|
|
62
|
-
static serializeBinaryToWriter(message: ComputeRequest, writer: jspb.BinaryWriter): void;
|
|
63
|
-
static deserializeBinary(bytes: Uint8Array): ComputeRequest;
|
|
64
|
-
static deserializeBinaryFromReader(message: ComputeRequest, reader: jspb.BinaryReader): ComputeRequest;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export namespace ComputeRequest {
|
|
68
|
-
export type AsObject = {
|
|
69
|
-
type: IndicatorType,
|
|
70
|
-
candlesList: Array<Candle.AsObject>,
|
|
71
|
-
paramsMap: Array<[string, number]>,
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export class ComputeForInstrumentRequest extends jspb.Message {
|
|
76
|
-
getUid(): string;
|
|
77
|
-
setUid(value: string): ComputeForInstrumentRequest;
|
|
78
|
-
|
|
8
|
+
export class Settings extends jspb.Message {
|
|
79
9
|
getInterval(): number;
|
|
80
|
-
setInterval(value: number):
|
|
81
|
-
|
|
82
|
-
getFrom(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
83
|
-
setFrom(value?: google_protobuf_timestamp_pb.Timestamp): ComputeForInstrumentRequest;
|
|
84
|
-
hasFrom(): boolean;
|
|
85
|
-
clearFrom(): ComputeForInstrumentRequest;
|
|
86
|
-
|
|
87
|
-
getTo(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
88
|
-
setTo(value?: google_protobuf_timestamp_pb.Timestamp): ComputeForInstrumentRequest;
|
|
89
|
-
hasTo(): boolean;
|
|
90
|
-
clearTo(): ComputeForInstrumentRequest;
|
|
91
|
-
|
|
92
|
-
getType(): IndicatorType;
|
|
93
|
-
setType(value: IndicatorType): ComputeForInstrumentRequest;
|
|
94
|
-
|
|
95
|
-
getParamsMap(): jspb.Map<string, number>;
|
|
96
|
-
clearParamsMap(): ComputeForInstrumentRequest;
|
|
97
|
-
|
|
98
|
-
getPersist(): boolean;
|
|
99
|
-
setPersist(value: boolean): ComputeForInstrumentRequest;
|
|
100
|
-
|
|
101
|
-
getMaxResponsePoints(): number;
|
|
102
|
-
setMaxResponsePoints(value: number): ComputeForInstrumentRequest;
|
|
103
|
-
hasMaxResponsePoints(): boolean;
|
|
104
|
-
clearMaxResponsePoints(): ComputeForInstrumentRequest;
|
|
10
|
+
setInterval(value: number): Settings;
|
|
105
11
|
|
|
106
|
-
serializeBinary(): Uint8Array;
|
|
107
|
-
toObject(includeInstance?: boolean): ComputeForInstrumentRequest.AsObject;
|
|
108
|
-
static toObject(includeInstance: boolean, msg: ComputeForInstrumentRequest): ComputeForInstrumentRequest.AsObject;
|
|
109
|
-
static serializeBinaryToWriter(message: ComputeForInstrumentRequest, writer: jspb.BinaryWriter): void;
|
|
110
|
-
static deserializeBinary(bytes: Uint8Array): ComputeForInstrumentRequest;
|
|
111
|
-
static deserializeBinaryFromReader(message: ComputeForInstrumentRequest, reader: jspb.BinaryReader): ComputeForInstrumentRequest;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
export namespace ComputeForInstrumentRequest {
|
|
115
|
-
export type AsObject = {
|
|
116
|
-
uid: string,
|
|
117
|
-
interval: number,
|
|
118
|
-
from?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
119
|
-
to?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
120
|
-
type: IndicatorType,
|
|
121
|
-
paramsMap: Array<[string, number]>,
|
|
122
|
-
persist: boolean,
|
|
123
|
-
maxResponsePoints?: number,
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
export enum MaxResponsePointsCase {
|
|
127
|
-
_MAX_RESPONSE_POINTS_NOT_SET = 0,
|
|
128
|
-
MAX_RESPONSE_POINTS = 8,
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
export class ListIndicatorValuesRequest extends jspb.Message {
|
|
133
12
|
getUid(): string;
|
|
134
|
-
setUid(value: string):
|
|
135
|
-
|
|
136
|
-
getInterval(): number;
|
|
137
|
-
setInterval(value: number): ListIndicatorValuesRequest;
|
|
138
|
-
|
|
139
|
-
getFrom(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
140
|
-
setFrom(value?: google_protobuf_timestamp_pb.Timestamp): ListIndicatorValuesRequest;
|
|
141
|
-
hasFrom(): boolean;
|
|
142
|
-
clearFrom(): ListIndicatorValuesRequest;
|
|
143
|
-
|
|
144
|
-
getTo(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
145
|
-
setTo(value?: google_protobuf_timestamp_pb.Timestamp): ListIndicatorValuesRequest;
|
|
146
|
-
hasTo(): boolean;
|
|
147
|
-
clearTo(): ListIndicatorValuesRequest;
|
|
13
|
+
setUid(value: string): Settings;
|
|
148
14
|
|
|
149
|
-
|
|
150
|
-
|
|
15
|
+
getSettings(): indicators_params_pb.IndicatorSettings | undefined;
|
|
16
|
+
setSettings(value?: indicators_params_pb.IndicatorSettings): Settings;
|
|
17
|
+
hasSettings(): boolean;
|
|
18
|
+
clearSettings(): Settings;
|
|
151
19
|
|
|
152
|
-
|
|
153
|
-
|
|
20
|
+
getStart(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
21
|
+
setStart(value?: google_protobuf_timestamp_pb.Timestamp): Settings;
|
|
22
|
+
hasStart(): boolean;
|
|
23
|
+
clearStart(): Settings;
|
|
154
24
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
setAfter(value?: google_protobuf_timestamp_pb.Timestamp): ListIndicatorValuesRequest;
|
|
160
|
-
hasAfter(): boolean;
|
|
161
|
-
clearAfter(): ListIndicatorValuesRequest;
|
|
25
|
+
getEnd(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
26
|
+
setEnd(value?: google_protobuf_timestamp_pb.Timestamp): Settings;
|
|
27
|
+
hasEnd(): boolean;
|
|
28
|
+
clearEnd(): Settings;
|
|
162
29
|
|
|
163
30
|
serializeBinary(): Uint8Array;
|
|
164
|
-
toObject(includeInstance?: boolean):
|
|
165
|
-
static toObject(includeInstance: boolean, msg:
|
|
166
|
-
static serializeBinaryToWriter(message:
|
|
167
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
168
|
-
static deserializeBinaryFromReader(message:
|
|
31
|
+
toObject(includeInstance?: boolean): Settings.AsObject;
|
|
32
|
+
static toObject(includeInstance: boolean, msg: Settings): Settings.AsObject;
|
|
33
|
+
static serializeBinaryToWriter(message: Settings, writer: jspb.BinaryWriter): void;
|
|
34
|
+
static deserializeBinary(bytes: Uint8Array): Settings;
|
|
35
|
+
static deserializeBinaryFromReader(message: Settings, reader: jspb.BinaryReader): Settings;
|
|
169
36
|
}
|
|
170
37
|
|
|
171
|
-
export namespace
|
|
38
|
+
export namespace Settings {
|
|
172
39
|
export type AsObject = {
|
|
173
|
-
uid: string,
|
|
174
40
|
interval: number,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
limit: number,
|
|
180
|
-
after?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
export class IndicatorPoint extends jspb.Message {
|
|
185
|
-
getTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
186
|
-
setTime(value?: google_protobuf_timestamp_pb.Timestamp): IndicatorPoint;
|
|
187
|
-
hasTime(): boolean;
|
|
188
|
-
clearTime(): IndicatorPoint;
|
|
189
|
-
|
|
190
|
-
getValuesMap(): jspb.Map<string, number>;
|
|
191
|
-
clearValuesMap(): IndicatorPoint;
|
|
192
|
-
|
|
193
|
-
serializeBinary(): Uint8Array;
|
|
194
|
-
toObject(includeInstance?: boolean): IndicatorPoint.AsObject;
|
|
195
|
-
static toObject(includeInstance: boolean, msg: IndicatorPoint): IndicatorPoint.AsObject;
|
|
196
|
-
static serializeBinaryToWriter(message: IndicatorPoint, writer: jspb.BinaryWriter): void;
|
|
197
|
-
static deserializeBinary(bytes: Uint8Array): IndicatorPoint;
|
|
198
|
-
static deserializeBinaryFromReader(message: IndicatorPoint, reader: jspb.BinaryReader): IndicatorPoint;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
export namespace IndicatorPoint {
|
|
202
|
-
export type AsObject = {
|
|
203
|
-
time?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
204
|
-
valuesMap: Array<[string, number]>,
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
export class ComputeResponse extends jspb.Message {
|
|
209
|
-
getType(): IndicatorType;
|
|
210
|
-
setType(value: IndicatorType): ComputeResponse;
|
|
211
|
-
|
|
212
|
-
getParamsMap(): jspb.Map<string, number>;
|
|
213
|
-
clearParamsMap(): ComputeResponse;
|
|
214
|
-
|
|
215
|
-
getPointsList(): Array<IndicatorPoint>;
|
|
216
|
-
setPointsList(value: Array<IndicatorPoint>): ComputeResponse;
|
|
217
|
-
clearPointsList(): ComputeResponse;
|
|
218
|
-
addPoints(value?: IndicatorPoint, index?: number): IndicatorPoint;
|
|
219
|
-
|
|
220
|
-
getTotalPoints(): number;
|
|
221
|
-
setTotalPoints(value: number): ComputeResponse;
|
|
222
|
-
|
|
223
|
-
serializeBinary(): Uint8Array;
|
|
224
|
-
toObject(includeInstance?: boolean): ComputeResponse.AsObject;
|
|
225
|
-
static toObject(includeInstance: boolean, msg: ComputeResponse): ComputeResponse.AsObject;
|
|
226
|
-
static serializeBinaryToWriter(message: ComputeResponse, writer: jspb.BinaryWriter): void;
|
|
227
|
-
static deserializeBinary(bytes: Uint8Array): ComputeResponse;
|
|
228
|
-
static deserializeBinaryFromReader(message: ComputeResponse, reader: jspb.BinaryReader): ComputeResponse;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
export namespace ComputeResponse {
|
|
232
|
-
export type AsObject = {
|
|
233
|
-
type: IndicatorType,
|
|
234
|
-
paramsMap: Array<[string, number]>,
|
|
235
|
-
pointsList: Array<IndicatorPoint.AsObject>,
|
|
236
|
-
totalPoints: number,
|
|
41
|
+
uid: string,
|
|
42
|
+
settings?: indicators_params_pb.IndicatorSettings.AsObject,
|
|
43
|
+
start?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
44
|
+
end?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
237
45
|
}
|
|
238
46
|
}
|
|
239
47
|
|
|
240
|
-
export class
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
getParamsMap(): jspb.Map<string, number>;
|
|
245
|
-
clearParamsMap(): ListIndicatorValuesResponse;
|
|
246
|
-
|
|
247
|
-
getPointsList(): Array<IndicatorPoint>;
|
|
248
|
-
setPointsList(value: Array<IndicatorPoint>): ListIndicatorValuesResponse;
|
|
249
|
-
clearPointsList(): ListIndicatorValuesResponse;
|
|
250
|
-
addPoints(value?: IndicatorPoint, index?: number): IndicatorPoint;
|
|
251
|
-
|
|
252
|
-
getHasMore(): boolean;
|
|
253
|
-
setHasMore(value: boolean): ListIndicatorValuesResponse;
|
|
48
|
+
export class SettingsHash extends jspb.Message {
|
|
49
|
+
getHash(): number;
|
|
50
|
+
setHash(value: number): SettingsHash;
|
|
254
51
|
|
|
255
52
|
serializeBinary(): Uint8Array;
|
|
256
|
-
toObject(includeInstance?: boolean):
|
|
257
|
-
static toObject(includeInstance: boolean, msg:
|
|
258
|
-
static serializeBinaryToWriter(message:
|
|
259
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
260
|
-
static deserializeBinaryFromReader(message:
|
|
53
|
+
toObject(includeInstance?: boolean): SettingsHash.AsObject;
|
|
54
|
+
static toObject(includeInstance: boolean, msg: SettingsHash): SettingsHash.AsObject;
|
|
55
|
+
static serializeBinaryToWriter(message: SettingsHash, writer: jspb.BinaryWriter): void;
|
|
56
|
+
static deserializeBinary(bytes: Uint8Array): SettingsHash;
|
|
57
|
+
static deserializeBinaryFromReader(message: SettingsHash, reader: jspb.BinaryReader): SettingsHash;
|
|
261
58
|
}
|
|
262
59
|
|
|
263
|
-
export namespace
|
|
60
|
+
export namespace SettingsHash {
|
|
264
61
|
export type AsObject = {
|
|
265
|
-
|
|
266
|
-
paramsMap: Array<[string, number]>,
|
|
267
|
-
pointsList: Array<IndicatorPoint.AsObject>,
|
|
268
|
-
hasMore: boolean,
|
|
62
|
+
hash: number,
|
|
269
63
|
}
|
|
270
64
|
}
|
|
271
65
|
|
|
272
|
-
export class
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
getName(): string;
|
|
277
|
-
setName(value: string): IndicatorInfo;
|
|
278
|
-
|
|
279
|
-
getMinBars(): number;
|
|
280
|
-
setMinBars(value: number): IndicatorInfo;
|
|
66
|
+
export class DeleteSettingsResponse extends jspb.Message {
|
|
67
|
+
getHash(): number;
|
|
68
|
+
setHash(value: number): DeleteSettingsResponse;
|
|
281
69
|
|
|
282
|
-
|
|
283
|
-
|
|
70
|
+
getDelete(): boolean;
|
|
71
|
+
setDelete(value: boolean): DeleteSettingsResponse;
|
|
284
72
|
|
|
285
73
|
serializeBinary(): Uint8Array;
|
|
286
|
-
toObject(includeInstance?: boolean):
|
|
287
|
-
static toObject(includeInstance: boolean, msg:
|
|
288
|
-
static serializeBinaryToWriter(message:
|
|
289
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
290
|
-
static deserializeBinaryFromReader(message:
|
|
74
|
+
toObject(includeInstance?: boolean): DeleteSettingsResponse.AsObject;
|
|
75
|
+
static toObject(includeInstance: boolean, msg: DeleteSettingsResponse): DeleteSettingsResponse.AsObject;
|
|
76
|
+
static serializeBinaryToWriter(message: DeleteSettingsResponse, writer: jspb.BinaryWriter): void;
|
|
77
|
+
static deserializeBinary(bytes: Uint8Array): DeleteSettingsResponse;
|
|
78
|
+
static deserializeBinaryFromReader(message: DeleteSettingsResponse, reader: jspb.BinaryReader): DeleteSettingsResponse;
|
|
291
79
|
}
|
|
292
80
|
|
|
293
|
-
export namespace
|
|
81
|
+
export namespace DeleteSettingsResponse {
|
|
294
82
|
export type AsObject = {
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
minBars: number,
|
|
298
|
-
defaultParamsMap: Array<[string, number]>,
|
|
83
|
+
hash: number,
|
|
84
|
+
pb_delete: boolean,
|
|
299
85
|
}
|
|
300
86
|
}
|
|
301
87
|
|
|
302
|
-
export class
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
static toObject(includeInstance: boolean, msg: ListSupportedRequest): ListSupportedRequest.AsObject;
|
|
306
|
-
static serializeBinaryToWriter(message: ListSupportedRequest, writer: jspb.BinaryWriter): void;
|
|
307
|
-
static deserializeBinary(bytes: Uint8Array): ListSupportedRequest;
|
|
308
|
-
static deserializeBinaryFromReader(message: ListSupportedRequest, reader: jspb.BinaryReader): ListSupportedRequest;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
export namespace ListSupportedRequest {
|
|
312
|
-
export type AsObject = {
|
|
313
|
-
}
|
|
314
|
-
}
|
|
88
|
+
export class UpdateSettingsResponse extends jspb.Message {
|
|
89
|
+
getHash(): number;
|
|
90
|
+
setHash(value: number): UpdateSettingsResponse;
|
|
315
91
|
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
setIndicatorsList(value: Array<IndicatorInfo>): ListSupportedResponse;
|
|
319
|
-
clearIndicatorsList(): ListSupportedResponse;
|
|
320
|
-
addIndicators(value?: IndicatorInfo, index?: number): IndicatorInfo;
|
|
92
|
+
getUpdate(): boolean;
|
|
93
|
+
setUpdate(value: boolean): UpdateSettingsResponse;
|
|
321
94
|
|
|
322
95
|
serializeBinary(): Uint8Array;
|
|
323
|
-
toObject(includeInstance?: boolean):
|
|
324
|
-
static toObject(includeInstance: boolean, msg:
|
|
325
|
-
static serializeBinaryToWriter(message:
|
|
326
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
327
|
-
static deserializeBinaryFromReader(message:
|
|
96
|
+
toObject(includeInstance?: boolean): UpdateSettingsResponse.AsObject;
|
|
97
|
+
static toObject(includeInstance: boolean, msg: UpdateSettingsResponse): UpdateSettingsResponse.AsObject;
|
|
98
|
+
static serializeBinaryToWriter(message: UpdateSettingsResponse, writer: jspb.BinaryWriter): void;
|
|
99
|
+
static deserializeBinary(bytes: Uint8Array): UpdateSettingsResponse;
|
|
100
|
+
static deserializeBinaryFromReader(message: UpdateSettingsResponse, reader: jspb.BinaryReader): UpdateSettingsResponse;
|
|
328
101
|
}
|
|
329
102
|
|
|
330
|
-
export namespace
|
|
103
|
+
export namespace UpdateSettingsResponse {
|
|
331
104
|
export type AsObject = {
|
|
332
|
-
|
|
105
|
+
hash: number,
|
|
106
|
+
update: boolean,
|
|
333
107
|
}
|
|
334
108
|
}
|
|
335
109
|
|
|
336
|
-
export enum IndicatorType {
|
|
337
|
-
INDICATOR_TYPE_UNSPECIFIED = 0,
|
|
338
|
-
INDICATOR_TYPE_RSI = 1,
|
|
339
|
-
INDICATOR_TYPE_SMA = 2,
|
|
340
|
-
INDICATOR_TYPE_EMA = 3,
|
|
341
|
-
INDICATOR_TYPE_MACD = 4,
|
|
342
|
-
INDICATOR_TYPE_BB = 5,
|
|
343
|
-
}
|