@openmarket/market-data-proto 12.82.0 → 12.84.0
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/dist/enums_pb.d.ts +88 -19
- package/dist/enums_pb.d.ts.map +1 -1
- package/dist/enums_pb.js +84 -15
- package/dist/index.js +1 -1
- package/dist/option_print_pb.d.ts +95 -5
- package/dist/option_print_pb.d.ts.map +1 -1
- package/dist/option_print_pb.js +56 -2
- package/dist/trade_pb.d.ts +31 -1
- package/dist/trade_pb.d.ts.map +1 -1
- package/dist/trade_pb.js +1 -1
- package/dist/tsdb-gateway/tsdb-gateway_pb.d.ts +46 -1
- package/dist/tsdb-gateway/tsdb-gateway_pb.d.ts.map +1 -1
- package/dist/tsdb-gateway/tsdb-gateway_pb.js +1 -1
- package/dist/tsdb-gateway/v3/commodities_pb.d.ts +113 -2
- package/dist/tsdb-gateway/v3/commodities_pb.d.ts.map +1 -1
- package/dist/tsdb-gateway/v3/commodities_pb.js +28 -1
- package/dist/tsdb-gateway/v3/common_pb.d.ts +352 -4
- package/dist/tsdb-gateway/v3/common_pb.d.ts.map +1 -1
- package/dist/tsdb-gateway/v3/common_pb.js +128 -28
- package/dist/tsdb-gateway/v3/crypto_pb.d.ts +343 -2
- package/dist/tsdb-gateway/v3/crypto_pb.d.ts.map +1 -1
- package/dist/tsdb-gateway/v3/crypto_pb.js +85 -4
- package/dist/tsdb-gateway/v3/crypto_point.generated_pb.d.ts +18 -0
- package/dist/tsdb-gateway/v3/crypto_point.generated_pb.d.ts.map +1 -1
- package/dist/tsdb-gateway/v3/crypto_point.generated_pb.js +3 -1
- package/dist/tsdb-gateway/v3/equities_pb.d.ts +108 -7
- package/dist/tsdb-gateway/v3/equities_pb.d.ts.map +1 -1
- package/dist/tsdb-gateway/v3/equities_pb.js +11 -5
- package/dist/tsdb-gateway/v3/futures_pb.d.ts +136 -2
- package/dist/tsdb-gateway/v3/futures_pb.d.ts.map +1 -1
- package/dist/tsdb-gateway/v3/futures_pb.js +28 -1
- package/dist/tsdb-gateway/v3/fx_pb.d.ts +113 -2
- package/dist/tsdb-gateway/v3/fx_pb.d.ts.map +1 -1
- package/dist/tsdb-gateway/v3/fx_pb.js +28 -1
- package/dist/tsdb-gateway/v3/indices_pb.d.ts +113 -2
- package/dist/tsdb-gateway/v3/indices_pb.d.ts.map +1 -1
- package/dist/tsdb-gateway/v3/indices_pb.js +28 -1
- package/dist/tsdb-gateway/v3/macro_pb.d.ts +192 -2
- package/dist/tsdb-gateway/v3/macro_pb.d.ts.map +1 -1
- package/dist/tsdb-gateway/v3/macro_pb.js +53 -1
- package/dist/tsdb-gateway/v3/methods_pb.d.ts +308 -17
- package/dist/tsdb-gateway/v3/methods_pb.d.ts.map +1 -1
- package/dist/tsdb-gateway/v3/methods_pb.js +15 -5
- package/dist/tsdb-gateway/v3/options_pb.d.ts +667 -3
- package/dist/tsdb-gateway/v3/options_pb.d.ts.map +1 -1
- package/dist/tsdb-gateway/v3/options_pb.js +170 -6
- package/dist/tsdb-gateway/v3/options_point.generated_pb.d.ts +91 -10
- package/dist/tsdb-gateway/v3/options_point.generated_pb.d.ts.map +1 -1
- package/dist/tsdb-gateway/v3/options_point.generated_pb.js +10 -1
- package/dist/tsdb-gateway/v3/prediction_pb.d.ts +196 -4
- package/dist/tsdb-gateway/v3/prediction_pb.d.ts.map +1 -1
- package/dist/tsdb-gateway/v3/prediction_pb.js +36 -13
- package/dist/tsdb-gateway/v3/prediction_point.generated_pb.d.ts +18 -0
- package/dist/tsdb-gateway/v3/prediction_point.generated_pb.d.ts.map +1 -1
- package/dist/tsdb-gateway/v3/prediction_point.generated_pb.js +3 -1
- package/dist/volume_profile_aggregation_pb.d.ts +11 -0
- package/dist/volume_profile_aggregation_pb.d.ts.map +1 -1
- package/dist/volume_profile_aggregation_pb.js +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
-
import type { AggregationInterval, Exchange, OptionType, SkewKind, Tenor } from "../../enums_pb.js";
|
|
3
|
-
import type {
|
|
2
|
+
import type { AggregationInterval, AssetClass, BarAnchor, BarSpan, Exchange, OptionDteBucket, OptionExpiryClass, OptionPrintSide, OptionsExpiryScope, OptionSurfacePick, OptionType, ProductKind, Representation, Side, SkewKind, StrikeMetric, StrikeRowFold, Tenor } from "../../enums_pb.js";
|
|
3
|
+
import type { OptionChainExpiry } from "../tsdb-gateway_pb.js";
|
|
4
|
+
import type { IncludeError, MetricAvailability, NumericRange, OptionRef, StringCriteria, Symbols, VenueRow, VenuesInclude } from "./common_pb.js";
|
|
4
5
|
import type { OptionPoint } from "./options_point.generated_pb.js";
|
|
5
6
|
import type { Message } from "@bufbuild/protobuf";
|
|
6
7
|
/**
|
|
@@ -100,6 +101,28 @@ export type OptionParams = Message<"gateway.v3.OptionParams"> & {
|
|
|
100
101
|
* @generated from field: bool latest = 21;
|
|
101
102
|
*/
|
|
102
103
|
latest: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* How the six options metrics group, filter and cut their rows (D35):
|
|
106
|
+
* each cell lists the shape fields it honours, and any other is refused.
|
|
107
|
+
* DTE bucket, moneyness and print sides are shape fields, not axes.
|
|
108
|
+
* Refused with series: the option read builders ignore a series filter's
|
|
109
|
+
* venues, which the venue gate counts.
|
|
110
|
+
*
|
|
111
|
+
* @generated from field: gateway.v3.OptionShape shape = 22;
|
|
112
|
+
*/
|
|
113
|
+
shape?: OptionShape;
|
|
114
|
+
/**
|
|
115
|
+
* PRINT_FLOW's scope; required there.
|
|
116
|
+
*
|
|
117
|
+
* @generated from field: gateway.v3.OptionParams.FlowScope flowScope = 23;
|
|
118
|
+
*/
|
|
119
|
+
flowScope: OptionParams_FlowScope;
|
|
120
|
+
/**
|
|
121
|
+
* OPRA only: STOCK, ETF or INDEX, v2's EQUITY, ETF and INDEX words.
|
|
122
|
+
*
|
|
123
|
+
* @generated from field: optional AssetClass issueType = 24;
|
|
124
|
+
*/
|
|
125
|
+
issueType?: AssetClass;
|
|
103
126
|
};
|
|
104
127
|
/**
|
|
105
128
|
* Describes the message gateway.v3.OptionParams.
|
|
@@ -199,12 +222,393 @@ export declare enum OptionParams_Metric {
|
|
|
199
222
|
/**
|
|
200
223
|
* @generated from enum value: DEFI_OPTIONS_VAULT = 16;
|
|
201
224
|
*/
|
|
202
|
-
DEFI_OPTIONS_VAULT = 16
|
|
225
|
+
DEFI_OPTIONS_VAULT = 16,
|
|
226
|
+
/**
|
|
227
|
+
* An option contract's own trades and candles (taxonomy D49), addressed
|
|
228
|
+
* by refs or underlying + strikes like the other contract metrics. They
|
|
229
|
+
* read the trade tables' OPTION category, which the CRYPTO arm served
|
|
230
|
+
* under categories [OPTION] before.
|
|
231
|
+
*
|
|
232
|
+
* @generated from enum value: CANDLES = 17;
|
|
233
|
+
*/
|
|
234
|
+
CANDLES = 17,
|
|
235
|
+
/**
|
|
236
|
+
* @generated from enum value: TRADES = 18;
|
|
237
|
+
*/
|
|
238
|
+
TRADES = 18,
|
|
239
|
+
/**
|
|
240
|
+
* The six options types (taxonomy D13), each implying its grain, so
|
|
241
|
+
* there is no grain request field: v2's synthetic
|
|
242
|
+
* <underlying>|<YYYYMMDD>|<strike> symbols and its scope words in
|
|
243
|
+
* rawSymbols have no /v3 spelling.
|
|
244
|
+
*
|
|
245
|
+
* PRINTS is the contract-level print, twinned: raw OPTION_PRINT, agg the
|
|
246
|
+
* contract scope of OPTION_PRINT_AGG.
|
|
247
|
+
*
|
|
248
|
+
* @generated from enum value: PRINTS = 19;
|
|
249
|
+
*/
|
|
250
|
+
PRINTS = 19,
|
|
251
|
+
/**
|
|
252
|
+
* PRINT_FLOW is OPTION_PRINT_AGG's flow scopes, agg only, picked by
|
|
253
|
+
* flowScope.
|
|
254
|
+
*
|
|
255
|
+
* @generated from enum value: PRINT_FLOW = 20;
|
|
256
|
+
*/
|
|
257
|
+
PRINT_FLOW = 20,
|
|
258
|
+
/**
|
|
259
|
+
* @generated from enum value: STRIKE_EXPOSURE = 21;
|
|
260
|
+
*/
|
|
261
|
+
STRIKE_EXPOSURE = 21,
|
|
262
|
+
/**
|
|
263
|
+
* @generated from enum value: STRIKE_FLOW = 22;
|
|
264
|
+
*/
|
|
265
|
+
STRIKE_FLOW = 22,
|
|
266
|
+
/**
|
|
267
|
+
* @generated from enum value: SURFACE = 23;
|
|
268
|
+
*/
|
|
269
|
+
SURFACE = 23,
|
|
270
|
+
/**
|
|
271
|
+
* @generated from enum value: UNDERLYING_STATS = 24;
|
|
272
|
+
*/
|
|
273
|
+
UNDERLYING_STATS = 24
|
|
203
274
|
}
|
|
204
275
|
/**
|
|
205
276
|
* Describes the enum gateway.v3.OptionParams.Metric.
|
|
206
277
|
*/
|
|
207
278
|
export declare const OptionParams_MetricSchema: GenEnum<OptionParams_Metric>;
|
|
279
|
+
/**
|
|
280
|
+
* The OPTION_PRINT_AGG flow scope PRINT_FLOW reads, numbered as v2's
|
|
281
|
+
* OptionPrintAggScope; the values are prefixed because they share
|
|
282
|
+
* OptionParams' scope with Metric's. MARKET and VENUE span underlyings, so
|
|
283
|
+
* they refuse underlying; every other scope requires it. shape.span WINDOW
|
|
284
|
+
* (one row set for the whole window) is taken on COIN and EXPIRY only, as
|
|
285
|
+
* on v2.
|
|
286
|
+
*
|
|
287
|
+
* @generated from enum gateway.v3.OptionParams.FlowScope
|
|
288
|
+
*/
|
|
289
|
+
export declare enum OptionParams_FlowScope {
|
|
290
|
+
/**
|
|
291
|
+
* @generated from enum value: FLOW_SCOPE_UNSPECIFIED = 0;
|
|
292
|
+
*/
|
|
293
|
+
UNSPECIFIED = 0,
|
|
294
|
+
/**
|
|
295
|
+
* @generated from enum value: FLOW_SCOPE_COIN = 1;
|
|
296
|
+
*/
|
|
297
|
+
COIN = 1,
|
|
298
|
+
/**
|
|
299
|
+
* @generated from enum value: FLOW_SCOPE_MARKET = 2;
|
|
300
|
+
*/
|
|
301
|
+
MARKET = 2,
|
|
302
|
+
/**
|
|
303
|
+
* @generated from enum value: FLOW_SCOPE_VENUE = 3;
|
|
304
|
+
*/
|
|
305
|
+
VENUE = 3,
|
|
306
|
+
/**
|
|
307
|
+
* @generated from enum value: FLOW_SCOPE_SPOT_PROFILE = 4;
|
|
308
|
+
*/
|
|
309
|
+
SPOT_PROFILE = 4,
|
|
310
|
+
/**
|
|
311
|
+
* @generated from enum value: FLOW_SCOPE_STRIKE = 5;
|
|
312
|
+
*/
|
|
313
|
+
STRIKE = 5,
|
|
314
|
+
/**
|
|
315
|
+
* @generated from enum value: FLOW_SCOPE_EXPIRY = 6;
|
|
316
|
+
*/
|
|
317
|
+
EXPIRY = 6,
|
|
318
|
+
/**
|
|
319
|
+
* @generated from enum value: FLOW_SCOPE_EXPIRY_STRIKE = 7;
|
|
320
|
+
*/
|
|
321
|
+
EXPIRY_STRIKE = 7,
|
|
322
|
+
/**
|
|
323
|
+
* @generated from enum value: FLOW_SCOPE_PRINTS = 8;
|
|
324
|
+
*/
|
|
325
|
+
PRINTS = 8
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* Describes the enum gateway.v3.OptionParams.FlowScope.
|
|
329
|
+
*/
|
|
330
|
+
export declare const OptionParams_FlowScopeSchema: GenEnum<OptionParams_FlowScope>;
|
|
331
|
+
/**
|
|
332
|
+
* OptionShape is v2's OptionReadShape on /v3 (taxonomy D35): every field's
|
|
333
|
+
* name, number, type and presence copied, /v3's own from 100 (D34). v2
|
|
334
|
+
* changes reach it only by a reviewed copy. The text below is v2's.
|
|
335
|
+
*
|
|
336
|
+
* @generated from message gateway.v3.OptionShape
|
|
337
|
+
*/
|
|
338
|
+
export type OptionShape = Message<"gateway.v3.OptionShape"> & {
|
|
339
|
+
/**
|
|
340
|
+
* The bar rows are summed to, in seconds. 0: the tier's own buckets
|
|
341
|
+
* (today). Taken by every grouped read.
|
|
342
|
+
*
|
|
343
|
+
* @generated from field: int64 barSeconds = 1;
|
|
344
|
+
*/
|
|
345
|
+
barSeconds: bigint;
|
|
346
|
+
/**
|
|
347
|
+
* UTC (0), US_EQUITY_RTH (1), CME_SESSION (2), CME_RTH (3) or
|
|
348
|
+
* CME_ENERGY_RTH (4). Taken with barSeconds or span.
|
|
349
|
+
*
|
|
350
|
+
* @generated from field: BarAnchor barAnchor = 2;
|
|
351
|
+
*/
|
|
352
|
+
barAnchor: BarAnchor;
|
|
353
|
+
/**
|
|
354
|
+
* BAR (0) or SESSION (1): one row set per trade date. Taken by STRIKE,
|
|
355
|
+
* EXPIRY, EXPIRY_STRIKE and CONTRACT.
|
|
356
|
+
*
|
|
357
|
+
* @generated from field: BarSpan span = 3;
|
|
358
|
+
*/
|
|
359
|
+
span: BarSpan;
|
|
360
|
+
/**
|
|
361
|
+
* Keep rows (prints) of this bucket only. Unset keeps every bucket, 0 and
|
|
362
|
+
* unknown included. Taken by COIN, MARKET (and its issue words) and
|
|
363
|
+
* PRINTS.
|
|
364
|
+
*
|
|
365
|
+
* @generated from field: optional OptionDteBucket dteBucket = 4;
|
|
366
|
+
*/
|
|
367
|
+
dteBucket?: OptionDteBucket;
|
|
368
|
+
/**
|
|
369
|
+
* +1 out of the money or -1 in the money. Unset keeps every row, unpriced
|
|
370
|
+
* included. Taken by COIN, MARKET (and its issue words), PRINTS and
|
|
371
|
+
* OPTION_PRINT.
|
|
372
|
+
*
|
|
373
|
+
* @generated from field: optional int32 moneyness = 5;
|
|
374
|
+
*/
|
|
375
|
+
moneyness?: number;
|
|
376
|
+
/**
|
|
377
|
+
* ALL, ZERO_DTE or AFTER_TODAY, judged per row. Taken by STRIKE, EXPIRY,
|
|
378
|
+
* EXPIRY_STRIKE and CONTRACT.
|
|
379
|
+
*
|
|
380
|
+
* @generated from field: OptionExpiryClass expiryClass = 6;
|
|
381
|
+
*/
|
|
382
|
+
expiryClass: OptionExpiryClass;
|
|
383
|
+
/**
|
|
384
|
+
* Keep the N smallest distinct expiries traded in the group. 0: off.
|
|
385
|
+
* Taken by EXPIRY and EXPIRY_STRIKE.
|
|
386
|
+
*
|
|
387
|
+
* @generated from field: uint32 nearestExpiries = 7;
|
|
388
|
+
*/
|
|
389
|
+
nearestExpiries: number;
|
|
390
|
+
/**
|
|
391
|
+
* Keep strikes within this percent of the group's contract-weighted
|
|
392
|
+
* underlying. 0: off. Taken by STRIKE and EXPIRY_STRIKE.
|
|
393
|
+
*
|
|
394
|
+
* @generated from field: double strikeWindowPct = 8;
|
|
395
|
+
*/
|
|
396
|
+
strikeWindowPct: number;
|
|
397
|
+
/**
|
|
398
|
+
* Keep the N distinct strikes nearest that underlying, after the window.
|
|
399
|
+
* 0: off. Taken by STRIKE and EXPIRY_STRIKE.
|
|
400
|
+
*
|
|
401
|
+
* @generated from field: uint32 strikeRows = 9;
|
|
402
|
+
*/
|
|
403
|
+
strikeRows: number;
|
|
404
|
+
/**
|
|
405
|
+
* Keep a row whose group contracts (sum_size) reach it. 0: off. Taken by
|
|
406
|
+
* STRIKE, EXPIRY and EXPIRY_STRIKE (CONTRACT keeps min_volume in the client
|
|
407
|
+
* fold, as today).
|
|
408
|
+
*
|
|
409
|
+
* @generated from field: double minVolume = 10;
|
|
410
|
+
*/
|
|
411
|
+
minVolume: number;
|
|
412
|
+
/**
|
|
413
|
+
* Split each strike into a ZERO and an AFTER_ZERO row. Taken by STRIKE.
|
|
414
|
+
*
|
|
415
|
+
* @generated from field: bool splitDte = 11;
|
|
416
|
+
*/
|
|
417
|
+
splitDte: boolean;
|
|
418
|
+
/**
|
|
419
|
+
* One row per strike for calls and puts together. Taken by STRIKE.
|
|
420
|
+
*
|
|
421
|
+
* @generated from field: bool foldTypes = 12;
|
|
422
|
+
*/
|
|
423
|
+
foldTypes: boolean;
|
|
424
|
+
/**
|
|
425
|
+
* Keep a row whose group premium, the four sides' sum, reaches it. 0: off.
|
|
426
|
+
* Taken by CONTRACT and EXPIRY_STRIKE.
|
|
427
|
+
*
|
|
428
|
+
* @generated from field: double minBarPremium = 13;
|
|
429
|
+
*/
|
|
430
|
+
minBarPremium: number;
|
|
431
|
+
/**
|
|
432
|
+
* Keep the K largest premiums of each bar. Needs barSeconds. 0: off.
|
|
433
|
+
* Taken by OPTION_PRINT.
|
|
434
|
+
*
|
|
435
|
+
* @generated from field: uint32 largestPerBar = 14;
|
|
436
|
+
*/
|
|
437
|
+
largestPerBar: number;
|
|
438
|
+
/**
|
|
439
|
+
* Keep the M newest prints of the window. 0: off. With largestPerBar also
|
|
440
|
+
* set, the read keeps their union. Taken by OPTION_PRINT.
|
|
441
|
+
*
|
|
442
|
+
* @generated from field: uint32 newest = 15;
|
|
443
|
+
*/
|
|
444
|
+
newest: number;
|
|
445
|
+
/**
|
|
446
|
+
* Also every print up to this many ms before the oldest kept one
|
|
447
|
+
* (completes a merged order). Taken by OPTION_PRINT with newest.
|
|
448
|
+
*
|
|
449
|
+
* @generated from field: int64 newestTailMs = 16;
|
|
450
|
+
*/
|
|
451
|
+
newestTailMs: bigint;
|
|
452
|
+
/**
|
|
453
|
+
* Keep prints of these sides. Empty keeps every side. Taken by
|
|
454
|
+
* OPTION_PRINT and PRINTS.
|
|
455
|
+
*
|
|
456
|
+
* @generated from field: repeated OptionPrintSide sides = 17;
|
|
457
|
+
*/
|
|
458
|
+
sides: OptionPrintSide[];
|
|
459
|
+
/**
|
|
460
|
+
* Keep prints with dte_days at most this. Taken by OPTION_PRINT and
|
|
461
|
+
* PRINTS.
|
|
462
|
+
*
|
|
463
|
+
* @generated from field: optional int32 maxDteDays = 18;
|
|
464
|
+
*/
|
|
465
|
+
maxDteDays?: number;
|
|
466
|
+
/**
|
|
467
|
+
* NONE (today) or BAR. BAR needs barSeconds. Taken by OPTION_STRIKE_AGG
|
|
468
|
+
* and OPTION_STRIKE_FLOW_AGG.
|
|
469
|
+
*
|
|
470
|
+
* @generated from field: StrikeRowFold strikeFold = 19;
|
|
471
|
+
*/
|
|
472
|
+
strikeFold: StrikeRowFold;
|
|
473
|
+
/**
|
|
474
|
+
* ALL, NEAREST, WEEK (7 days) or MONTH (31 days), from the bar's open.
|
|
475
|
+
* Taken with strikeFold BAR.
|
|
476
|
+
*
|
|
477
|
+
* @generated from field: OptionsExpiryScope expiryScope = 20;
|
|
478
|
+
*/
|
|
479
|
+
expiryScope: OptionsExpiryScope;
|
|
480
|
+
/**
|
|
481
|
+
* 0 reads 0.75 (STRIKE_BAND_LOW). Taken with strikeFold BAR.
|
|
482
|
+
*
|
|
483
|
+
* @generated from field: double strikeBandLow = 21;
|
|
484
|
+
*/
|
|
485
|
+
strikeBandLow: number;
|
|
486
|
+
/**
|
|
487
|
+
* 0 reads 1.25 (STRIKE_BAND_HIGH). Taken with strikeFold BAR.
|
|
488
|
+
*
|
|
489
|
+
* @generated from field: double strikeBandHigh = 22;
|
|
490
|
+
*/
|
|
491
|
+
strikeBandHigh: number;
|
|
492
|
+
/**
|
|
493
|
+
* ALL (0) fills every value column; one metric fills its own columns
|
|
494
|
+
* only. Taken with strikeFold BAR.
|
|
495
|
+
*
|
|
496
|
+
* @generated from field: StrikeMetric strikeMetric = 23;
|
|
497
|
+
*/
|
|
498
|
+
strikeMetric: StrikeMetric;
|
|
499
|
+
/**
|
|
500
|
+
* Taken with strikeFold BAR on a strike-row read. Empty keeps today's
|
|
501
|
+
* answer: every book of the coin summed. A value names one book by its
|
|
502
|
+
* series key: the coin itself selects the venue's default book (rows whose
|
|
503
|
+
* symbol carries no series suffix); another series key selects the rows
|
|
504
|
+
* carrying that suffix.
|
|
505
|
+
*
|
|
506
|
+
* @generated from field: string book = 24;
|
|
507
|
+
*/
|
|
508
|
+
book: string;
|
|
509
|
+
/**
|
|
510
|
+
* OPTLOAD G5. Taken by OPTION_SURFACE with barSeconds: each bar keeps its
|
|
511
|
+
* newest 5m bucket, and this pick runs on that bucket's rows.
|
|
512
|
+
*
|
|
513
|
+
* @generated from field: OptionSurfacePick surfacePick = 40;
|
|
514
|
+
*/
|
|
515
|
+
surfacePick: OptionSurfacePick;
|
|
516
|
+
/**
|
|
517
|
+
* NEAREST_DAYS: the target days.
|
|
518
|
+
*
|
|
519
|
+
* @generated from field: double surfaceDays = 41;
|
|
520
|
+
*/
|
|
521
|
+
surfaceDays: number;
|
|
522
|
+
/**
|
|
523
|
+
* NEAREST_DAYS: the wings, 25 or 10.
|
|
524
|
+
*
|
|
525
|
+
* @generated from field: int32 surfaceDelta = 42;
|
|
526
|
+
*/
|
|
527
|
+
surfaceDelta: number;
|
|
528
|
+
/**
|
|
529
|
+
* TENOR_BRACKET: the tenor, in days.
|
|
530
|
+
*
|
|
531
|
+
* @generated from field: double surfaceTenorDays = 43;
|
|
532
|
+
*/
|
|
533
|
+
surfaceTenorDays: number;
|
|
534
|
+
/**
|
|
535
|
+
* Taken by OPTION_STRIKE_AGG with barSeconds: each bar's newest minute,
|
|
536
|
+
* folded with the option_strikes kit's rules. Refused with strikeFold BAR.
|
|
537
|
+
*
|
|
538
|
+
* @generated from field: bool strikeKitFold = 44;
|
|
539
|
+
*/
|
|
540
|
+
strikeKitFold: boolean;
|
|
541
|
+
/**
|
|
542
|
+
* The N soonest listed expiries the kit fold keeps; 0: every one.
|
|
543
|
+
*
|
|
544
|
+
* @generated from field: uint32 strikeNearest = 45;
|
|
545
|
+
*/
|
|
546
|
+
strikeNearest: number;
|
|
547
|
+
/**
|
|
548
|
+
* The template's map window, in percent of the kit spot, each side.
|
|
549
|
+
*
|
|
550
|
+
* @generated from field: double strikeKitWindowPct = 46;
|
|
551
|
+
*/
|
|
552
|
+
strikeKitWindowPct: number;
|
|
553
|
+
/**
|
|
554
|
+
* Strike rows within this many finest steps of the centre, plus one.
|
|
555
|
+
*
|
|
556
|
+
* @generated from field: uint32 strikeStepRows = 47;
|
|
557
|
+
*/
|
|
558
|
+
strikeStepRows: number;
|
|
559
|
+
/**
|
|
560
|
+
* Also the strikes the next bar with rows draws.
|
|
561
|
+
*
|
|
562
|
+
* @generated from field: bool strikeCarryNext = 48;
|
|
563
|
+
*/
|
|
564
|
+
strikeCarryNext: boolean;
|
|
565
|
+
/**
|
|
566
|
+
* One levels row per bar (levelsRow, strike 0).
|
|
567
|
+
*
|
|
568
|
+
* @generated from field: bool strikeLevels = 49;
|
|
569
|
+
*/
|
|
570
|
+
strikeLevels: boolean;
|
|
571
|
+
/**
|
|
572
|
+
* The input's max_cells: a minute with more rows sends a refused levels
|
|
573
|
+
* row.
|
|
574
|
+
*
|
|
575
|
+
* @generated from field: uint32 strikeMaxCells = 50;
|
|
576
|
+
*/
|
|
577
|
+
strikeMaxCells: number;
|
|
578
|
+
/**
|
|
579
|
+
* The kit fold's lens: NET_GEX, DEX or VEX; any other value is refused.
|
|
580
|
+
*
|
|
581
|
+
* @generated from field: StrikeMetric strikeKitMetric = 51;
|
|
582
|
+
*/
|
|
583
|
+
strikeKitMetric: StrikeMetric;
|
|
584
|
+
/**
|
|
585
|
+
* Answer the curve fields; refused by name without strikeKitFold and strikeLevels.
|
|
586
|
+
*
|
|
587
|
+
* @generated from field: bool strikeKitCurve = 52;
|
|
588
|
+
*/
|
|
589
|
+
strikeKitCurve: boolean;
|
|
590
|
+
/**
|
|
591
|
+
* The host's option multiplier (OPRA 100, a CME root's point value, crypto 1); 0 reads 1.
|
|
592
|
+
*
|
|
593
|
+
* @generated from field: double strikeKitMultiplier = 53;
|
|
594
|
+
*/
|
|
595
|
+
strikeKitMultiplier: number;
|
|
596
|
+
/**
|
|
597
|
+
* Velocity windows, in minutes: 1 to 7 of 1, 5, 10, 15, 60, 240 and 1440.
|
|
598
|
+
* Each strike row then also answers its change over every window, in this
|
|
599
|
+
* order (OptionStrikeAggregation netGexVelocity to oiVelocity). Taken by
|
|
600
|
+
* OPTION_STRIKE_AGG with strikeFold BAR, no window narrower than the tier
|
|
601
|
+
* (the DAY tier takes 1440 alone).
|
|
602
|
+
*
|
|
603
|
+
* @generated from field: repeated int32 velocityWindowsMin = 60;
|
|
604
|
+
*/
|
|
605
|
+
velocityWindowsMin: number[];
|
|
606
|
+
};
|
|
607
|
+
/**
|
|
608
|
+
* Describes the message gateway.v3.OptionShape.
|
|
609
|
+
* Use `create(OptionShapeSchema)` to create a new message.
|
|
610
|
+
*/
|
|
611
|
+
export declare const OptionShapeSchema: GenMessage<OptionShape>;
|
|
208
612
|
/**
|
|
209
613
|
* One frame = one series identity. Only this class's axes appear.
|
|
210
614
|
*
|
|
@@ -251,6 +655,77 @@ export type OptionSeriesKey = Message<"gateway.v3.OptionSeriesKey"> & {
|
|
|
251
655
|
* @generated from field: optional bool inverse = 10;
|
|
252
656
|
*/
|
|
253
657
|
inverse?: boolean;
|
|
658
|
+
/**
|
|
659
|
+
* The aggressor side of a TRADES series (D49): the trade aggregates keep
|
|
660
|
+
* buys and sells apart, as on the CRYPTO arm.
|
|
661
|
+
*
|
|
662
|
+
* @generated from field: Side side = 11;
|
|
663
|
+
*/
|
|
664
|
+
side: Side;
|
|
665
|
+
/**
|
|
666
|
+
* The grain of the six options metrics (D13), each set only where the
|
|
667
|
+
* metric keys its series by it: PRINT_FLOW by its scope (COIN: underlying,
|
|
668
|
+
* optionType, dteBucket, moneyness; MARKET: optionType, dteBucket,
|
|
669
|
+
* moneyness, issueType; VENUE: venue, optionType, issueType; SPOT_PROFILE:
|
|
670
|
+
* underlying, spotBin, optionType; STRIKE: underlying, strike, dteBucket;
|
|
671
|
+
* EXPIRY: underlying, expiry; EXPIRY_STRIKE: underlying, expiry, strike;
|
|
672
|
+
* PRINTS: underlying, optionType), STRIKE_EXPOSURE and STRIKE_FLOW by
|
|
673
|
+
* expiry and strike, SURFACE by expiry, UNDERLYING_STATS by book.
|
|
674
|
+
*
|
|
675
|
+
* @generated from field: gateway.v3.OptionParams.FlowScope flowScope = 12;
|
|
676
|
+
*/
|
|
677
|
+
flowScope: OptionParams_FlowScope;
|
|
678
|
+
/**
|
|
679
|
+
* @generated from field: int64 expiryUnixS = 13;
|
|
680
|
+
*/
|
|
681
|
+
expiryUnixS: bigint;
|
|
682
|
+
/**
|
|
683
|
+
* @generated from field: double strike = 14;
|
|
684
|
+
*/
|
|
685
|
+
strike: number;
|
|
686
|
+
/**
|
|
687
|
+
* @generated from field: optional OptionDteBucket dteBucket = 15;
|
|
688
|
+
*/
|
|
689
|
+
dteBucket?: OptionDteBucket;
|
|
690
|
+
/**
|
|
691
|
+
* @generated from field: optional int32 moneyness = 16;
|
|
692
|
+
*/
|
|
693
|
+
moneyness?: number;
|
|
694
|
+
/**
|
|
695
|
+
* @generated from field: AssetClass issueType = 17;
|
|
696
|
+
*/
|
|
697
|
+
issueType: AssetClass;
|
|
698
|
+
/**
|
|
699
|
+
* @generated from field: optional double spotBin = 18;
|
|
700
|
+
*/
|
|
701
|
+
spotBin?: number;
|
|
702
|
+
/**
|
|
703
|
+
* @generated from field: string book = 19;
|
|
704
|
+
*/
|
|
705
|
+
book: string;
|
|
706
|
+
/**
|
|
707
|
+
* Output labels (taxonomy D19): what the instrument is, independent of the
|
|
708
|
+
* domain that reads it; never on a ref. A value new to a response is
|
|
709
|
+
* emitted once read.v3.emit_new_enum_values is on (D37).
|
|
710
|
+
*
|
|
711
|
+
* @generated from field: AssetClass assetClass = 20;
|
|
712
|
+
*/
|
|
713
|
+
assetClass: AssetClass;
|
|
714
|
+
/**
|
|
715
|
+
* @generated from field: Representation representation = 21;
|
|
716
|
+
*/
|
|
717
|
+
representation: Representation;
|
|
718
|
+
/**
|
|
719
|
+
* @generated from field: ProductKind productKind = 22;
|
|
720
|
+
*/
|
|
721
|
+
productKind: ProductKind;
|
|
722
|
+
/**
|
|
723
|
+
* The stock or commodity tracked by an instrument whose class is not native
|
|
724
|
+
* to its domain, such as AAPL on the xyz:AAPL perp (D51).
|
|
725
|
+
*
|
|
726
|
+
* @generated from field: optional string underlyingTicker = 23;
|
|
727
|
+
*/
|
|
728
|
+
underlyingTicker?: string;
|
|
254
729
|
};
|
|
255
730
|
/**
|
|
256
731
|
* Describes the message gateway.v3.OptionSeriesKey.
|
|
@@ -281,6 +756,36 @@ export type OptionPointsFrame = Message<"gateway.v3.OptionPointsFrame"> & {
|
|
|
281
756
|
* Use `create(OptionPointsFrameSchema)` to create a new message.
|
|
282
757
|
*/
|
|
283
758
|
export declare const OptionPointsFrameSchema: GenMessage<OptionPointsFrame>;
|
|
759
|
+
/**
|
|
760
|
+
* One underlying a venue lists live option contracts on (D1): the options
|
|
761
|
+
* metrics its contracts serve. issueType is the underlying's class (STOCK,
|
|
762
|
+
* ETF or INDEX on OPRA), unset where the gateway does not classify it yet.
|
|
763
|
+
*
|
|
764
|
+
* @generated from message gateway.v3.OptionUnderlyingRow
|
|
765
|
+
*/
|
|
766
|
+
export type OptionUnderlyingRow = Message<"gateway.v3.OptionUnderlyingRow"> & {
|
|
767
|
+
/**
|
|
768
|
+
* @generated from field: Exchange venue = 1;
|
|
769
|
+
*/
|
|
770
|
+
venue: Exchange;
|
|
771
|
+
/**
|
|
772
|
+
* @generated from field: string underlying = 2;
|
|
773
|
+
*/
|
|
774
|
+
underlying: string;
|
|
775
|
+
/**
|
|
776
|
+
* @generated from field: AssetClass issueType = 3;
|
|
777
|
+
*/
|
|
778
|
+
issueType: AssetClass;
|
|
779
|
+
/**
|
|
780
|
+
* @generated from field: repeated gateway.v3.MetricAvailability metrics = 4;
|
|
781
|
+
*/
|
|
782
|
+
metrics: MetricAvailability[];
|
|
783
|
+
};
|
|
784
|
+
/**
|
|
785
|
+
* Describes the message gateway.v3.OptionUnderlyingRow.
|
|
786
|
+
* Use `create(OptionUnderlyingRowSchema)` to create a new message.
|
|
787
|
+
*/
|
|
788
|
+
export declare const OptionUnderlyingRowSchema: GenMessage<OptionUnderlyingRow>;
|
|
284
789
|
/**
|
|
285
790
|
* The class arm of StreamInstruments.
|
|
286
791
|
*
|
|
@@ -303,12 +808,109 @@ export type OptionInstrumentsFilter = Message<"gateway.v3.OptionInstrumentsFilte
|
|
|
303
808
|
* @generated from field: repeated gateway.v3.OptionRef refs = 4;
|
|
304
809
|
*/
|
|
305
810
|
refs: OptionRef[];
|
|
811
|
+
/**
|
|
812
|
+
* The includes this read returns (D5); empty means INSTRUMENTS.
|
|
813
|
+
*
|
|
814
|
+
* @generated from field: repeated gateway.v3.OptionInstrumentsFilter.Include include = 5;
|
|
815
|
+
*/
|
|
816
|
+
include: OptionInstrumentsFilter_Include[];
|
|
817
|
+
/**
|
|
818
|
+
* Narrows the VENUES include (D38); the arm's own fields narrow INSTRUMENTS.
|
|
819
|
+
*
|
|
820
|
+
* @generated from field: gateway.v3.VenuesInclude venuesInclude = 6;
|
|
821
|
+
*/
|
|
822
|
+
venuesInclude?: VenuesInclude;
|
|
823
|
+
/**
|
|
824
|
+
* @generated from field: gateway.v3.OptionInstrumentsFilter.ChainInclude chain = 7;
|
|
825
|
+
*/
|
|
826
|
+
chain?: OptionInstrumentsFilter_ChainInclude;
|
|
827
|
+
/**
|
|
828
|
+
* @generated from field: gateway.v3.OptionInstrumentsFilter.UnderlyingsInclude underlyings = 8;
|
|
829
|
+
*/
|
|
830
|
+
underlyings?: OptionInstrumentsFilter_UnderlyingsInclude;
|
|
306
831
|
};
|
|
307
832
|
/**
|
|
308
833
|
* Describes the message gateway.v3.OptionInstrumentsFilter.
|
|
309
834
|
* Use `create(OptionInstrumentsFilterSchema)` to create a new message.
|
|
310
835
|
*/
|
|
311
836
|
export declare const OptionInstrumentsFilterSchema: GenMessage<OptionInstrumentsFilter>;
|
|
837
|
+
/**
|
|
838
|
+
* Narrows the CHAIN include: the underlying, and one expiry of it.
|
|
839
|
+
*
|
|
840
|
+
* @generated from message gateway.v3.OptionInstrumentsFilter.ChainInclude
|
|
841
|
+
*/
|
|
842
|
+
export type OptionInstrumentsFilter_ChainInclude = Message<"gateway.v3.OptionInstrumentsFilter.ChainInclude"> & {
|
|
843
|
+
/**
|
|
844
|
+
* @generated from field: string underlying = 1;
|
|
845
|
+
*/
|
|
846
|
+
underlying: string;
|
|
847
|
+
/**
|
|
848
|
+
* @generated from field: optional int64 expiryUnixS = 2;
|
|
849
|
+
*/
|
|
850
|
+
expiryUnixS?: bigint;
|
|
851
|
+
};
|
|
852
|
+
/**
|
|
853
|
+
* Describes the message gateway.v3.OptionInstrumentsFilter.ChainInclude.
|
|
854
|
+
* Use `create(OptionInstrumentsFilter_ChainIncludeSchema)` to create a new message.
|
|
855
|
+
*/
|
|
856
|
+
export declare const OptionInstrumentsFilter_ChainIncludeSchema: GenMessage<OptionInstrumentsFilter_ChainInclude>;
|
|
857
|
+
/**
|
|
858
|
+
* Narrows the UNDERLYINGS include; empty venues reads the arm's.
|
|
859
|
+
*
|
|
860
|
+
* @generated from message gateway.v3.OptionInstrumentsFilter.UnderlyingsInclude
|
|
861
|
+
*/
|
|
862
|
+
export type OptionInstrumentsFilter_UnderlyingsInclude = Message<"gateway.v3.OptionInstrumentsFilter.UnderlyingsInclude"> & {
|
|
863
|
+
/**
|
|
864
|
+
* @generated from field: repeated Exchange venues = 1;
|
|
865
|
+
*/
|
|
866
|
+
venues: Exchange[];
|
|
867
|
+
};
|
|
868
|
+
/**
|
|
869
|
+
* Describes the message gateway.v3.OptionInstrumentsFilter.UnderlyingsInclude.
|
|
870
|
+
* Use `create(OptionInstrumentsFilter_UnderlyingsIncludeSchema)` to create a new message.
|
|
871
|
+
*/
|
|
872
|
+
export declare const OptionInstrumentsFilter_UnderlyingsIncludeSchema: GenMessage<OptionInstrumentsFilter_UnderlyingsInclude>;
|
|
873
|
+
/**
|
|
874
|
+
* The kinds of catalog row to return (taxonomy D5). Empty means INSTRUMENTS.
|
|
875
|
+
* Values are append-only; a client skips a value it does not know.
|
|
876
|
+
*
|
|
877
|
+
* @generated from enum gateway.v3.OptionInstrumentsFilter.Include
|
|
878
|
+
*/
|
|
879
|
+
export declare enum OptionInstrumentsFilter_Include {
|
|
880
|
+
/**
|
|
881
|
+
* @generated from enum value: INCLUDE_UNSPECIFIED = 0;
|
|
882
|
+
*/
|
|
883
|
+
INCLUDE_UNSPECIFIED = 0,
|
|
884
|
+
/**
|
|
885
|
+
* @generated from enum value: INSTRUMENTS = 1;
|
|
886
|
+
*/
|
|
887
|
+
INSTRUMENTS = 1,
|
|
888
|
+
/**
|
|
889
|
+
* One row per venue with at least one live instrument (D38).
|
|
890
|
+
*
|
|
891
|
+
* @generated from enum value: VENUES = 2;
|
|
892
|
+
*/
|
|
893
|
+
VENUES = 2,
|
|
894
|
+
/**
|
|
895
|
+
* One venue's chain of one underlying: each expiry with its instrument
|
|
896
|
+
* count and strikes, as v2 StreamOptionChain listed it (D1). Needs one
|
|
897
|
+
* venue and chain.underlying.
|
|
898
|
+
*
|
|
899
|
+
* @generated from enum value: CHAIN = 3;
|
|
900
|
+
*/
|
|
901
|
+
CHAIN = 3,
|
|
902
|
+
/**
|
|
903
|
+
* The underlyings each venue lists live contracts on, with the options
|
|
904
|
+
* metrics they serve (D1).
|
|
905
|
+
*
|
|
906
|
+
* @generated from enum value: UNDERLYINGS = 4;
|
|
907
|
+
*/
|
|
908
|
+
UNDERLYINGS = 4
|
|
909
|
+
}
|
|
910
|
+
/**
|
|
911
|
+
* Describes the enum gateway.v3.OptionInstrumentsFilter.Include.
|
|
912
|
+
*/
|
|
913
|
+
export declare const OptionInstrumentsFilter_IncludeSchema: GenEnum<OptionInstrumentsFilter_Include>;
|
|
312
914
|
/**
|
|
313
915
|
* @generated from message gateway.v3.OptionInstrument
|
|
314
916
|
*/
|
|
@@ -347,6 +949,29 @@ export type OptionInstrument = Message<"gateway.v3.OptionInstrument"> & {
|
|
|
347
949
|
* @generated from field: repeated gateway.v3.MetricAvailability metrics = 8;
|
|
348
950
|
*/
|
|
349
951
|
metrics: MetricAvailability[];
|
|
952
|
+
/**
|
|
953
|
+
* Output labels (taxonomy D19): what the instrument is, independent of the
|
|
954
|
+
* domain that reads it; never on a ref. A value new to a response is
|
|
955
|
+
* emitted once read.v3.emit_new_enum_values is on (D37).
|
|
956
|
+
*
|
|
957
|
+
* @generated from field: AssetClass assetClass = 9;
|
|
958
|
+
*/
|
|
959
|
+
assetClass: AssetClass;
|
|
960
|
+
/**
|
|
961
|
+
* @generated from field: Representation representation = 10;
|
|
962
|
+
*/
|
|
963
|
+
representation: Representation;
|
|
964
|
+
/**
|
|
965
|
+
* @generated from field: ProductKind productKind = 11;
|
|
966
|
+
*/
|
|
967
|
+
productKind: ProductKind;
|
|
968
|
+
/**
|
|
969
|
+
* The stock or commodity tracked by an instrument whose class is not native
|
|
970
|
+
* to its domain, such as AAPL on the xyz:AAPL perp (D51).
|
|
971
|
+
*
|
|
972
|
+
* @generated from field: optional string underlyingTicker = 12;
|
|
973
|
+
*/
|
|
974
|
+
underlyingTicker?: string;
|
|
350
975
|
};
|
|
351
976
|
/**
|
|
352
977
|
* Describes the message gateway.v3.OptionInstrument.
|
|
@@ -361,6 +986,45 @@ export type OptionInstruments = Message<"gateway.v3.OptionInstruments"> & {
|
|
|
361
986
|
* @generated from field: repeated gateway.v3.OptionInstrument instruments = 1;
|
|
362
987
|
*/
|
|
363
988
|
instruments: OptionInstrument[];
|
|
989
|
+
/**
|
|
990
|
+
* Tagged include frames (D18): which include this frame carries, whether it
|
|
991
|
+
* is that include's last frame, the token that continues it (D30), and the
|
|
992
|
+
* include's own error when it failed or is switched off. An INSTRUMENTS-only
|
|
993
|
+
* read answers one untagged frame per page, as before.
|
|
994
|
+
*
|
|
995
|
+
* @generated from field: gateway.v3.OptionInstrumentsFilter.Include include = 2;
|
|
996
|
+
*/
|
|
997
|
+
include: OptionInstrumentsFilter_Include;
|
|
998
|
+
/**
|
|
999
|
+
* @generated from field: bool includeDone = 3;
|
|
1000
|
+
*/
|
|
1001
|
+
includeDone: boolean;
|
|
1002
|
+
/**
|
|
1003
|
+
* @generated from field: string nextPageToken = 4;
|
|
1004
|
+
*/
|
|
1005
|
+
nextPageToken: string;
|
|
1006
|
+
/**
|
|
1007
|
+
* @generated from field: gateway.v3.IncludeError includeError = 5;
|
|
1008
|
+
*/
|
|
1009
|
+
includeError?: IncludeError;
|
|
1010
|
+
/**
|
|
1011
|
+
* The VENUES include's rows (D38).
|
|
1012
|
+
*
|
|
1013
|
+
* @generated from field: repeated gateway.v3.VenueRow venues = 6;
|
|
1014
|
+
*/
|
|
1015
|
+
venues: VenueRow[];
|
|
1016
|
+
/**
|
|
1017
|
+
* The CHAIN include's rows, as v2 StreamOptionChain listed them.
|
|
1018
|
+
*
|
|
1019
|
+
* @generated from field: repeated OptionChainExpiry chain = 7;
|
|
1020
|
+
*/
|
|
1021
|
+
chain: OptionChainExpiry[];
|
|
1022
|
+
/**
|
|
1023
|
+
* The UNDERLYINGS include's rows.
|
|
1024
|
+
*
|
|
1025
|
+
* @generated from field: repeated gateway.v3.OptionUnderlyingRow underlyings = 8;
|
|
1026
|
+
*/
|
|
1027
|
+
underlyings: OptionUnderlyingRow[];
|
|
364
1028
|
};
|
|
365
1029
|
/**
|
|
366
1030
|
* Describes the message gateway.v3.OptionInstruments.
|