@marleena/trb-proto 1.0.59 → 1.0.62
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/gen/js-ts/strategysearch/strategysearch_pb.d.ts +24 -0
- package/gen/js-ts/strategysearch/strategysearch_pb.js +206 -2
- package/package.json +1 -1
- package/gen/js-ts/strategy/StrategyServiceClientPb.ts +0 -733
- package/gen/js-ts/strategy/backtest_pb.d.ts +0 -482
- package/gen/js-ts/strategy/backtest_pb.js +0 -3776
- package/gen/js-ts/strategy/search_pb.d.ts +0 -516
- package/gen/js-ts/strategy/search_pb.js +0 -4147
- package/gen/js-ts/strategy/spec_pb.d.ts +0 -388
- package/gen/js-ts/strategy/spec_pb.js +0 -3023
- package/gen/js-ts/strategy/strategy_pb.d.ts +0 -785
- package/gen/js-ts/strategy/strategy_pb.js +0 -6553
|
@@ -335,6 +335,16 @@ export class SearchPreset extends jspb.Message {
|
|
|
335
335
|
hasCreatedAt(): boolean;
|
|
336
336
|
clearCreatedAt(): SearchPreset;
|
|
337
337
|
|
|
338
|
+
getTemplate(): strategysearch_search_pb.StrategyTemplate | undefined;
|
|
339
|
+
setTemplate(value?: strategysearch_search_pb.StrategyTemplate): SearchPreset;
|
|
340
|
+
hasTemplate(): boolean;
|
|
341
|
+
clearTemplate(): SearchPreset;
|
|
342
|
+
|
|
343
|
+
getMarketSpace(): strategysearch_search_pb.MarketSpace | undefined;
|
|
344
|
+
setMarketSpace(value?: strategysearch_search_pb.MarketSpace): SearchPreset;
|
|
345
|
+
hasMarketSpace(): boolean;
|
|
346
|
+
clearMarketSpace(): SearchPreset;
|
|
347
|
+
|
|
338
348
|
serializeBinary(): Uint8Array;
|
|
339
349
|
toObject(includeInstance?: boolean): SearchPreset.AsObject;
|
|
340
350
|
static toObject(includeInstance: boolean, msg: SearchPreset): SearchPreset.AsObject;
|
|
@@ -352,6 +362,8 @@ export namespace SearchPreset {
|
|
|
352
362
|
study?: strategysearch_search_pb.StudyConfig.AsObject,
|
|
353
363
|
config?: strategysearch_backtest_pb.BacktestConfig.AsObject,
|
|
354
364
|
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
365
|
+
template?: strategysearch_search_pb.StrategyTemplate.AsObject,
|
|
366
|
+
marketSpace?: strategysearch_search_pb.MarketSpace.AsObject,
|
|
355
367
|
}
|
|
356
368
|
}
|
|
357
369
|
|
|
@@ -379,6 +391,16 @@ export class CreateSearchPresetRequest extends jspb.Message {
|
|
|
379
391
|
hasConfig(): boolean;
|
|
380
392
|
clearConfig(): CreateSearchPresetRequest;
|
|
381
393
|
|
|
394
|
+
getTemplate(): strategysearch_search_pb.StrategyTemplate | undefined;
|
|
395
|
+
setTemplate(value?: strategysearch_search_pb.StrategyTemplate): CreateSearchPresetRequest;
|
|
396
|
+
hasTemplate(): boolean;
|
|
397
|
+
clearTemplate(): CreateSearchPresetRequest;
|
|
398
|
+
|
|
399
|
+
getMarketSpace(): strategysearch_search_pb.MarketSpace | undefined;
|
|
400
|
+
setMarketSpace(value?: strategysearch_search_pb.MarketSpace): CreateSearchPresetRequest;
|
|
401
|
+
hasMarketSpace(): boolean;
|
|
402
|
+
clearMarketSpace(): CreateSearchPresetRequest;
|
|
403
|
+
|
|
382
404
|
serializeBinary(): Uint8Array;
|
|
383
405
|
toObject(includeInstance?: boolean): CreateSearchPresetRequest.AsObject;
|
|
384
406
|
static toObject(includeInstance: boolean, msg: CreateSearchPresetRequest): CreateSearchPresetRequest.AsObject;
|
|
@@ -394,6 +416,8 @@ export namespace CreateSearchPresetRequest {
|
|
|
394
416
|
searchSpaceList: Array<strategysearch_search_pb.ParamRange.AsObject>,
|
|
395
417
|
study?: strategysearch_search_pb.StudyConfig.AsObject,
|
|
396
418
|
config?: strategysearch_backtest_pb.BacktestConfig.AsObject,
|
|
419
|
+
template?: strategysearch_search_pb.StrategyTemplate.AsObject,
|
|
420
|
+
marketSpace?: strategysearch_search_pb.MarketSpace.AsObject,
|
|
397
421
|
}
|
|
398
422
|
}
|
|
399
423
|
|
|
@@ -2738,7 +2738,9 @@ searchSpaceList: jspb.Message.toObjectList(msg.getSearchSpaceList(),
|
|
|
2738
2738
|
strategysearch_search_pb.ParamRange.toObject, includeInstance),
|
|
2739
2739
|
study: (f = msg.getStudy()) && strategysearch_search_pb.StudyConfig.toObject(includeInstance, f),
|
|
2740
2740
|
config: (f = msg.getConfig()) && strategysearch_backtest_pb.BacktestConfig.toObject(includeInstance, f),
|
|
2741
|
-
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
2741
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
2742
|
+
template: (f = msg.getTemplate()) && strategysearch_search_pb.StrategyTemplate.toObject(includeInstance, f),
|
|
2743
|
+
marketSpace: (f = msg.getMarketSpace()) && strategysearch_search_pb.MarketSpace.toObject(includeInstance, f)
|
|
2742
2744
|
};
|
|
2743
2745
|
|
|
2744
2746
|
if (includeInstance) {
|
|
@@ -2808,6 +2810,16 @@ proto.trb.strategysearch.v1.SearchPreset.deserializeBinaryFromReader = function(
|
|
|
2808
2810
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
2809
2811
|
msg.setCreatedAt(value);
|
|
2810
2812
|
break;
|
|
2813
|
+
case 8:
|
|
2814
|
+
var value = new strategysearch_search_pb.StrategyTemplate;
|
|
2815
|
+
reader.readMessage(value,strategysearch_search_pb.StrategyTemplate.deserializeBinaryFromReader);
|
|
2816
|
+
msg.setTemplate(value);
|
|
2817
|
+
break;
|
|
2818
|
+
case 9:
|
|
2819
|
+
var value = new strategysearch_search_pb.MarketSpace;
|
|
2820
|
+
reader.readMessage(value,strategysearch_search_pb.MarketSpace.deserializeBinaryFromReader);
|
|
2821
|
+
msg.setMarketSpace(value);
|
|
2822
|
+
break;
|
|
2811
2823
|
default:
|
|
2812
2824
|
reader.skipField();
|
|
2813
2825
|
break;
|
|
@@ -2891,6 +2903,22 @@ proto.trb.strategysearch.v1.SearchPreset.serializeBinaryToWriter = function(mess
|
|
|
2891
2903
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
2892
2904
|
);
|
|
2893
2905
|
}
|
|
2906
|
+
f = message.getTemplate();
|
|
2907
|
+
if (f != null) {
|
|
2908
|
+
writer.writeMessage(
|
|
2909
|
+
8,
|
|
2910
|
+
f,
|
|
2911
|
+
strategysearch_search_pb.StrategyTemplate.serializeBinaryToWriter
|
|
2912
|
+
);
|
|
2913
|
+
}
|
|
2914
|
+
f = message.getMarketSpace();
|
|
2915
|
+
if (f != null) {
|
|
2916
|
+
writer.writeMessage(
|
|
2917
|
+
9,
|
|
2918
|
+
f,
|
|
2919
|
+
strategysearch_search_pb.MarketSpace.serializeBinaryToWriter
|
|
2920
|
+
);
|
|
2921
|
+
}
|
|
2894
2922
|
};
|
|
2895
2923
|
|
|
2896
2924
|
|
|
@@ -3116,6 +3144,80 @@ proto.trb.strategysearch.v1.SearchPreset.prototype.hasCreatedAt = function() {
|
|
|
3116
3144
|
};
|
|
3117
3145
|
|
|
3118
3146
|
|
|
3147
|
+
/**
|
|
3148
|
+
* optional StrategyTemplate template = 8;
|
|
3149
|
+
* @return {?proto.trb.strategysearch.v1.StrategyTemplate}
|
|
3150
|
+
*/
|
|
3151
|
+
proto.trb.strategysearch.v1.SearchPreset.prototype.getTemplate = function() {
|
|
3152
|
+
return /** @type{?proto.trb.strategysearch.v1.StrategyTemplate} */ (
|
|
3153
|
+
jspb.Message.getWrapperField(this, strategysearch_search_pb.StrategyTemplate, 8));
|
|
3154
|
+
};
|
|
3155
|
+
|
|
3156
|
+
|
|
3157
|
+
/**
|
|
3158
|
+
* @param {?proto.trb.strategysearch.v1.StrategyTemplate|undefined} value
|
|
3159
|
+
* @return {!proto.trb.strategysearch.v1.SearchPreset} returns this
|
|
3160
|
+
*/
|
|
3161
|
+
proto.trb.strategysearch.v1.SearchPreset.prototype.setTemplate = function(value) {
|
|
3162
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
3163
|
+
};
|
|
3164
|
+
|
|
3165
|
+
|
|
3166
|
+
/**
|
|
3167
|
+
* Clears the message field making it undefined.
|
|
3168
|
+
* @return {!proto.trb.strategysearch.v1.SearchPreset} returns this
|
|
3169
|
+
*/
|
|
3170
|
+
proto.trb.strategysearch.v1.SearchPreset.prototype.clearTemplate = function() {
|
|
3171
|
+
return this.setTemplate(undefined);
|
|
3172
|
+
};
|
|
3173
|
+
|
|
3174
|
+
|
|
3175
|
+
/**
|
|
3176
|
+
* Returns whether this field is set.
|
|
3177
|
+
* @return {boolean}
|
|
3178
|
+
*/
|
|
3179
|
+
proto.trb.strategysearch.v1.SearchPreset.prototype.hasTemplate = function() {
|
|
3180
|
+
return jspb.Message.getField(this, 8) != null;
|
|
3181
|
+
};
|
|
3182
|
+
|
|
3183
|
+
|
|
3184
|
+
/**
|
|
3185
|
+
* optional MarketSpace market_space = 9;
|
|
3186
|
+
* @return {?proto.trb.strategysearch.v1.MarketSpace}
|
|
3187
|
+
*/
|
|
3188
|
+
proto.trb.strategysearch.v1.SearchPreset.prototype.getMarketSpace = function() {
|
|
3189
|
+
return /** @type{?proto.trb.strategysearch.v1.MarketSpace} */ (
|
|
3190
|
+
jspb.Message.getWrapperField(this, strategysearch_search_pb.MarketSpace, 9));
|
|
3191
|
+
};
|
|
3192
|
+
|
|
3193
|
+
|
|
3194
|
+
/**
|
|
3195
|
+
* @param {?proto.trb.strategysearch.v1.MarketSpace|undefined} value
|
|
3196
|
+
* @return {!proto.trb.strategysearch.v1.SearchPreset} returns this
|
|
3197
|
+
*/
|
|
3198
|
+
proto.trb.strategysearch.v1.SearchPreset.prototype.setMarketSpace = function(value) {
|
|
3199
|
+
return jspb.Message.setWrapperField(this, 9, value);
|
|
3200
|
+
};
|
|
3201
|
+
|
|
3202
|
+
|
|
3203
|
+
/**
|
|
3204
|
+
* Clears the message field making it undefined.
|
|
3205
|
+
* @return {!proto.trb.strategysearch.v1.SearchPreset} returns this
|
|
3206
|
+
*/
|
|
3207
|
+
proto.trb.strategysearch.v1.SearchPreset.prototype.clearMarketSpace = function() {
|
|
3208
|
+
return this.setMarketSpace(undefined);
|
|
3209
|
+
};
|
|
3210
|
+
|
|
3211
|
+
|
|
3212
|
+
/**
|
|
3213
|
+
* Returns whether this field is set.
|
|
3214
|
+
* @return {boolean}
|
|
3215
|
+
*/
|
|
3216
|
+
proto.trb.strategysearch.v1.SearchPreset.prototype.hasMarketSpace = function() {
|
|
3217
|
+
return jspb.Message.getField(this, 9) != null;
|
|
3218
|
+
};
|
|
3219
|
+
|
|
3220
|
+
|
|
3119
3221
|
|
|
3120
3222
|
/**
|
|
3121
3223
|
* List of repeated fields within this message type.
|
|
@@ -3160,7 +3262,9 @@ baseSpec: (f = msg.getBaseSpec()) && strategysearch_spec_pb.StrategySearchSpec.t
|
|
|
3160
3262
|
searchSpaceList: jspb.Message.toObjectList(msg.getSearchSpaceList(),
|
|
3161
3263
|
strategysearch_search_pb.ParamRange.toObject, includeInstance),
|
|
3162
3264
|
study: (f = msg.getStudy()) && strategysearch_search_pb.StudyConfig.toObject(includeInstance, f),
|
|
3163
|
-
config: (f = msg.getConfig()) && strategysearch_backtest_pb.BacktestConfig.toObject(includeInstance, f)
|
|
3265
|
+
config: (f = msg.getConfig()) && strategysearch_backtest_pb.BacktestConfig.toObject(includeInstance, f),
|
|
3266
|
+
template: (f = msg.getTemplate()) && strategysearch_search_pb.StrategyTemplate.toObject(includeInstance, f),
|
|
3267
|
+
marketSpace: (f = msg.getMarketSpace()) && strategysearch_search_pb.MarketSpace.toObject(includeInstance, f)
|
|
3164
3268
|
};
|
|
3165
3269
|
|
|
3166
3270
|
if (includeInstance) {
|
|
@@ -3221,6 +3325,16 @@ proto.trb.strategysearch.v1.CreateSearchPresetRequest.deserializeBinaryFromReade
|
|
|
3221
3325
|
reader.readMessage(value,strategysearch_backtest_pb.BacktestConfig.deserializeBinaryFromReader);
|
|
3222
3326
|
msg.setConfig(value);
|
|
3223
3327
|
break;
|
|
3328
|
+
case 6:
|
|
3329
|
+
var value = new strategysearch_search_pb.StrategyTemplate;
|
|
3330
|
+
reader.readMessage(value,strategysearch_search_pb.StrategyTemplate.deserializeBinaryFromReader);
|
|
3331
|
+
msg.setTemplate(value);
|
|
3332
|
+
break;
|
|
3333
|
+
case 7:
|
|
3334
|
+
var value = new strategysearch_search_pb.MarketSpace;
|
|
3335
|
+
reader.readMessage(value,strategysearch_search_pb.MarketSpace.deserializeBinaryFromReader);
|
|
3336
|
+
msg.setMarketSpace(value);
|
|
3337
|
+
break;
|
|
3224
3338
|
default:
|
|
3225
3339
|
reader.skipField();
|
|
3226
3340
|
break;
|
|
@@ -3289,6 +3403,22 @@ proto.trb.strategysearch.v1.CreateSearchPresetRequest.serializeBinaryToWriter =
|
|
|
3289
3403
|
strategysearch_backtest_pb.BacktestConfig.serializeBinaryToWriter
|
|
3290
3404
|
);
|
|
3291
3405
|
}
|
|
3406
|
+
f = message.getTemplate();
|
|
3407
|
+
if (f != null) {
|
|
3408
|
+
writer.writeMessage(
|
|
3409
|
+
6,
|
|
3410
|
+
f,
|
|
3411
|
+
strategysearch_search_pb.StrategyTemplate.serializeBinaryToWriter
|
|
3412
|
+
);
|
|
3413
|
+
}
|
|
3414
|
+
f = message.getMarketSpace();
|
|
3415
|
+
if (f != null) {
|
|
3416
|
+
writer.writeMessage(
|
|
3417
|
+
7,
|
|
3418
|
+
f,
|
|
3419
|
+
strategysearch_search_pb.MarketSpace.serializeBinaryToWriter
|
|
3420
|
+
);
|
|
3421
|
+
}
|
|
3292
3422
|
};
|
|
3293
3423
|
|
|
3294
3424
|
|
|
@@ -3459,6 +3589,80 @@ proto.trb.strategysearch.v1.CreateSearchPresetRequest.prototype.hasConfig = func
|
|
|
3459
3589
|
};
|
|
3460
3590
|
|
|
3461
3591
|
|
|
3592
|
+
/**
|
|
3593
|
+
* optional StrategyTemplate template = 6;
|
|
3594
|
+
* @return {?proto.trb.strategysearch.v1.StrategyTemplate}
|
|
3595
|
+
*/
|
|
3596
|
+
proto.trb.strategysearch.v1.CreateSearchPresetRequest.prototype.getTemplate = function() {
|
|
3597
|
+
return /** @type{?proto.trb.strategysearch.v1.StrategyTemplate} */ (
|
|
3598
|
+
jspb.Message.getWrapperField(this, strategysearch_search_pb.StrategyTemplate, 6));
|
|
3599
|
+
};
|
|
3600
|
+
|
|
3601
|
+
|
|
3602
|
+
/**
|
|
3603
|
+
* @param {?proto.trb.strategysearch.v1.StrategyTemplate|undefined} value
|
|
3604
|
+
* @return {!proto.trb.strategysearch.v1.CreateSearchPresetRequest} returns this
|
|
3605
|
+
*/
|
|
3606
|
+
proto.trb.strategysearch.v1.CreateSearchPresetRequest.prototype.setTemplate = function(value) {
|
|
3607
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
3608
|
+
};
|
|
3609
|
+
|
|
3610
|
+
|
|
3611
|
+
/**
|
|
3612
|
+
* Clears the message field making it undefined.
|
|
3613
|
+
* @return {!proto.trb.strategysearch.v1.CreateSearchPresetRequest} returns this
|
|
3614
|
+
*/
|
|
3615
|
+
proto.trb.strategysearch.v1.CreateSearchPresetRequest.prototype.clearTemplate = function() {
|
|
3616
|
+
return this.setTemplate(undefined);
|
|
3617
|
+
};
|
|
3618
|
+
|
|
3619
|
+
|
|
3620
|
+
/**
|
|
3621
|
+
* Returns whether this field is set.
|
|
3622
|
+
* @return {boolean}
|
|
3623
|
+
*/
|
|
3624
|
+
proto.trb.strategysearch.v1.CreateSearchPresetRequest.prototype.hasTemplate = function() {
|
|
3625
|
+
return jspb.Message.getField(this, 6) != null;
|
|
3626
|
+
};
|
|
3627
|
+
|
|
3628
|
+
|
|
3629
|
+
/**
|
|
3630
|
+
* optional MarketSpace market_space = 7;
|
|
3631
|
+
* @return {?proto.trb.strategysearch.v1.MarketSpace}
|
|
3632
|
+
*/
|
|
3633
|
+
proto.trb.strategysearch.v1.CreateSearchPresetRequest.prototype.getMarketSpace = function() {
|
|
3634
|
+
return /** @type{?proto.trb.strategysearch.v1.MarketSpace} */ (
|
|
3635
|
+
jspb.Message.getWrapperField(this, strategysearch_search_pb.MarketSpace, 7));
|
|
3636
|
+
};
|
|
3637
|
+
|
|
3638
|
+
|
|
3639
|
+
/**
|
|
3640
|
+
* @param {?proto.trb.strategysearch.v1.MarketSpace|undefined} value
|
|
3641
|
+
* @return {!proto.trb.strategysearch.v1.CreateSearchPresetRequest} returns this
|
|
3642
|
+
*/
|
|
3643
|
+
proto.trb.strategysearch.v1.CreateSearchPresetRequest.prototype.setMarketSpace = function(value) {
|
|
3644
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
3645
|
+
};
|
|
3646
|
+
|
|
3647
|
+
|
|
3648
|
+
/**
|
|
3649
|
+
* Clears the message field making it undefined.
|
|
3650
|
+
* @return {!proto.trb.strategysearch.v1.CreateSearchPresetRequest} returns this
|
|
3651
|
+
*/
|
|
3652
|
+
proto.trb.strategysearch.v1.CreateSearchPresetRequest.prototype.clearMarketSpace = function() {
|
|
3653
|
+
return this.setMarketSpace(undefined);
|
|
3654
|
+
};
|
|
3655
|
+
|
|
3656
|
+
|
|
3657
|
+
/**
|
|
3658
|
+
* Returns whether this field is set.
|
|
3659
|
+
* @return {boolean}
|
|
3660
|
+
*/
|
|
3661
|
+
proto.trb.strategysearch.v1.CreateSearchPresetRequest.prototype.hasMarketSpace = function() {
|
|
3662
|
+
return jspb.Message.getField(this, 7) != null;
|
|
3663
|
+
};
|
|
3664
|
+
|
|
3665
|
+
|
|
3462
3666
|
|
|
3463
3667
|
|
|
3464
3668
|
|