@openmarket/market-data-proto 12.55.0 → 12.58.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/option_summary_pb.d.ts +6 -0
- package/dist/option_summary_pb.d.ts.map +1 -1
- package/dist/option_summary_pb.js +1 -1
- package/dist/tsdb-gateway/tsdb-gateway_pb.d.ts +395 -3
- package/dist/tsdb-gateway/tsdb-gateway_pb.d.ts.map +1 -1
- package/dist/tsdb-gateway/tsdb-gateway_pb.js +117 -97
- package/package.json +1 -1
|
@@ -93,6 +93,12 @@ export type OptionSummary = Message<"OptionSummary"> & {
|
|
|
93
93
|
* @generated from field: Timestamp timestamp = 21;
|
|
94
94
|
*/
|
|
95
95
|
timestamp?: Timestamp;
|
|
96
|
+
/**
|
|
97
|
+
* Venue options spot index, independent of the expiry pricing underlying.
|
|
98
|
+
*
|
|
99
|
+
* @generated from field: optional double indexPrice = 22;
|
|
100
|
+
*/
|
|
101
|
+
indexPrice?: number;
|
|
96
102
|
};
|
|
97
103
|
/**
|
|
98
104
|
* Describes the message OptionSummary.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"option_summary_pb.d.ts","sourceRoot":"","sources":["../src/gen/option_summary_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAExE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAE7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,
|
|
1
|
+
{"version":3,"file":"option_summary_pb.d.ts","sourceRoot":"","sources":["../src/gen/option_summary_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAExE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAE7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,OACsmC,CAAC;AAEzoC;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC,eAAe,CAAC,GAAG;IACrD;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,aAAa,CACrB,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { file_timestamp_timestamp } from "./timestamp/timestamp_pb.js";
|
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file option_summary.proto.
|
|
8
8
|
*/
|
|
9
|
-
export const file_option_summary = /*@__PURE__*/ fileDesc("
|
|
9
|
+
export const file_option_summary = /*@__PURE__*/ fileDesc("ChRvcHRpb25fc3VtbWFyeS5wcm90byKZBgoNT3B0aW9uU3VtbWFyeRIMCgRuYW1lGAEgASgJEhgKC3N0cmlrZVByaWNlGAIgASgBSACIAQESFgoOZXhwaXJhdGlvbkRhdGUYAyABKAMSGQoMYmVzdEJpZFByaWNlGAQgASgBSAGIAQESGgoNYmVzdEJpZEFtb3VudBgFIAEoAUgCiAEBEhYKCWJlc3RCaWRJVhgGIAEoAUgDiAEBEhkKDGJlc3RBc2tQcmljZRgHIAEoAUgEiAEBEhoKDWJlc3RBc2tBbW91bnQYCCABKAFIBYgBARIWCgliZXN0QXNrSVYYCSABKAFIBogBARIWCglsYXN0UHJpY2UYCiABKAFIB4gBARIZCgxvcGVuSW50ZXJlc3QYCyABKAFICIgBARIWCgltYXJrUHJpY2UYDCABKAFICYgBARITCgZtYXJrSVYYDSABKAFICogBARISCgVkZWx0YRgOIAEoAUgLiAEBEhIKBWdhbW1hGA8gASgBSAyIAQESEQoEdmVnYRgQIAEoAUgNiAEBEhIKBXRoZXRhGBEgASgBSA6IAQESEAoDcmhvGBIgASgBSA+IAQESHAoPdW5kZXJseWluZ1ByaWNlGBMgASgBSBCIAQESFwoPdW5kZXJseWluZ0luZGV4GBQgASgJEh0KCXRpbWVzdGFtcBgVIAEoCzIKLlRpbWVzdGFtcBIXCgppbmRleFByaWNlGBYgASgBSBGIAQFCDgoMX3N0cmlrZVByaWNlQg8KDV9iZXN0QmlkUHJpY2VCEAoOX2Jlc3RCaWRBbW91bnRCDAoKX2Jlc3RCaWRJVkIPCg1fYmVzdEFza1ByaWNlQhAKDl9iZXN0QXNrQW1vdW50QgwKCl9iZXN0QXNrSVZCDAoKX2xhc3RQcmljZUIPCg1fb3BlbkludGVyZXN0QgwKCl9tYXJrUHJpY2VCCQoHX21hcmtJVkIICgZfZGVsdGFCCAoGX2dhbW1hQgcKBV92ZWdhQggKBl90aGV0YUIGCgRfcmhvQhIKEF91bmRlcmx5aW5nUHJpY2VCDQoLX2luZGV4UHJpY2VCCloIdHlwZXMvcGJiBnByb3RvMw", [file_timestamp_timestamp]);
|
|
10
10
|
/**
|
|
11
11
|
* Describes the message OptionSummary.
|
|
12
12
|
* Use `create(OptionSummarySchema)` to create a new message.
|
|
@@ -1141,6 +1141,348 @@ export type GetMarketsResponse = Message<"GetMarketsResponse"> & {
|
|
|
1141
1141
|
* Use `create(GetMarketsResponseSchema)` to create a new message.
|
|
1142
1142
|
*/
|
|
1143
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>;
|
|
1144
1486
|
/**
|
|
1145
1487
|
* @generated from message GetOptionChainRequest
|
|
1146
1488
|
*/
|
|
@@ -1425,6 +1767,22 @@ export type OptionChainQuote = Message<"OptionChainQuote"> & {
|
|
|
1425
1767
|
* @generated from field: int64 timestamp = 19;
|
|
1426
1768
|
*/
|
|
1427
1769
|
timestamp: bigint;
|
|
1770
|
+
/**
|
|
1771
|
+
* Latest official settlement price the venue published for the contract
|
|
1772
|
+
* (CME settles every listed option daily, traded or not); absent when the
|
|
1773
|
+
* venue publishes none or none is recent. The last value to show for a
|
|
1774
|
+
* contract that has no quote.
|
|
1775
|
+
*
|
|
1776
|
+
* @generated from field: optional double settlementPrice = 20;
|
|
1777
|
+
*/
|
|
1778
|
+
settlementPrice?: number;
|
|
1779
|
+
/**
|
|
1780
|
+
* Trade date settlementPrice belongs to, unix milliseconds at UTC
|
|
1781
|
+
* midnight; 0 when settlementPrice is absent.
|
|
1782
|
+
*
|
|
1783
|
+
* @generated from field: int64 settlementDate = 21;
|
|
1784
|
+
*/
|
|
1785
|
+
settlementDate: bigint;
|
|
1428
1786
|
};
|
|
1429
1787
|
/**
|
|
1430
1788
|
* Describes the message OptionChainQuote.
|
|
@@ -1476,8 +1834,8 @@ export type OptionChainSummaryExpiry = Message<"OptionChainSummaryExpiry"> & {
|
|
|
1476
1834
|
*/
|
|
1477
1835
|
underlyingSymbol: string;
|
|
1478
1836
|
/**
|
|
1479
|
-
*
|
|
1480
|
-
*
|
|
1837
|
+
* Expiry pricing underlying (forward when supplied by the venue).
|
|
1838
|
+
* Also the display/ATM fallback when indexPrice is absent.
|
|
1481
1839
|
*
|
|
1482
1840
|
* @generated from field: optional double underlyingPrice = 3;
|
|
1483
1841
|
*/
|
|
@@ -1487,7 +1845,7 @@ export type OptionChainSummaryExpiry = Message<"OptionChainSummaryExpiry"> & {
|
|
|
1487
1845
|
*/
|
|
1488
1846
|
anchorSource: OptionChainAnchorSource;
|
|
1489
1847
|
/**
|
|
1490
|
-
* Listed strike nearest to
|
|
1848
|
+
* Listed strike nearest to indexPrice (crypto), otherwise underlyingPrice.
|
|
1491
1849
|
*
|
|
1492
1850
|
* @generated from field: optional double atmStrike = 5;
|
|
1493
1851
|
*/
|
|
@@ -1504,6 +1862,26 @@ export type OptionChainSummaryExpiry = Message<"OptionChainSummaryExpiry"> & {
|
|
|
1504
1862
|
* @generated from field: repeated OptionChainSummaryStrike strikes = 7;
|
|
1505
1863
|
*/
|
|
1506
1864
|
strikes: OptionChainSummaryStrike[];
|
|
1865
|
+
/**
|
|
1866
|
+
* Display names of the underlying, as StreamMarkets serves them for it
|
|
1867
|
+
* (MarketSymbol.coinName and fullName): "E-mini S&P 500" and
|
|
1868
|
+
* "E-mini S&P 500/USD" for ESZ6. Absent when the underlying is not a
|
|
1869
|
+
* listed market with a name.
|
|
1870
|
+
*
|
|
1871
|
+
* @generated from field: optional string underlyingCoinName = 8;
|
|
1872
|
+
*/
|
|
1873
|
+
underlyingCoinName?: string;
|
|
1874
|
+
/**
|
|
1875
|
+
* @generated from field: optional string underlyingFullName = 9;
|
|
1876
|
+
*/
|
|
1877
|
+
underlyingFullName?: string;
|
|
1878
|
+
/**
|
|
1879
|
+
* Venue options spot index for crypto display and strike centring.
|
|
1880
|
+
* Absent for CME, which anchors to its underlying future.
|
|
1881
|
+
*
|
|
1882
|
+
* @generated from field: optional double indexPrice = 10;
|
|
1883
|
+
*/
|
|
1884
|
+
indexPrice?: number;
|
|
1507
1885
|
};
|
|
1508
1886
|
/**
|
|
1509
1887
|
* Describes the message OptionChainSummaryExpiry.
|
|
@@ -2380,6 +2758,10 @@ export type RPCResponse = Message<"RPCResponse"> & {
|
|
|
2380
2758
|
* @generated from field: repeated EconomicSeriesMetadata economicSeriesMetadatas = 40;
|
|
2381
2759
|
*/
|
|
2382
2760
|
economicSeriesMetadatas: EconomicSeriesMetadata[];
|
|
2761
|
+
/**
|
|
2762
|
+
* @generated from field: repeated MarketStats marketStats = 41;
|
|
2763
|
+
*/
|
|
2764
|
+
marketStats: MarketStats[];
|
|
2383
2765
|
};
|
|
2384
2766
|
/**
|
|
2385
2767
|
* Describes the message RPCResponse.
|
|
@@ -5641,6 +6023,16 @@ export declare const Gateway: GenService<{
|
|
|
5641
6023
|
input: typeof StreamMarketsRequestSchema;
|
|
5642
6024
|
output: typeof GetMarketsResponseSchema;
|
|
5643
6025
|
};
|
|
6026
|
+
/**
|
|
6027
|
+
* StreamMarketStats returns per-market stats for the named markets.
|
|
6028
|
+
*
|
|
6029
|
+
* @generated from rpc Gateway.StreamMarketStats
|
|
6030
|
+
*/
|
|
6031
|
+
streamMarketStats: {
|
|
6032
|
+
methodKind: "server_streaming";
|
|
6033
|
+
input: typeof StreamMarketStatsRequestSchema;
|
|
6034
|
+
output: typeof MarketStatsResponseSchema;
|
|
6035
|
+
};
|
|
5644
6036
|
/**
|
|
5645
6037
|
* @generated from rpc Gateway.GetSectors
|
|
5646
6038
|
*/
|