@openmarket/market-data-proto 12.54.0 → 12.56.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 +34 -2
- package/dist/enums_pb.d.ts.map +1 -1
- package/dist/enums_pb.js +33 -1
- package/dist/timestamp/timestamp_pb.d.ts +4 -0
- package/dist/timestamp/timestamp_pb.d.ts.map +1 -1
- package/dist/timestamp/timestamp_pb.js +1 -1
- package/dist/tsdb-gateway/tsdb-gateway_pb.d.ts +614 -9
- package/dist/tsdb-gateway/tsdb-gateway_pb.d.ts.map +1 -1
- package/dist/tsdb-gateway/tsdb-gateway_pb.js +157 -94
- package/package.json +1 -1
|
@@ -529,15 +529,10 @@ export type GetMarketsRequest = Message<"GetMarketsRequest"> & {
|
|
|
529
529
|
*/
|
|
530
530
|
variantLimit?: number;
|
|
531
531
|
/**
|
|
532
|
-
*
|
|
533
|
-
* MarketAsset.assetName.
|
|
534
|
-
*
|
|
535
|
-
*
|
|
536
|
-
* so a group's handle changes whenever its display name does, and a
|
|
537
|
-
* client holding one across a catalog refresh can find nothing. It is the
|
|
538
|
-
* only handle the grouping has today, since assets are grouped by that
|
|
539
|
-
* same name. A durable handle needs a canonical underlying on the
|
|
540
|
-
* instrument, which is the catalog work, not this MR.
|
|
532
|
+
* Fallback handle for MARKETS_PROJECTION_VARIANTS when groupKey is absent,
|
|
533
|
+
* matched against MarketAsset.assetName. A display string, so it is not
|
|
534
|
+
* unique: two groups can share it, and expanding by it returns every
|
|
535
|
+
* group a member of which goes by that name. Prefer groupKey.
|
|
541
536
|
*
|
|
542
537
|
* @generated from field: optional string assetName = 27;
|
|
543
538
|
*/
|
|
@@ -578,6 +573,13 @@ export type GetMarketsRequest = Message<"GetMarketsRequest"> & {
|
|
|
578
573
|
* @generated from field: repeated string deployerIds = 31;
|
|
579
574
|
*/
|
|
580
575
|
deployerIds: string[];
|
|
576
|
+
/**
|
|
577
|
+
* Which group MARKETS_PROJECTION_VARIANTS expands, matched exactly against
|
|
578
|
+
* MarketAsset.groupKey. Wins over assetName when both are set.
|
|
579
|
+
*
|
|
580
|
+
* @generated from field: optional string groupKey = 32;
|
|
581
|
+
*/
|
|
582
|
+
groupKey?: string;
|
|
581
583
|
};
|
|
582
584
|
/**
|
|
583
585
|
* Describes the message GetMarketsRequest.
|
|
@@ -787,6 +789,10 @@ export type MarketSymbol = Message<"MarketSymbol"> & {
|
|
|
787
789
|
*/
|
|
788
790
|
fullName?: string;
|
|
789
791
|
/**
|
|
792
|
+
* USD value of the venue's pool reserves where the venue has a pool
|
|
793
|
+
* (on-chain venues, from chain-explorer's venue listing); absent for
|
|
794
|
+
* everything else, and for program venues that have no pool.
|
|
795
|
+
*
|
|
790
796
|
* @generated from field: optional double liquidity = 33;
|
|
791
797
|
*/
|
|
792
798
|
liquidity?: number;
|
|
@@ -913,6 +919,15 @@ export type MarketSymbol = Message<"MarketSymbol"> & {
|
|
|
913
919
|
* @generated from field: optional string deployerId = 57;
|
|
914
920
|
*/
|
|
915
921
|
deployerId?: string;
|
|
922
|
+
/**
|
|
923
|
+
* On-chain venues only: the venue's display name ("Raydium CLMM",
|
|
924
|
+
* "Whirlpool", or a market maker's name for program venues, which trade
|
|
925
|
+
* without a pool). Two pools of one pair share every other display field;
|
|
926
|
+
* this, poolAddress and liquidity are what tell them apart.
|
|
927
|
+
*
|
|
928
|
+
* @generated from field: optional string dexName = 58;
|
|
929
|
+
*/
|
|
930
|
+
dexName?: string;
|
|
916
931
|
};
|
|
917
932
|
/**
|
|
918
933
|
* Describes the message MarketSymbol.
|
|
@@ -1089,6 +1104,15 @@ export type MarketAsset = Message<"MarketAsset"> & {
|
|
|
1089
1104
|
* @generated from field: optional double maxVolume24hUsd = 9;
|
|
1090
1105
|
*/
|
|
1091
1106
|
maxVolume24hUsd?: number;
|
|
1107
|
+
/**
|
|
1108
|
+
* Stable handle of the group: <ticker or name>|<class>, the class being
|
|
1109
|
+
* the AssetClass number. Unique per group where assetName and assetTicker
|
|
1110
|
+
* are not (an equity and the crypto-venue perps on it can share both), so
|
|
1111
|
+
* merge on it and pass it back as GetMarketsRequest.groupKey to expand.
|
|
1112
|
+
*
|
|
1113
|
+
* @generated from field: string groupKey = 10;
|
|
1114
|
+
*/
|
|
1115
|
+
groupKey: string;
|
|
1092
1116
|
};
|
|
1093
1117
|
/**
|
|
1094
1118
|
* Describes the message MarketAsset.
|
|
@@ -1117,6 +1141,348 @@ export type GetMarketsResponse = Message<"GetMarketsResponse"> & {
|
|
|
1117
1141
|
* Use `create(GetMarketsResponseSchema)` to create a new message.
|
|
1118
1142
|
*/
|
|
1119
1143
|
export declare const GetMarketsResponseSchema: GenMessage<GetMarketsResponse>;
|
|
1144
|
+
/**
|
|
1145
|
+
* One market, as a MarketSymbol names it. symbol is MarketSymbol.rawSymbol
|
|
1146
|
+
* exactly as returned, case included: it is matched as stored, never
|
|
1147
|
+
* upper-cased.
|
|
1148
|
+
*
|
|
1149
|
+
* Prediction markets are keyed per market, as StreamPoints reads them: a
|
|
1150
|
+
* Polymarket market by its conditionId, a HIP-4 outcome by its coin (#1234).
|
|
1151
|
+
* The event and umbrella rows search returns name no single market and are
|
|
1152
|
+
* answered found=false.
|
|
1153
|
+
*
|
|
1154
|
+
* @generated from message MarketStatsKey
|
|
1155
|
+
*/
|
|
1156
|
+
export type MarketStatsKey = Message<"MarketStatsKey"> & {
|
|
1157
|
+
/**
|
|
1158
|
+
* @generated from field: Exchange exchange = 1;
|
|
1159
|
+
*/
|
|
1160
|
+
exchange: Exchange;
|
|
1161
|
+
/**
|
|
1162
|
+
* @generated from field: Category category = 2;
|
|
1163
|
+
*/
|
|
1164
|
+
category: Category;
|
|
1165
|
+
/**
|
|
1166
|
+
* @generated from field: string symbol = 3;
|
|
1167
|
+
*/
|
|
1168
|
+
symbol: string;
|
|
1169
|
+
};
|
|
1170
|
+
/**
|
|
1171
|
+
* Describes the message MarketStatsKey.
|
|
1172
|
+
* Use `create(MarketStatsKeySchema)` to create a new message.
|
|
1173
|
+
*/
|
|
1174
|
+
export declare const MarketStatsKeySchema: GenMessage<MarketStatsKey>;
|
|
1175
|
+
/**
|
|
1176
|
+
* Per-market stats for markets the caller already knows, such as a
|
|
1177
|
+
* watchlist. Identity and display fields (names, icons, classes) are not
|
|
1178
|
+
* repeated here: they come from StreamMarkets or StreamSymbolDirectory.
|
|
1179
|
+
*
|
|
1180
|
+
* @generated from message StreamMarketStatsRequest
|
|
1181
|
+
*/
|
|
1182
|
+
export type StreamMarketStatsRequest = Message<"StreamMarketStatsRequest"> & {
|
|
1183
|
+
/**
|
|
1184
|
+
* Any mix of venues. Duplicates are answered once.
|
|
1185
|
+
*
|
|
1186
|
+
* @generated from field: repeated MarketStatsKey markets = 1;
|
|
1187
|
+
*/
|
|
1188
|
+
markets: MarketStatsKey[];
|
|
1189
|
+
/**
|
|
1190
|
+
* Also return the 24h sparkline. Off by default: it is most of a row's
|
|
1191
|
+
* size.
|
|
1192
|
+
*
|
|
1193
|
+
* @generated from field: bool includePrices = 2;
|
|
1194
|
+
*/
|
|
1195
|
+
includePrices: boolean;
|
|
1196
|
+
};
|
|
1197
|
+
/**
|
|
1198
|
+
* Describes the message StreamMarketStatsRequest.
|
|
1199
|
+
* Use `create(StreamMarketStatsRequestSchema)` to create a new message.
|
|
1200
|
+
*/
|
|
1201
|
+
export declare const StreamMarketStatsRequestSchema: GenMessage<StreamMarketStatsRequest>;
|
|
1202
|
+
/**
|
|
1203
|
+
* @generated from message MarketStatsResponse
|
|
1204
|
+
*/
|
|
1205
|
+
export type MarketStatsResponse = Message<"MarketStatsResponse"> & {
|
|
1206
|
+
/**
|
|
1207
|
+
* One entry per distinct requested key, in request order.
|
|
1208
|
+
*
|
|
1209
|
+
* @generated from field: repeated MarketStats stats = 1;
|
|
1210
|
+
*/
|
|
1211
|
+
stats: MarketStats[];
|
|
1212
|
+
};
|
|
1213
|
+
/**
|
|
1214
|
+
* Describes the message MarketStatsResponse.
|
|
1215
|
+
* Use `create(MarketStatsResponseSchema)` to create a new message.
|
|
1216
|
+
*/
|
|
1217
|
+
export declare const MarketStatsResponseSchema: GenMessage<MarketStatsResponse>;
|
|
1218
|
+
/**
|
|
1219
|
+
* Every stat is computed once per market for all callers, so a value is at
|
|
1220
|
+
* most as fresh as its own refresh. liveAsOf is when the older of the open
|
|
1221
|
+
* interest/funding and USD-rate refreshes behind this row ran (every 15 s to
|
|
1222
|
+
* 1 min); slowAsOf is the week the supply figures date from. Both are refresh
|
|
1223
|
+
* times, not the time of the last trade, and either is absent when none of
|
|
1224
|
+
* its fields applies to the market.
|
|
1225
|
+
*
|
|
1226
|
+
* Changes, performance and deltas-as-ratios are fractions (0.05 is +5%), as
|
|
1227
|
+
* on MarketSymbol. Absent means not computable for this market and must never
|
|
1228
|
+
* be read as zero.
|
|
1229
|
+
*
|
|
1230
|
+
* @generated from message MarketStats
|
|
1231
|
+
*/
|
|
1232
|
+
export type MarketStats = Message<"MarketStats"> & {
|
|
1233
|
+
/**
|
|
1234
|
+
* @generated from field: MarketStatsKey key = 1;
|
|
1235
|
+
*/
|
|
1236
|
+
key?: MarketStatsKey;
|
|
1237
|
+
/**
|
|
1238
|
+
* False when the key names no known market. Every other field is then
|
|
1239
|
+
* absent. True with the live fields absent means a known market with no
|
|
1240
|
+
* print in the last 24h.
|
|
1241
|
+
*
|
|
1242
|
+
* @generated from field: bool found = 2;
|
|
1243
|
+
*/
|
|
1244
|
+
found: boolean;
|
|
1245
|
+
/**
|
|
1246
|
+
* @generated from field: optional Timestamp liveAsOf = 3;
|
|
1247
|
+
*/
|
|
1248
|
+
liveAsOf?: Timestamp;
|
|
1249
|
+
/**
|
|
1250
|
+
* @generated from field: optional Timestamp slowAsOf = 4;
|
|
1251
|
+
*/
|
|
1252
|
+
slowAsOf?: Timestamp;
|
|
1253
|
+
/**
|
|
1254
|
+
* 24h, the same values StreamMarkets returns for this market.
|
|
1255
|
+
*
|
|
1256
|
+
* @generated from field: optional double lastPrice = 10;
|
|
1257
|
+
*/
|
|
1258
|
+
lastPrice?: number;
|
|
1259
|
+
/**
|
|
1260
|
+
* @generated from field: optional double priceChange24h = 11;
|
|
1261
|
+
*/
|
|
1262
|
+
priceChange24h?: number;
|
|
1263
|
+
/**
|
|
1264
|
+
* In the venue's quote currency; volume24hUsd is the comparable one.
|
|
1265
|
+
*
|
|
1266
|
+
* @generated from field: optional double volume24h = 12;
|
|
1267
|
+
*/
|
|
1268
|
+
volume24h?: number;
|
|
1269
|
+
/**
|
|
1270
|
+
* @generated from field: optional double volume24hUsd = 13;
|
|
1271
|
+
*/
|
|
1272
|
+
volume24hUsd?: number;
|
|
1273
|
+
/**
|
|
1274
|
+
* @generated from field: optional double volumeChange24h = 14;
|
|
1275
|
+
*/
|
|
1276
|
+
volumeChange24h?: number;
|
|
1277
|
+
/**
|
|
1278
|
+
* Hourly closes over the last 24h, oldest first. Only with includePrices.
|
|
1279
|
+
*
|
|
1280
|
+
* @generated from field: repeated double prices = 15;
|
|
1281
|
+
*/
|
|
1282
|
+
prices: number[];
|
|
1283
|
+
/**
|
|
1284
|
+
* Change in USD open interest, so on linear contracts it includes the
|
|
1285
|
+
* price move.
|
|
1286
|
+
*
|
|
1287
|
+
* @generated from field: optional double oiChange24h = 16;
|
|
1288
|
+
*/
|
|
1289
|
+
oiChange24h?: number;
|
|
1290
|
+
/**
|
|
1291
|
+
* Latest open interest in USD.
|
|
1292
|
+
*
|
|
1293
|
+
* @generated from field: optional double openInterestUsd = 20;
|
|
1294
|
+
*/
|
|
1295
|
+
openInterestUsd?: number;
|
|
1296
|
+
/**
|
|
1297
|
+
* Latest funding rate, normalised to an 8h interval whatever the venue's
|
|
1298
|
+
* own interval.
|
|
1299
|
+
*
|
|
1300
|
+
* @generated from field: optional double fundingRate = 21;
|
|
1301
|
+
*/
|
|
1302
|
+
fundingRate?: number;
|
|
1303
|
+
/**
|
|
1304
|
+
* The venue's own funding interval.
|
|
1305
|
+
*
|
|
1306
|
+
* @generated from field: optional int64 fundingIntervalMs = 22;
|
|
1307
|
+
*/
|
|
1308
|
+
fundingIntervalMs?: bigint;
|
|
1309
|
+
/**
|
|
1310
|
+
* Crypto: the coin's market cap. Stocks: the issuer's.
|
|
1311
|
+
*
|
|
1312
|
+
* @generated from field: optional double marketcap = 23;
|
|
1313
|
+
*/
|
|
1314
|
+
marketcap?: number;
|
|
1315
|
+
/**
|
|
1316
|
+
* @generated from field: optional double fdv = 24;
|
|
1317
|
+
*/
|
|
1318
|
+
fdv?: number;
|
|
1319
|
+
/**
|
|
1320
|
+
* @generated from field: optional double circulatingSupply = 25;
|
|
1321
|
+
*/
|
|
1322
|
+
circulatingSupply?: number;
|
|
1323
|
+
/**
|
|
1324
|
+
* @generated from field: optional double totalSupply = 26;
|
|
1325
|
+
*/
|
|
1326
|
+
totalSupply?: number;
|
|
1327
|
+
/**
|
|
1328
|
+
* @generated from field: optional double maxSupply = 27;
|
|
1329
|
+
*/
|
|
1330
|
+
maxSupply?: number;
|
|
1331
|
+
/**
|
|
1332
|
+
* Stocks only.
|
|
1333
|
+
*
|
|
1334
|
+
* @generated from field: optional double sharesOutstanding = 28;
|
|
1335
|
+
*/
|
|
1336
|
+
sharesOutstanding?: number;
|
|
1337
|
+
/**
|
|
1338
|
+
* @generated from field: optional double priceChange10m = 40;
|
|
1339
|
+
*/
|
|
1340
|
+
priceChange10m?: number;
|
|
1341
|
+
/**
|
|
1342
|
+
* @generated from field: optional double priceChange1h = 41;
|
|
1343
|
+
*/
|
|
1344
|
+
priceChange1h?: number;
|
|
1345
|
+
/**
|
|
1346
|
+
* @generated from field: optional double priceChange7d = 42;
|
|
1347
|
+
*/
|
|
1348
|
+
priceChange7d?: number;
|
|
1349
|
+
/**
|
|
1350
|
+
* @generated from field: optional double low7d = 43;
|
|
1351
|
+
*/
|
|
1352
|
+
low7d?: number;
|
|
1353
|
+
/**
|
|
1354
|
+
* @generated from field: optional double high7d = 44;
|
|
1355
|
+
*/
|
|
1356
|
+
high7d?: number;
|
|
1357
|
+
/**
|
|
1358
|
+
* @generated from field: optional double volume10mUsd = 45;
|
|
1359
|
+
*/
|
|
1360
|
+
volume10mUsd?: number;
|
|
1361
|
+
/**
|
|
1362
|
+
* @generated from field: optional double volume1hUsd = 46;
|
|
1363
|
+
*/
|
|
1364
|
+
volume1hUsd?: number;
|
|
1365
|
+
/**
|
|
1366
|
+
* Aggressor buy volume minus sell volume, in USD. Trades without an
|
|
1367
|
+
* aggressor side (CME side-less prints, venues that publish none) count in
|
|
1368
|
+
* neither side.
|
|
1369
|
+
*
|
|
1370
|
+
* @generated from field: optional double volumeDelta10mUsd = 47;
|
|
1371
|
+
*/
|
|
1372
|
+
volumeDelta10mUsd?: number;
|
|
1373
|
+
/**
|
|
1374
|
+
* @generated from field: optional double volumeDelta1hUsd = 48;
|
|
1375
|
+
*/
|
|
1376
|
+
volumeDelta1hUsd?: number;
|
|
1377
|
+
/**
|
|
1378
|
+
* @generated from field: optional double volumeDelta24hUsd = 49;
|
|
1379
|
+
*/
|
|
1380
|
+
volumeDelta24hUsd?: number;
|
|
1381
|
+
/**
|
|
1382
|
+
* Same basis as oiChange24h.
|
|
1383
|
+
*
|
|
1384
|
+
* @generated from field: optional double oiChange1h = 50;
|
|
1385
|
+
*/
|
|
1386
|
+
oiChange1h?: number;
|
|
1387
|
+
/**
|
|
1388
|
+
* Mean of the hourly funding rate over 24h, normalised to 8h like
|
|
1389
|
+
* fundingRate.
|
|
1390
|
+
*
|
|
1391
|
+
* @generated from field: optional double fundingRateAvg24h = 51;
|
|
1392
|
+
*/
|
|
1393
|
+
fundingRateAvg24h?: number;
|
|
1394
|
+
/**
|
|
1395
|
+
* fundingRate annualised: fundingRate x 3 x 365.
|
|
1396
|
+
*
|
|
1397
|
+
* @generated from field: optional double fundingApr = 52;
|
|
1398
|
+
*/
|
|
1399
|
+
fundingApr?: number;
|
|
1400
|
+
/**
|
|
1401
|
+
* Long and short liquidations over 24h in USD, and their sum.
|
|
1402
|
+
*
|
|
1403
|
+
* @generated from field: optional double liquidations24hUsd = 53;
|
|
1404
|
+
*/
|
|
1405
|
+
liquidations24hUsd?: number;
|
|
1406
|
+
/**
|
|
1407
|
+
* @generated from field: optional double longLiquidations24hUsd = 54;
|
|
1408
|
+
*/
|
|
1409
|
+
longLiquidations24hUsd?: number;
|
|
1410
|
+
/**
|
|
1411
|
+
* @generated from field: optional double shortLiquidations24hUsd = 55;
|
|
1412
|
+
*/
|
|
1413
|
+
shortLiquidations24hUsd?: number;
|
|
1414
|
+
/**
|
|
1415
|
+
* Performance against the UTC daily close 1 week, 1, 3, 6 and 12 months
|
|
1416
|
+
* ago, and the last close of the previous year. On session venues (stocks,
|
|
1417
|
+
* CME) the daily close is the UTC day's last print, extended hours
|
|
1418
|
+
* included, not the official session close.
|
|
1419
|
+
*
|
|
1420
|
+
* @generated from field: optional double perf1w = 56;
|
|
1421
|
+
*/
|
|
1422
|
+
perf1w?: number;
|
|
1423
|
+
/**
|
|
1424
|
+
* @generated from field: optional double perf1m = 57;
|
|
1425
|
+
*/
|
|
1426
|
+
perf1m?: number;
|
|
1427
|
+
/**
|
|
1428
|
+
* @generated from field: optional double perf3m = 58;
|
|
1429
|
+
*/
|
|
1430
|
+
perf3m?: number;
|
|
1431
|
+
/**
|
|
1432
|
+
* @generated from field: optional double perf6m = 59;
|
|
1433
|
+
*/
|
|
1434
|
+
perf6m?: number;
|
|
1435
|
+
/**
|
|
1436
|
+
* @generated from field: optional double perfYtd = 60;
|
|
1437
|
+
*/
|
|
1438
|
+
perfYtd?: number;
|
|
1439
|
+
/**
|
|
1440
|
+
* @generated from field: optional double perf1y = 61;
|
|
1441
|
+
*/
|
|
1442
|
+
perf1y?: number;
|
|
1443
|
+
/**
|
|
1444
|
+
* @generated from field: optional double high52w = 62;
|
|
1445
|
+
*/
|
|
1446
|
+
high52w?: number;
|
|
1447
|
+
/**
|
|
1448
|
+
* @generated from field: optional double low52w = 63;
|
|
1449
|
+
*/
|
|
1450
|
+
low52w?: number;
|
|
1451
|
+
/**
|
|
1452
|
+
* Prediction markets. Buy and sell volume over 24h in the venue's quote
|
|
1453
|
+
* currency, on Polymarket and HIP-4; the rest Polymarket only.
|
|
1454
|
+
*
|
|
1455
|
+
* @generated from field: optional double buyVolume24h = 70;
|
|
1456
|
+
*/
|
|
1457
|
+
buyVolume24h?: number;
|
|
1458
|
+
/**
|
|
1459
|
+
* @generated from field: optional double sellVolume24h = 71;
|
|
1460
|
+
*/
|
|
1461
|
+
sellVolume24h?: number;
|
|
1462
|
+
/**
|
|
1463
|
+
* @generated from field: optional int64 uniqueTraders = 72;
|
|
1464
|
+
*/
|
|
1465
|
+
uniqueTraders?: bigint;
|
|
1466
|
+
/**
|
|
1467
|
+
* All-time volume.
|
|
1468
|
+
*
|
|
1469
|
+
* @generated from field: optional double totalVolume = 73;
|
|
1470
|
+
*/
|
|
1471
|
+
totalVolume?: number;
|
|
1472
|
+
/**
|
|
1473
|
+
* @generated from field: optional Timestamp endDate = 74;
|
|
1474
|
+
*/
|
|
1475
|
+
endDate?: Timestamp;
|
|
1476
|
+
/**
|
|
1477
|
+
* @generated from field: optional bool closed = 75;
|
|
1478
|
+
*/
|
|
1479
|
+
closed?: boolean;
|
|
1480
|
+
};
|
|
1481
|
+
/**
|
|
1482
|
+
* Describes the message MarketStats.
|
|
1483
|
+
* Use `create(MarketStatsSchema)` to create a new message.
|
|
1484
|
+
*/
|
|
1485
|
+
export declare const MarketStatsSchema: GenMessage<MarketStats>;
|
|
1120
1486
|
/**
|
|
1121
1487
|
* @generated from message GetOptionChainRequest
|
|
1122
1488
|
*/
|
|
@@ -1297,6 +1663,15 @@ export type GetOptionChainSummaryRequest = Message<"GetOptionChainSummaryRequest
|
|
|
1297
1663
|
* @generated from field: bool allUnderlyings = 5;
|
|
1298
1664
|
*/
|
|
1299
1665
|
allUnderlyings: boolean;
|
|
1666
|
+
/**
|
|
1667
|
+
* Distribution timing of the served quotes; REALTIME when absent. The CME
|
|
1668
|
+
* entitlement gate sets this per socket (DELAYED on a delayed-tier socket,
|
|
1669
|
+
* overriding whatever the client sent), so a caller licensed for delayed
|
|
1670
|
+
* data never receives the newest quotes.
|
|
1671
|
+
*
|
|
1672
|
+
* @generated from field: OptionChainTiming timing = 6;
|
|
1673
|
+
*/
|
|
1674
|
+
timing: OptionChainTiming;
|
|
1300
1675
|
};
|
|
1301
1676
|
/**
|
|
1302
1677
|
* Describes the message GetOptionChainSummaryRequest.
|
|
@@ -1503,6 +1878,27 @@ export type GetOptionChainSummaryResponse = Message<"GetOptionChainSummaryRespon
|
|
|
1503
1878
|
* @generated from field: repeated OptionChainSummaryExpiry expiries = 4;
|
|
1504
1879
|
*/
|
|
1505
1880
|
expiries: OptionChainSummaryExpiry[];
|
|
1881
|
+
/**
|
|
1882
|
+
* The timing the chain was served at.
|
|
1883
|
+
*
|
|
1884
|
+
* @generated from field: OptionChainTiming timing = 5;
|
|
1885
|
+
*/
|
|
1886
|
+
timing: OptionChainTiming;
|
|
1887
|
+
/**
|
|
1888
|
+
* The latest event time any served quote, anchor price or volume may
|
|
1889
|
+
* carry: the request time for REALTIME, the request time minus
|
|
1890
|
+
* delaySeconds for DELAYED. Unix seconds, UTC.
|
|
1891
|
+
*
|
|
1892
|
+
* @generated from field: int64 asOfUnix = 6;
|
|
1893
|
+
*/
|
|
1894
|
+
asOfUnix: bigint;
|
|
1895
|
+
/**
|
|
1896
|
+
* The delay applied, in seconds; 0 for REALTIME. Display it next to the
|
|
1897
|
+
* chain: CME requires delayed data to be labeled with its delay.
|
|
1898
|
+
*
|
|
1899
|
+
* @generated from field: int32 delaySeconds = 7;
|
|
1900
|
+
*/
|
|
1901
|
+
delaySeconds: number;
|
|
1506
1902
|
};
|
|
1507
1903
|
/**
|
|
1508
1904
|
* Describes the message GetOptionChainSummaryResponse.
|
|
@@ -2322,6 +2718,14 @@ export type RPCResponse = Message<"RPCResponse"> & {
|
|
|
2322
2718
|
* @generated from field: GetOptionChainSummaryResponse optionChainSummary = 39;
|
|
2323
2719
|
*/
|
|
2324
2720
|
optionChainSummary?: GetOptionChainSummaryResponse;
|
|
2721
|
+
/**
|
|
2722
|
+
* @generated from field: repeated EconomicSeriesMetadata economicSeriesMetadatas = 40;
|
|
2723
|
+
*/
|
|
2724
|
+
economicSeriesMetadatas: EconomicSeriesMetadata[];
|
|
2725
|
+
/**
|
|
2726
|
+
* @generated from field: repeated MarketStats marketStats = 41;
|
|
2727
|
+
*/
|
|
2728
|
+
marketStats: MarketStats[];
|
|
2325
2729
|
};
|
|
2326
2730
|
/**
|
|
2327
2731
|
* Describes the message RPCResponse.
|
|
@@ -2677,6 +3081,147 @@ export type GetFredMetadataResponse = Message<"GetFredMetadataResponse"> & {
|
|
|
2677
3081
|
* Use `create(GetFredMetadataResponseSchema)` to create a new message.
|
|
2678
3082
|
*/
|
|
2679
3083
|
export declare const GetFredMetadataResponseSchema: GenMessage<GetFredMetadataResponse>;
|
|
3084
|
+
/**
|
|
3085
|
+
* EconomicSeriesMetadata describes one economic catalog series (exchange ECONOMICS);
|
|
3086
|
+
* the publisher is carried by source_kind and source_name.
|
|
3087
|
+
*
|
|
3088
|
+
* @generated from message EconomicSeriesMetadata
|
|
3089
|
+
*/
|
|
3090
|
+
export type EconomicSeriesMetadata = Message<"EconomicSeriesMetadata"> & {
|
|
3091
|
+
/**
|
|
3092
|
+
* @generated from field: Exchange exchange = 1;
|
|
3093
|
+
*/
|
|
3094
|
+
exchange: Exchange;
|
|
3095
|
+
/**
|
|
3096
|
+
* @generated from field: string symbol = 2;
|
|
3097
|
+
*/
|
|
3098
|
+
symbol: string;
|
|
3099
|
+
/**
|
|
3100
|
+
* @generated from field: string title = 3;
|
|
3101
|
+
*/
|
|
3102
|
+
title: string;
|
|
3103
|
+
/**
|
|
3104
|
+
* @generated from field: string short_title = 4;
|
|
3105
|
+
*/
|
|
3106
|
+
shortTitle: string;
|
|
3107
|
+
/**
|
|
3108
|
+
* @generated from field: string country = 5;
|
|
3109
|
+
*/
|
|
3110
|
+
country: string;
|
|
3111
|
+
/**
|
|
3112
|
+
* @generated from field: string category = 6;
|
|
3113
|
+
*/
|
|
3114
|
+
category: string;
|
|
3115
|
+
/**
|
|
3116
|
+
* @generated from field: string frequency = 7;
|
|
3117
|
+
*/
|
|
3118
|
+
frequency: string;
|
|
3119
|
+
/**
|
|
3120
|
+
* @generated from field: string units = 8;
|
|
3121
|
+
*/
|
|
3122
|
+
units: string;
|
|
3123
|
+
/**
|
|
3124
|
+
* @generated from field: string unit_kind = 9;
|
|
3125
|
+
*/
|
|
3126
|
+
unitKind: string;
|
|
3127
|
+
/**
|
|
3128
|
+
* @generated from field: string currency = 10;
|
|
3129
|
+
*/
|
|
3130
|
+
currency: string;
|
|
3131
|
+
/**
|
|
3132
|
+
* @generated from field: double scale = 11;
|
|
3133
|
+
*/
|
|
3134
|
+
scale: number;
|
|
3135
|
+
/**
|
|
3136
|
+
* @generated from field: string seasonal_adjustment = 12;
|
|
3137
|
+
*/
|
|
3138
|
+
seasonalAdjustment: string;
|
|
3139
|
+
/**
|
|
3140
|
+
* @generated from field: string release = 13;
|
|
3141
|
+
*/
|
|
3142
|
+
release: string;
|
|
3143
|
+
/**
|
|
3144
|
+
* @generated from field: string source_name = 14;
|
|
3145
|
+
*/
|
|
3146
|
+
sourceName: string;
|
|
3147
|
+
/**
|
|
3148
|
+
* @generated from field: string source_url = 15;
|
|
3149
|
+
*/
|
|
3150
|
+
sourceUrl: string;
|
|
3151
|
+
/**
|
|
3152
|
+
* @generated from field: string license = 16;
|
|
3153
|
+
*/
|
|
3154
|
+
license: string;
|
|
3155
|
+
/**
|
|
3156
|
+
* @generated from field: string attribution = 17;
|
|
3157
|
+
*/
|
|
3158
|
+
attribution: string;
|
|
3159
|
+
/**
|
|
3160
|
+
* @generated from field: repeated string aliases = 18;
|
|
3161
|
+
*/
|
|
3162
|
+
aliases: string[];
|
|
3163
|
+
/**
|
|
3164
|
+
* @generated from field: string observation_start = 19;
|
|
3165
|
+
*/
|
|
3166
|
+
observationStart: string;
|
|
3167
|
+
/**
|
|
3168
|
+
* @generated from field: string notes = 20;
|
|
3169
|
+
*/
|
|
3170
|
+
notes: string;
|
|
3171
|
+
/**
|
|
3172
|
+
* @generated from field: string source_kind = 21;
|
|
3173
|
+
*/
|
|
3174
|
+
sourceKind: string;
|
|
3175
|
+
/**
|
|
3176
|
+
* @generated from field: string native_id = 22;
|
|
3177
|
+
*/
|
|
3178
|
+
nativeId: string;
|
|
3179
|
+
};
|
|
3180
|
+
/**
|
|
3181
|
+
* Describes the message EconomicSeriesMetadata.
|
|
3182
|
+
* Use `create(EconomicSeriesMetadataSchema)` to create a new message.
|
|
3183
|
+
*/
|
|
3184
|
+
export declare const EconomicSeriesMetadataSchema: GenMessage<EconomicSeriesMetadata>;
|
|
3185
|
+
/**
|
|
3186
|
+
* @generated from message GetEconomicSeriesMetadataRequest
|
|
3187
|
+
*/
|
|
3188
|
+
export type GetEconomicSeriesMetadataRequest = Message<"GetEconomicSeriesMetadataRequest"> & {
|
|
3189
|
+
/**
|
|
3190
|
+
* @generated from field: optional Exchange exchange = 1;
|
|
3191
|
+
*/
|
|
3192
|
+
exchange?: Exchange;
|
|
3193
|
+
/**
|
|
3194
|
+
* @generated from field: optional string symbol = 2;
|
|
3195
|
+
*/
|
|
3196
|
+
symbol?: string;
|
|
3197
|
+
/**
|
|
3198
|
+
* @generated from field: optional string country = 3;
|
|
3199
|
+
*/
|
|
3200
|
+
country?: string;
|
|
3201
|
+
/**
|
|
3202
|
+
* @generated from field: optional string category = 4;
|
|
3203
|
+
*/
|
|
3204
|
+
category?: string;
|
|
3205
|
+
};
|
|
3206
|
+
/**
|
|
3207
|
+
* Describes the message GetEconomicSeriesMetadataRequest.
|
|
3208
|
+
* Use `create(GetEconomicSeriesMetadataRequestSchema)` to create a new message.
|
|
3209
|
+
*/
|
|
3210
|
+
export declare const GetEconomicSeriesMetadataRequestSchema: GenMessage<GetEconomicSeriesMetadataRequest>;
|
|
3211
|
+
/**
|
|
3212
|
+
* @generated from message GetEconomicSeriesMetadataResponse
|
|
3213
|
+
*/
|
|
3214
|
+
export type GetEconomicSeriesMetadataResponse = Message<"GetEconomicSeriesMetadataResponse"> & {
|
|
3215
|
+
/**
|
|
3216
|
+
* @generated from field: repeated EconomicSeriesMetadata economicSeriesMetadatas = 1;
|
|
3217
|
+
*/
|
|
3218
|
+
economicSeriesMetadatas: EconomicSeriesMetadata[];
|
|
3219
|
+
};
|
|
3220
|
+
/**
|
|
3221
|
+
* Describes the message GetEconomicSeriesMetadataResponse.
|
|
3222
|
+
* Use `create(GetEconomicSeriesMetadataResponseSchema)` to create a new message.
|
|
3223
|
+
*/
|
|
3224
|
+
export declare const GetEconomicSeriesMetadataResponseSchema: GenMessage<GetEconomicSeriesMetadataResponse>;
|
|
2680
3225
|
/**
|
|
2681
3226
|
* @generated from message GetPolygonTickerMetadataRequest
|
|
2682
3227
|
*/
|
|
@@ -4971,6 +5516,13 @@ export type SymbolDirectoryAsset = Message<"SymbolDirectoryAsset"> & {
|
|
|
4971
5516
|
* @generated from field: repeated SymbolDirectoryVenue venues = 3;
|
|
4972
5517
|
*/
|
|
4973
5518
|
venues: SymbolDirectoryVenue[];
|
|
5519
|
+
/**
|
|
5520
|
+
* The same handle as MarketAsset.groupKey, so a directory entry and a live
|
|
5521
|
+
* search group can be matched without relying on the name.
|
|
5522
|
+
*
|
|
5523
|
+
* @generated from field: string groupKey = 4;
|
|
5524
|
+
*/
|
|
5525
|
+
groupKey: string;
|
|
4974
5526
|
};
|
|
4975
5527
|
/**
|
|
4976
5528
|
* Describes the message SymbolDirectoryAsset.
|
|
@@ -5251,6 +5803,33 @@ export declare enum OptionChainAnchorSource {
|
|
|
5251
5803
|
* Describes the enum OptionChainAnchorSource.
|
|
5252
5804
|
*/
|
|
5253
5805
|
export declare const OptionChainAnchorSourceSchema: GenEnum<OptionChainAnchorSource>;
|
|
5806
|
+
/**
|
|
5807
|
+
* Distribution timing of an option chain summary: which quote per contract
|
|
5808
|
+
* the reader serves.
|
|
5809
|
+
*
|
|
5810
|
+
* @generated from enum OptionChainTiming
|
|
5811
|
+
*/
|
|
5812
|
+
export declare enum OptionChainTiming {
|
|
5813
|
+
/**
|
|
5814
|
+
* The newest quote per contract.
|
|
5815
|
+
*
|
|
5816
|
+
* @generated from enum value: OPTION_CHAIN_TIMING_REALTIME = 0;
|
|
5817
|
+
*/
|
|
5818
|
+
REALTIME = 0,
|
|
5819
|
+
/**
|
|
5820
|
+
* The newest quote per contract whose event time is at least the reader's
|
|
5821
|
+
* configured delay old (10 minutes for CME), read from the delayed
|
|
5822
|
+
* snapshot table; the underlying anchor price and volume are bounded to
|
|
5823
|
+
* the same instant. For callers licensed for delayed data only.
|
|
5824
|
+
*
|
|
5825
|
+
* @generated from enum value: OPTION_CHAIN_TIMING_DELAYED = 1;
|
|
5826
|
+
*/
|
|
5827
|
+
DELAYED = 1
|
|
5828
|
+
}
|
|
5829
|
+
/**
|
|
5830
|
+
* Describes the enum OptionChainTiming.
|
|
5831
|
+
*/
|
|
5832
|
+
export declare const OptionChainTimingSchema: GenEnum<OptionChainTiming>;
|
|
5254
5833
|
/**
|
|
5255
5834
|
* tsdb-gateway is a service that provides access to a time-series database.
|
|
5256
5835
|
*
|
|
@@ -5408,6 +5987,16 @@ export declare const Gateway: GenService<{
|
|
|
5408
5987
|
input: typeof StreamMarketsRequestSchema;
|
|
5409
5988
|
output: typeof GetMarketsResponseSchema;
|
|
5410
5989
|
};
|
|
5990
|
+
/**
|
|
5991
|
+
* StreamMarketStats returns per-market stats for the named markets.
|
|
5992
|
+
*
|
|
5993
|
+
* @generated from rpc Gateway.StreamMarketStats
|
|
5994
|
+
*/
|
|
5995
|
+
streamMarketStats: {
|
|
5996
|
+
methodKind: "server_streaming";
|
|
5997
|
+
input: typeof StreamMarketStatsRequestSchema;
|
|
5998
|
+
output: typeof MarketStatsResponseSchema;
|
|
5999
|
+
};
|
|
5411
6000
|
/**
|
|
5412
6001
|
* @generated from rpc Gateway.GetSectors
|
|
5413
6002
|
*/
|
|
@@ -5552,6 +6141,22 @@ export declare const Gateway: GenService<{
|
|
|
5552
6141
|
input: typeof GetFredMetadataBySeriesIDRequestSchema;
|
|
5553
6142
|
output: typeof FredMetadataSchema;
|
|
5554
6143
|
};
|
|
6144
|
+
/**
|
|
6145
|
+
* @generated from rpc Gateway.GetEconomicSeriesMetadata
|
|
6146
|
+
*/
|
|
6147
|
+
getEconomicSeriesMetadata: {
|
|
6148
|
+
methodKind: "unary";
|
|
6149
|
+
input: typeof GetEconomicSeriesMetadataRequestSchema;
|
|
6150
|
+
output: typeof GetEconomicSeriesMetadataResponseSchema;
|
|
6151
|
+
};
|
|
6152
|
+
/**
|
|
6153
|
+
* @generated from rpc Gateway.StreamEconomicSeriesMetadata
|
|
6154
|
+
*/
|
|
6155
|
+
streamEconomicSeriesMetadata: {
|
|
6156
|
+
methodKind: "server_streaming";
|
|
6157
|
+
input: typeof GetEconomicSeriesMetadataRequestSchema;
|
|
6158
|
+
output: typeof EconomicSeriesMetadataSchema;
|
|
6159
|
+
};
|
|
5555
6160
|
/**
|
|
5556
6161
|
* @generated from rpc Gateway.GetPolygonTickerMetadata
|
|
5557
6162
|
*/
|