pmxtjs 2.33.4 → 2.34.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/esm/generated/src/apis/DefaultApi.d.ts +72 -7
- package/dist/esm/generated/src/apis/DefaultApi.js +107 -6
- package/dist/esm/generated/src/models/ArbitrageOpportunity.d.ts +23 -0
- package/dist/esm/generated/src/models/ArbitrageOpportunity.js +14 -0
- package/dist/esm/generated/src/models/CompareMarketPricesRequest.d.ts +3 -3
- package/dist/esm/generated/src/models/CompareMarketPricesRequest.js +3 -3
- package/dist/esm/generated/src/models/FetchArbitrageParams.d.ts +17 -0
- package/dist/esm/generated/src/models/FetchArbitrageParams.js +12 -0
- package/dist/esm/generated/src/models/FetchEventMatchesParams.d.ts +7 -0
- package/dist/esm/generated/src/models/FetchEventMatchesParams.js +3 -0
- package/dist/esm/generated/src/models/FetchMarketMatches200Response.d.ts +46 -0
- package/dist/esm/generated/src/models/{FetchMatches200Response.js → FetchMarketMatches200Response.js} +8 -8
- package/dist/esm/generated/src/models/FetchMarketMatchesParams.d.ts +86 -0
- package/dist/esm/generated/src/models/{FetchMatchesParams.js → FetchMarketMatchesParams.js} +12 -9
- package/dist/esm/generated/src/models/UnifiedEvent.d.ts +6 -0
- package/dist/esm/generated/src/models/UnifiedEvent.js +2 -0
- package/dist/esm/generated/src/models/UnifiedMarket.d.ts +6 -0
- package/dist/esm/generated/src/models/UnifiedMarket.js +2 -0
- package/dist/esm/generated/src/models/index.d.ts +2 -2
- package/dist/esm/generated/src/models/index.js +2 -2
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/pmxt/client.js +2 -0
- package/dist/esm/pmxt/models.d.ts +66 -0
- package/dist/esm/pmxt/router.d.ts +133 -0
- package/dist/esm/pmxt/router.js +338 -0
- package/dist/generated/src/apis/DefaultApi.d.ts +72 -7
- package/dist/generated/src/apis/DefaultApi.js +108 -7
- package/dist/generated/src/models/ArbitrageOpportunity.d.ts +23 -0
- package/dist/generated/src/models/ArbitrageOpportunity.js +15 -0
- package/dist/generated/src/models/CompareMarketPricesRequest.d.ts +3 -3
- package/dist/generated/src/models/CompareMarketPricesRequest.js +3 -3
- package/dist/generated/src/models/FetchArbitrageParams.d.ts +17 -0
- package/dist/generated/src/models/FetchArbitrageParams.js +13 -0
- package/dist/generated/src/models/FetchEventMatchesParams.d.ts +7 -0
- package/dist/generated/src/models/FetchEventMatchesParams.js +3 -0
- package/dist/generated/src/models/FetchMarketMatches200Response.d.ts +46 -0
- package/dist/generated/src/models/{FetchMatches200Response.js → FetchMarketMatches200Response.js} +13 -13
- package/dist/generated/src/models/FetchMarketMatchesParams.d.ts +86 -0
- package/dist/generated/src/models/{FetchMatchesParams.js → FetchMarketMatchesParams.js} +18 -15
- package/dist/generated/src/models/UnifiedEvent.d.ts +6 -0
- package/dist/generated/src/models/UnifiedEvent.js +2 -0
- package/dist/generated/src/models/UnifiedMarket.d.ts +6 -0
- package/dist/generated/src/models/UnifiedMarket.js +2 -0
- package/dist/generated/src/models/index.d.ts +2 -2
- package/dist/generated/src/models/index.js +2 -2
- package/dist/index.d.ts +3 -0
- package/dist/index.js +5 -1
- package/dist/pmxt/client.js +2 -0
- package/dist/pmxt/models.d.ts +66 -0
- package/dist/pmxt/router.d.ts +133 -0
- package/dist/pmxt/router.js +375 -0
- package/generated/.openapi-generator/FILES +4 -4
- package/generated/docs/ArbitrageOpportunity.md +4 -0
- package/generated/docs/CompareMarketPricesRequest.md +1 -1
- package/generated/docs/DefaultApi.md +112 -10
- package/generated/docs/FetchArbitrageParams.md +2 -0
- package/generated/docs/FetchEventMatchesParams.md +2 -0
- package/generated/docs/{FetchMatches200Response.md → FetchMarketMatches200Response.md} +4 -4
- package/generated/docs/{FetchMatchesParams.md → FetchMarketMatchesParams.md} +6 -4
- package/generated/docs/UnifiedEvent.md +2 -0
- package/generated/docs/UnifiedMarket.md +2 -0
- package/generated/package.json +1 -1
- package/generated/src/apis/DefaultApi.ts +159 -10
- package/generated/src/models/ArbitrageOpportunity.ts +30 -0
- package/generated/src/models/CompareMarketPricesRequest.ts +11 -11
- package/generated/src/models/FetchArbitrageParams.ts +22 -0
- package/generated/src/models/FetchEventMatchesParams.ts +16 -0
- package/generated/src/models/{FetchMatches200Response.ts → FetchMarketMatches200Response.ts} +13 -13
- package/generated/src/models/{FetchMatchesParams.ts → FetchMarketMatchesParams.ts} +36 -20
- package/generated/src/models/UnifiedEvent.ts +8 -0
- package/generated/src/models/UnifiedMarket.ts +8 -0
- package/generated/src/models/index.ts +2 -2
- package/index.ts +3 -0
- package/package.json +2 -2
- package/pmxt/client.ts +2 -0
- package/pmxt/models.ts +97 -0
- package/pmxt/router.ts +385 -0
- package/dist/esm/generated/src/models/FetchMatches200Response.d.ts +0 -46
- package/dist/esm/generated/src/models/FetchMatchesParams.d.ts +0 -79
- package/dist/generated/src/models/FetchMatches200Response.d.ts +0 -46
- package/dist/generated/src/models/FetchMatchesParams.d.ts +0 -79
|
@@ -18,9 +18,10 @@ All URIs are relative to *http://localhost:3847*
|
|
|
18
18
|
| [**fetchEvents**](DefaultApi.md#fetchevents) | **GET** /api/{exchange}/fetchEvents | Fetch Events |
|
|
19
19
|
| [**fetchHedges**](DefaultApi.md#fetchhedges) | **GET** /api/{exchange}/fetchHedges | Find Hedging Opportunities |
|
|
20
20
|
| [**fetchMarket**](DefaultApi.md#fetchmarket) | **GET** /api/{exchange}/fetchMarket | Fetch Market |
|
|
21
|
+
| [**fetchMarketMatches**](DefaultApi.md#fetchmarketmatches) | **GET** /api/{exchange}/fetchMarketMatches | Find Similar Markets |
|
|
21
22
|
| [**fetchMarkets**](DefaultApi.md#fetchmarkets) | **GET** /api/{exchange}/fetchMarkets | Fetch Markets |
|
|
22
23
|
| [**fetchMarketsPaginated**](DefaultApi.md#fetchmarketspaginated) | **GET** /api/{exchange}/fetchMarketsPaginated | Fetch Markets Paginated |
|
|
23
|
-
| [**fetchMatches**](DefaultApi.md#fetchmatches) | **GET** /api/{exchange}/fetchMatches | Find Similar Markets |
|
|
24
|
+
| [**fetchMatches**](DefaultApi.md#fetchmatches) | **GET** /api/{exchange}/fetchMatches | Find Similar Markets (Deprecated) |
|
|
24
25
|
| [**fetchMyTrades**](DefaultApi.md#fetchmytrades) | **GET** /api/{exchange}/fetchMyTrades | Fetch My Trades |
|
|
25
26
|
| [**fetchOHLCV**](DefaultApi.md#fetchohlcv) | **GET** /api/{exchange}/fetchOHLCV | Fetch OHLCV |
|
|
26
27
|
| [**fetchOpenOrders**](DefaultApi.md#fetchopenorders) | **GET** /api/{exchange}/fetchOpenOrders | Fetch Open Orders |
|
|
@@ -475,7 +476,7 @@ No authorization required
|
|
|
475
476
|
|
|
476
477
|
## fetchArbitrage
|
|
477
478
|
|
|
478
|
-
> FetchArbitrage200Response fetchArbitrage(exchange, minSpread, category, limit)
|
|
479
|
+
> FetchArbitrage200Response fetchArbitrage(exchange, minSpread, category, limit, relations)
|
|
479
480
|
|
|
480
481
|
Find Arbitrage Opportunities
|
|
481
482
|
|
|
@@ -503,6 +504,8 @@ async function example() {
|
|
|
503
504
|
category: category_example,
|
|
504
505
|
// number (optional)
|
|
505
506
|
limit: 8.14,
|
|
507
|
+
// Array<'identity' | 'subset' | 'superset' | 'overlap' | 'disjoint'> | Comma-separated relation types to include (default: \'identity\'). (optional)
|
|
508
|
+
relations: ...,
|
|
506
509
|
} satisfies FetchArbitrageRequest;
|
|
507
510
|
|
|
508
511
|
try {
|
|
@@ -526,6 +529,7 @@ example().catch(console.error);
|
|
|
526
529
|
| **minSpread** | `number` | | [Optional] [Defaults to `undefined`] |
|
|
527
530
|
| **category** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
528
531
|
| **limit** | `number` | | [Optional] [Defaults to `undefined`] |
|
|
532
|
+
| **relations** | `identity`, `subset`, `superset`, `overlap`, `disjoint` | Comma-separated relation types to include (default: \'identity\'). | [Optional] [Enum: identity, subset, superset, overlap, disjoint] |
|
|
529
533
|
|
|
530
534
|
### Return type
|
|
531
535
|
|
|
@@ -801,7 +805,7 @@ No authorization required
|
|
|
801
805
|
|
|
802
806
|
## fetchEventMatches
|
|
803
807
|
|
|
804
|
-
> FetchEventMatches200Response fetchEventMatches(exchange, eventId, slug, relation, minConfidence, limit, includePrices)
|
|
808
|
+
> FetchEventMatches200Response fetchEventMatches(exchange, event, eventId, slug, relation, minConfidence, limit, includePrices)
|
|
805
809
|
|
|
806
810
|
Find Similar Events
|
|
807
811
|
|
|
@@ -823,6 +827,8 @@ async function example() {
|
|
|
823
827
|
const body = {
|
|
824
828
|
// 'polymarket' | 'kalshi' | 'kalshi-demo' | 'limitless' | 'probable' | 'baozi' | 'myriad' | 'opinion' | 'metaculus' | 'smarkets' | 'polymarket_us' | 'router' | The prediction market exchange to target.
|
|
825
829
|
exchange: exchange_example,
|
|
830
|
+
// UnifiedEvent | Pass a UnifiedEvent directly instead of eventId/slug. (optional)
|
|
831
|
+
event: ...,
|
|
826
832
|
// string (optional)
|
|
827
833
|
eventId: eventId_example,
|
|
828
834
|
// string (optional)
|
|
@@ -855,6 +861,7 @@ example().catch(console.error);
|
|
|
855
861
|
| Name | Type | Description | Notes |
|
|
856
862
|
|------------- | ------------- | ------------- | -------------|
|
|
857
863
|
| **exchange** | `polymarket`, `kalshi`, `kalshi-demo`, `limitless`, `probable`, `baozi`, `myriad`, `opinion`, `metaculus`, `smarkets`, `polymarket_us`, `router` | The prediction market exchange to target. | [Defaults to `undefined`] [Enum: polymarket, kalshi, kalshi-demo, limitless, probable, baozi, myriad, opinion, metaculus, smarkets, polymarket_us, router] |
|
|
864
|
+
| **event** | [](.md) | Pass a UnifiedEvent directly instead of eventId/slug. | [Optional] [Defaults to `undefined`] |
|
|
858
865
|
| **eventId** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
859
866
|
| **slug** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
860
867
|
| **relation** | `identity`, `subset`, `superset`, `overlap`, `disjoint` | | [Optional] [Defaults to `undefined`] [Enum: identity, subset, superset, overlap, disjoint] |
|
|
@@ -986,7 +993,7 @@ No authorization required
|
|
|
986
993
|
|
|
987
994
|
## fetchHedges
|
|
988
995
|
|
|
989
|
-
> CompareMarketPrices200Response fetchHedges(exchange, marketId, slug, url, relation, minConfidence, limit, includePrices)
|
|
996
|
+
> CompareMarketPrices200Response fetchHedges(exchange, market, marketId, slug, url, relation, minConfidence, limit, includePrices)
|
|
990
997
|
|
|
991
998
|
Find Hedging Opportunities
|
|
992
999
|
|
|
@@ -1008,6 +1015,8 @@ async function example() {
|
|
|
1008
1015
|
const body = {
|
|
1009
1016
|
// 'polymarket' | 'kalshi' | 'kalshi-demo' | 'limitless' | 'probable' | 'baozi' | 'myriad' | 'opinion' | 'metaculus' | 'smarkets' | 'polymarket_us' | 'router' | The prediction market exchange to target.
|
|
1010
1017
|
exchange: exchange_example,
|
|
1018
|
+
// UnifiedMarket | Pass a UnifiedMarket directly instead of marketId/slug/url. (optional)
|
|
1019
|
+
market: ...,
|
|
1011
1020
|
// string (optional)
|
|
1012
1021
|
marketId: marketId_example,
|
|
1013
1022
|
// string (optional)
|
|
@@ -1042,6 +1051,7 @@ example().catch(console.error);
|
|
|
1042
1051
|
| Name | Type | Description | Notes |
|
|
1043
1052
|
|------------- | ------------- | ------------- | -------------|
|
|
1044
1053
|
| **exchange** | `polymarket`, `kalshi`, `kalshi-demo`, `limitless`, `probable`, `baozi`, `myriad`, `opinion`, `metaculus`, `smarkets`, `polymarket_us`, `router` | The prediction market exchange to target. | [Defaults to `undefined`] [Enum: polymarket, kalshi, kalshi-demo, limitless, probable, baozi, myriad, opinion, metaculus, smarkets, polymarket_us, router] |
|
|
1054
|
+
| **market** | [](.md) | Pass a UnifiedMarket directly instead of marketId/slug/url. | [Optional] [Defaults to `undefined`] |
|
|
1045
1055
|
| **marketId** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
1046
1056
|
| **slug** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
1047
1057
|
| **url** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
@@ -1175,6 +1185,97 @@ No authorization required
|
|
|
1175
1185
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1176
1186
|
|
|
1177
1187
|
|
|
1188
|
+
## fetchMarketMatches
|
|
1189
|
+
|
|
1190
|
+
> FetchMarketMatches200Response fetchMarketMatches(exchange, market, marketId, slug, url, relation, minConfidence, limit, includePrices)
|
|
1191
|
+
|
|
1192
|
+
Find Similar Markets
|
|
1193
|
+
|
|
1194
|
+
Find the same or related market on other venues. Given a market on one venue, discover semantically equivalent markets across every other venue PMXT ingests — each with a relation type (identity, subset, superset, overlap, disjoint), confidence score, and reasoning.
|
|
1195
|
+
|
|
1196
|
+
### Example
|
|
1197
|
+
|
|
1198
|
+
```ts
|
|
1199
|
+
import {
|
|
1200
|
+
Configuration,
|
|
1201
|
+
DefaultApi,
|
|
1202
|
+
} from 'pmxtjs';
|
|
1203
|
+
import type { FetchMarketMatchesRequest } from 'pmxtjs';
|
|
1204
|
+
|
|
1205
|
+
async function example() {
|
|
1206
|
+
console.log("🚀 Testing pmxtjs SDK...");
|
|
1207
|
+
const api = new DefaultApi();
|
|
1208
|
+
|
|
1209
|
+
const body = {
|
|
1210
|
+
// 'polymarket' | 'kalshi' | 'kalshi-demo' | 'limitless' | 'probable' | 'baozi' | 'myriad' | 'opinion' | 'metaculus' | 'smarkets' | 'polymarket_us' | 'router' | The prediction market exchange to target.
|
|
1211
|
+
exchange: exchange_example,
|
|
1212
|
+
// UnifiedMarket | Pass a UnifiedMarket directly instead of marketId/slug/url. (optional)
|
|
1213
|
+
market: ...,
|
|
1214
|
+
// string (optional)
|
|
1215
|
+
marketId: marketId_example,
|
|
1216
|
+
// string (optional)
|
|
1217
|
+
slug: slug_example,
|
|
1218
|
+
// string (optional)
|
|
1219
|
+
url: url_example,
|
|
1220
|
+
// 'identity' | 'subset' | 'superset' | 'overlap' | 'disjoint' (optional)
|
|
1221
|
+
relation: relation_example,
|
|
1222
|
+
// number (optional)
|
|
1223
|
+
minConfidence: 8.14,
|
|
1224
|
+
// number (optional)
|
|
1225
|
+
limit: 8.14,
|
|
1226
|
+
// boolean (optional)
|
|
1227
|
+
includePrices: true,
|
|
1228
|
+
} satisfies FetchMarketMatchesRequest;
|
|
1229
|
+
|
|
1230
|
+
try {
|
|
1231
|
+
const data = await api.fetchMarketMatches(body);
|
|
1232
|
+
console.log(data);
|
|
1233
|
+
} catch (error) {
|
|
1234
|
+
console.error(error);
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
// Run the test
|
|
1239
|
+
example().catch(console.error);
|
|
1240
|
+
```
|
|
1241
|
+
|
|
1242
|
+
### Parameters
|
|
1243
|
+
|
|
1244
|
+
|
|
1245
|
+
| Name | Type | Description | Notes |
|
|
1246
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1247
|
+
| **exchange** | `polymarket`, `kalshi`, `kalshi-demo`, `limitless`, `probable`, `baozi`, `myriad`, `opinion`, `metaculus`, `smarkets`, `polymarket_us`, `router` | The prediction market exchange to target. | [Defaults to `undefined`] [Enum: polymarket, kalshi, kalshi-demo, limitless, probable, baozi, myriad, opinion, metaculus, smarkets, polymarket_us, router] |
|
|
1248
|
+
| **market** | [](.md) | Pass a UnifiedMarket directly instead of marketId/slug/url. | [Optional] [Defaults to `undefined`] |
|
|
1249
|
+
| **marketId** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
1250
|
+
| **slug** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
1251
|
+
| **url** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
1252
|
+
| **relation** | `identity`, `subset`, `superset`, `overlap`, `disjoint` | | [Optional] [Defaults to `undefined`] [Enum: identity, subset, superset, overlap, disjoint] |
|
|
1253
|
+
| **minConfidence** | `number` | | [Optional] [Defaults to `undefined`] |
|
|
1254
|
+
| **limit** | `number` | | [Optional] [Defaults to `undefined`] |
|
|
1255
|
+
| **includePrices** | `boolean` | | [Optional] [Defaults to `undefined`] |
|
|
1256
|
+
|
|
1257
|
+
### Return type
|
|
1258
|
+
|
|
1259
|
+
[**FetchMarketMatches200Response**](FetchMarketMatches200Response.md)
|
|
1260
|
+
|
|
1261
|
+
### Authorization
|
|
1262
|
+
|
|
1263
|
+
No authorization required
|
|
1264
|
+
|
|
1265
|
+
### HTTP request headers
|
|
1266
|
+
|
|
1267
|
+
- **Content-Type**: Not defined
|
|
1268
|
+
- **Accept**: `application/json`
|
|
1269
|
+
|
|
1270
|
+
|
|
1271
|
+
### HTTP response details
|
|
1272
|
+
| Status code | Description | Response headers |
|
|
1273
|
+
|-------------|-------------|------------------|
|
|
1274
|
+
| **200** | Find Similar Markets response | - |
|
|
1275
|
+
|
|
1276
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1277
|
+
|
|
1278
|
+
|
|
1178
1279
|
## fetchMarkets
|
|
1179
1280
|
|
|
1180
1281
|
> FetchMarkets200Response fetchMarkets(exchange, limit, offset, sort, status, searchIn, query, slug, marketId, outcomeId, eventId, page, similarityThreshold)
|
|
@@ -1356,11 +1457,9 @@ No authorization required
|
|
|
1356
1457
|
|
|
1357
1458
|
## fetchMatches
|
|
1358
1459
|
|
|
1359
|
-
>
|
|
1460
|
+
> FetchMarketMatches200Response fetchMatches(exchange, market, marketId, slug, url, relation, minConfidence, limit, includePrices)
|
|
1360
1461
|
|
|
1361
|
-
Find Similar Markets
|
|
1362
|
-
|
|
1363
|
-
Find the same or related market on other venues. Given a market on one venue, discover semantically equivalent markets across every other venue PMXT ingests — each with a relation type (identity, subset, superset, overlap, disjoint), confidence score, and reasoning.
|
|
1462
|
+
Find Similar Markets (Deprecated)
|
|
1364
1463
|
|
|
1365
1464
|
### Example
|
|
1366
1465
|
|
|
@@ -1378,6 +1477,8 @@ async function example() {
|
|
|
1378
1477
|
const body = {
|
|
1379
1478
|
// 'polymarket' | 'kalshi' | 'kalshi-demo' | 'limitless' | 'probable' | 'baozi' | 'myriad' | 'opinion' | 'metaculus' | 'smarkets' | 'polymarket_us' | 'router' | The prediction market exchange to target.
|
|
1380
1479
|
exchange: exchange_example,
|
|
1480
|
+
// UnifiedMarket | Pass a UnifiedMarket directly instead of marketId/slug/url. (optional)
|
|
1481
|
+
market: ...,
|
|
1381
1482
|
// string (optional)
|
|
1382
1483
|
marketId: marketId_example,
|
|
1383
1484
|
// string (optional)
|
|
@@ -1412,6 +1513,7 @@ example().catch(console.error);
|
|
|
1412
1513
|
| Name | Type | Description | Notes |
|
|
1413
1514
|
|------------- | ------------- | ------------- | -------------|
|
|
1414
1515
|
| **exchange** | `polymarket`, `kalshi`, `kalshi-demo`, `limitless`, `probable`, `baozi`, `myriad`, `opinion`, `metaculus`, `smarkets`, `polymarket_us`, `router` | The prediction market exchange to target. | [Defaults to `undefined`] [Enum: polymarket, kalshi, kalshi-demo, limitless, probable, baozi, myriad, opinion, metaculus, smarkets, polymarket_us, router] |
|
|
1516
|
+
| **market** | [](.md) | Pass a UnifiedMarket directly instead of marketId/slug/url. | [Optional] [Defaults to `undefined`] |
|
|
1415
1517
|
| **marketId** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
1416
1518
|
| **slug** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
1417
1519
|
| **url** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
@@ -1422,7 +1524,7 @@ example().catch(console.error);
|
|
|
1422
1524
|
|
|
1423
1525
|
### Return type
|
|
1424
1526
|
|
|
1425
|
-
[**
|
|
1527
|
+
[**FetchMarketMatches200Response**](FetchMarketMatches200Response.md)
|
|
1426
1528
|
|
|
1427
1529
|
### Authorization
|
|
1428
1530
|
|
|
@@ -1437,7 +1539,7 @@ No authorization required
|
|
|
1437
1539
|
### HTTP response details
|
|
1438
1540
|
| Status code | Description | Response headers |
|
|
1439
1541
|
|-------------|-------------|------------------|
|
|
1440
|
-
| **200** | Find Similar Markets response | - |
|
|
1542
|
+
| **200** | Find Similar Markets (Deprecated) response | - |
|
|
1441
1543
|
|
|
1442
1544
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1443
1545
|
|
|
@@ -9,6 +9,7 @@ Name | Type
|
|
|
9
9
|
`minSpread` | number
|
|
10
10
|
`category` | string
|
|
11
11
|
`limit` | number
|
|
12
|
+
`relations` | Array<string>
|
|
12
13
|
|
|
13
14
|
## Example
|
|
14
15
|
|
|
@@ -20,6 +21,7 @@ const example = {
|
|
|
20
21
|
"minSpread": null,
|
|
21
22
|
"category": null,
|
|
22
23
|
"limit": null,
|
|
24
|
+
"relations": null,
|
|
23
25
|
} satisfies FetchArbitrageParams
|
|
24
26
|
|
|
25
27
|
console.log(example)
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
+
`event` | [UnifiedEvent](UnifiedEvent.md)
|
|
9
10
|
`eventId` | string
|
|
10
11
|
`slug` | string
|
|
11
12
|
`relation` | string
|
|
@@ -20,6 +21,7 @@ import type { FetchEventMatchesParams } from 'pmxtjs'
|
|
|
20
21
|
|
|
21
22
|
// TODO: Update the object below with actual values
|
|
22
23
|
const example = {
|
|
24
|
+
"event": null,
|
|
23
25
|
"eventId": null,
|
|
24
26
|
"slug": null,
|
|
25
27
|
"relation": null,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# FetchMarketMatches200Response
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
@@ -13,14 +13,14 @@ Name | Type
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
15
15
|
```typescript
|
|
16
|
-
import type {
|
|
16
|
+
import type { FetchMarketMatches200Response } from 'pmxtjs'
|
|
17
17
|
|
|
18
18
|
// TODO: Update the object below with actual values
|
|
19
19
|
const example = {
|
|
20
20
|
"success": true,
|
|
21
21
|
"error": null,
|
|
22
22
|
"data": null,
|
|
23
|
-
} satisfies
|
|
23
|
+
} satisfies FetchMarketMatches200Response
|
|
24
24
|
|
|
25
25
|
console.log(example)
|
|
26
26
|
|
|
@@ -29,7 +29,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
29
29
|
console.log(exampleJSON)
|
|
30
30
|
|
|
31
31
|
// Parse the JSON string back to an object
|
|
32
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as FetchMarketMatches200Response
|
|
33
33
|
console.log(exampleParsed)
|
|
34
34
|
```
|
|
35
35
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# FetchMarketMatchesParams
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
+
`market` | [UnifiedMarket](UnifiedMarket.md)
|
|
9
10
|
`marketId` | string
|
|
10
11
|
`slug` | string
|
|
11
12
|
`url` | string
|
|
@@ -17,10 +18,11 @@ Name | Type
|
|
|
17
18
|
## Example
|
|
18
19
|
|
|
19
20
|
```typescript
|
|
20
|
-
import type {
|
|
21
|
+
import type { FetchMarketMatchesParams } from 'pmxtjs'
|
|
21
22
|
|
|
22
23
|
// TODO: Update the object below with actual values
|
|
23
24
|
const example = {
|
|
25
|
+
"market": null,
|
|
24
26
|
"marketId": null,
|
|
25
27
|
"slug": null,
|
|
26
28
|
"url": null,
|
|
@@ -28,7 +30,7 @@ const example = {
|
|
|
28
30
|
"minConfidence": null,
|
|
29
31
|
"limit": null,
|
|
30
32
|
"includePrices": null,
|
|
31
|
-
} satisfies
|
|
33
|
+
} satisfies FetchMarketMatchesParams
|
|
32
34
|
|
|
33
35
|
console.log(example)
|
|
34
36
|
|
|
@@ -37,7 +39,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
37
39
|
console.log(exampleJSON)
|
|
38
40
|
|
|
39
41
|
// Parse the JSON string back to an object
|
|
40
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
42
|
+
const exampleParsed = JSON.parse(exampleJSON) as FetchMarketMatchesParams
|
|
41
43
|
console.log(exampleParsed)
|
|
42
44
|
```
|
|
43
45
|
|
|
@@ -18,6 +18,7 @@ Name | Type
|
|
|
18
18
|
`image` | string
|
|
19
19
|
`category` | string
|
|
20
20
|
`tags` | Array<string>
|
|
21
|
+
`sourceExchange` | string
|
|
21
22
|
|
|
22
23
|
## Example
|
|
23
24
|
|
|
@@ -37,6 +38,7 @@ const example = {
|
|
|
37
38
|
"image": null,
|
|
38
39
|
"category": null,
|
|
39
40
|
"tags": null,
|
|
41
|
+
"sourceExchange": null,
|
|
40
42
|
} satisfies UnifiedEvent
|
|
41
43
|
|
|
42
44
|
console.log(example)
|
|
@@ -24,6 +24,7 @@ Name | Type
|
|
|
24
24
|
`tickSize` | number
|
|
25
25
|
`status` | string
|
|
26
26
|
`contractAddress` | string
|
|
27
|
+
`sourceExchange` | string
|
|
27
28
|
`yes` | [MarketOutcome](MarketOutcome.md)
|
|
28
29
|
`no` | [MarketOutcome](MarketOutcome.md)
|
|
29
30
|
`up` | [MarketOutcome](MarketOutcome.md)
|
|
@@ -54,6 +55,7 @@ const example = {
|
|
|
54
55
|
"tickSize": null,
|
|
55
56
|
"status": null,
|
|
56
57
|
"contractAddress": null,
|
|
58
|
+
"sourceExchange": null,
|
|
57
59
|
"yes": null,
|
|
58
60
|
"no": null,
|
|
59
61
|
"up": null,
|
package/generated/package.json
CHANGED
|
@@ -31,9 +31,9 @@ import type {
|
|
|
31
31
|
FetchEventMatches200Response,
|
|
32
32
|
FetchEvents200Response,
|
|
33
33
|
FetchMarket200Response,
|
|
34
|
+
FetchMarketMatches200Response,
|
|
34
35
|
FetchMarkets200Response,
|
|
35
36
|
FetchMarketsPaginated200Response,
|
|
36
|
-
FetchMatches200Response,
|
|
37
37
|
FetchMyTrades200Response,
|
|
38
38
|
FetchOHLCV200Response,
|
|
39
39
|
FetchOpenOrders200Response,
|
|
@@ -51,6 +51,8 @@ import type {
|
|
|
51
51
|
LoadMarketsRequest,
|
|
52
52
|
MarketFilterCriteria,
|
|
53
53
|
SubmitOrderRequest,
|
|
54
|
+
UnifiedEvent,
|
|
55
|
+
UnifiedMarket,
|
|
54
56
|
UnwatchAddressRequest,
|
|
55
57
|
UnwatchOrderBookRequest,
|
|
56
58
|
WatchAddress200Response,
|
|
@@ -91,12 +93,12 @@ import {
|
|
|
91
93
|
FetchEvents200ResponseToJSON,
|
|
92
94
|
FetchMarket200ResponseFromJSON,
|
|
93
95
|
FetchMarket200ResponseToJSON,
|
|
96
|
+
FetchMarketMatches200ResponseFromJSON,
|
|
97
|
+
FetchMarketMatches200ResponseToJSON,
|
|
94
98
|
FetchMarkets200ResponseFromJSON,
|
|
95
99
|
FetchMarkets200ResponseToJSON,
|
|
96
100
|
FetchMarketsPaginated200ResponseFromJSON,
|
|
97
101
|
FetchMarketsPaginated200ResponseToJSON,
|
|
98
|
-
FetchMatches200ResponseFromJSON,
|
|
99
|
-
FetchMatches200ResponseToJSON,
|
|
100
102
|
FetchMyTrades200ResponseFromJSON,
|
|
101
103
|
FetchMyTrades200ResponseToJSON,
|
|
102
104
|
FetchOHLCV200ResponseFromJSON,
|
|
@@ -131,6 +133,10 @@ import {
|
|
|
131
133
|
MarketFilterCriteriaToJSON,
|
|
132
134
|
SubmitOrderRequestFromJSON,
|
|
133
135
|
SubmitOrderRequestToJSON,
|
|
136
|
+
UnifiedEventFromJSON,
|
|
137
|
+
UnifiedEventToJSON,
|
|
138
|
+
UnifiedMarketFromJSON,
|
|
139
|
+
UnifiedMarketToJSON,
|
|
134
140
|
UnwatchAddressRequestFromJSON,
|
|
135
141
|
UnwatchAddressRequestToJSON,
|
|
136
142
|
UnwatchOrderBookRequestFromJSON,
|
|
@@ -184,6 +190,7 @@ export interface FetchArbitrageRequest {
|
|
|
184
190
|
minSpread?: number;
|
|
185
191
|
category?: string;
|
|
186
192
|
limit?: number;
|
|
193
|
+
relations?: Array<FetchArbitrageRelationsEnum>;
|
|
187
194
|
}
|
|
188
195
|
|
|
189
196
|
export interface FetchBalanceRequest {
|
|
@@ -217,6 +224,7 @@ export interface FetchEventRequest {
|
|
|
217
224
|
|
|
218
225
|
export interface FetchEventMatchesRequest {
|
|
219
226
|
exchange: FetchEventMatchesExchangeEnum;
|
|
227
|
+
event?: UnifiedEvent;
|
|
220
228
|
eventId?: string;
|
|
221
229
|
slug?: string;
|
|
222
230
|
relation?: FetchEventMatchesRelationEnum;
|
|
@@ -242,6 +250,7 @@ export interface FetchEventsRequest {
|
|
|
242
250
|
|
|
243
251
|
export interface FetchHedgesRequest {
|
|
244
252
|
exchange: FetchHedgesExchangeEnum;
|
|
253
|
+
market?: UnifiedMarket;
|
|
245
254
|
marketId?: string;
|
|
246
255
|
slug?: string;
|
|
247
256
|
url?: string;
|
|
@@ -267,6 +276,18 @@ export interface FetchMarketRequest {
|
|
|
267
276
|
similarityThreshold?: number;
|
|
268
277
|
}
|
|
269
278
|
|
|
279
|
+
export interface FetchMarketMatchesRequest {
|
|
280
|
+
exchange: FetchMarketMatchesExchangeEnum;
|
|
281
|
+
market?: UnifiedMarket;
|
|
282
|
+
marketId?: string;
|
|
283
|
+
slug?: string;
|
|
284
|
+
url?: string;
|
|
285
|
+
relation?: FetchMarketMatchesRelationEnum;
|
|
286
|
+
minConfidence?: number;
|
|
287
|
+
limit?: number;
|
|
288
|
+
includePrices?: boolean;
|
|
289
|
+
}
|
|
290
|
+
|
|
270
291
|
export interface FetchMarketsRequest {
|
|
271
292
|
exchange: FetchMarketsExchangeEnum;
|
|
272
293
|
limit?: number;
|
|
@@ -292,6 +313,7 @@ export interface FetchMarketsPaginatedRequest {
|
|
|
292
313
|
|
|
293
314
|
export interface FetchMatchesRequest {
|
|
294
315
|
exchange: FetchMatchesExchangeEnum;
|
|
316
|
+
market?: UnifiedMarket;
|
|
295
317
|
marketId?: string;
|
|
296
318
|
slug?: string;
|
|
297
319
|
url?: string;
|
|
@@ -701,6 +723,10 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
701
723
|
queryParameters['limit'] = requestParameters['limit'];
|
|
702
724
|
}
|
|
703
725
|
|
|
726
|
+
if (requestParameters['relations'] != null) {
|
|
727
|
+
queryParameters['relations'] = requestParameters['relations'];
|
|
728
|
+
}
|
|
729
|
+
|
|
704
730
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
705
731
|
|
|
706
732
|
|
|
@@ -923,6 +949,10 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
923
949
|
|
|
924
950
|
const queryParameters: any = {};
|
|
925
951
|
|
|
952
|
+
if (requestParameters['event'] != null) {
|
|
953
|
+
queryParameters['event'] = requestParameters['event'];
|
|
954
|
+
}
|
|
955
|
+
|
|
926
956
|
if (requestParameters['eventId'] != null) {
|
|
927
957
|
queryParameters['eventId'] = requestParameters['eventId'];
|
|
928
958
|
}
|
|
@@ -1069,6 +1099,10 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
1069
1099
|
|
|
1070
1100
|
const queryParameters: any = {};
|
|
1071
1101
|
|
|
1102
|
+
if (requestParameters['market'] != null) {
|
|
1103
|
+
queryParameters['market'] = requestParameters['market'];
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1072
1106
|
if (requestParameters['marketId'] != null) {
|
|
1073
1107
|
queryParameters['marketId'] = requestParameters['marketId'];
|
|
1074
1108
|
}
|
|
@@ -1209,6 +1243,77 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
1209
1243
|
return await response.value();
|
|
1210
1244
|
}
|
|
1211
1245
|
|
|
1246
|
+
/**
|
|
1247
|
+
* Find the same or related market on other venues. Given a market on one venue, discover semantically equivalent markets across every other venue PMXT ingests — each with a relation type (identity, subset, superset, overlap, disjoint), confidence score, and reasoning.
|
|
1248
|
+
* Find Similar Markets
|
|
1249
|
+
*/
|
|
1250
|
+
async fetchMarketMatchesRaw(requestParameters: FetchMarketMatchesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FetchMarketMatches200Response>> {
|
|
1251
|
+
if (requestParameters['exchange'] == null) {
|
|
1252
|
+
throw new runtime.RequiredError(
|
|
1253
|
+
'exchange',
|
|
1254
|
+
'Required parameter "exchange" was null or undefined when calling fetchMarketMatches().'
|
|
1255
|
+
);
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
const queryParameters: any = {};
|
|
1259
|
+
|
|
1260
|
+
if (requestParameters['market'] != null) {
|
|
1261
|
+
queryParameters['market'] = requestParameters['market'];
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
if (requestParameters['marketId'] != null) {
|
|
1265
|
+
queryParameters['marketId'] = requestParameters['marketId'];
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
if (requestParameters['slug'] != null) {
|
|
1269
|
+
queryParameters['slug'] = requestParameters['slug'];
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
if (requestParameters['url'] != null) {
|
|
1273
|
+
queryParameters['url'] = requestParameters['url'];
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
if (requestParameters['relation'] != null) {
|
|
1277
|
+
queryParameters['relation'] = requestParameters['relation'];
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
if (requestParameters['minConfidence'] != null) {
|
|
1281
|
+
queryParameters['minConfidence'] = requestParameters['minConfidence'];
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
if (requestParameters['limit'] != null) {
|
|
1285
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
if (requestParameters['includePrices'] != null) {
|
|
1289
|
+
queryParameters['includePrices'] = requestParameters['includePrices'];
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1293
|
+
|
|
1294
|
+
|
|
1295
|
+
let urlPath = `/api/{exchange}/fetchMarketMatches`;
|
|
1296
|
+
urlPath = urlPath.replace(`{${"exchange"}}`, encodeURIComponent(String(requestParameters['exchange'])));
|
|
1297
|
+
|
|
1298
|
+
const response = await this.request({
|
|
1299
|
+
path: urlPath,
|
|
1300
|
+
method: 'GET',
|
|
1301
|
+
headers: headerParameters,
|
|
1302
|
+
query: queryParameters,
|
|
1303
|
+
}, initOverrides);
|
|
1304
|
+
|
|
1305
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => FetchMarketMatches200ResponseFromJSON(jsonValue));
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
/**
|
|
1309
|
+
* Find the same or related market on other venues. Given a market on one venue, discover semantically equivalent markets across every other venue PMXT ingests — each with a relation type (identity, subset, superset, overlap, disjoint), confidence score, and reasoning.
|
|
1310
|
+
* Find Similar Markets
|
|
1311
|
+
*/
|
|
1312
|
+
async fetchMarketMatches(requestParameters: FetchMarketMatchesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FetchMarketMatches200Response> {
|
|
1313
|
+
const response = await this.fetchMarketMatchesRaw(requestParameters, initOverrides);
|
|
1314
|
+
return await response.value();
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1212
1317
|
/**
|
|
1213
1318
|
* Fetch markets with optional filtering, search, or slug lookup. Always hits the exchange API — results reflect the live state at the time of the call.
|
|
1214
1319
|
* Fetch Markets
|
|
@@ -1348,10 +1453,10 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
1348
1453
|
}
|
|
1349
1454
|
|
|
1350
1455
|
/**
|
|
1351
|
-
* Find
|
|
1352
|
-
*
|
|
1456
|
+
* Find Similar Markets (Deprecated)
|
|
1457
|
+
* @deprecated
|
|
1353
1458
|
*/
|
|
1354
|
-
async fetchMatchesRaw(requestParameters: FetchMatchesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
1459
|
+
async fetchMatchesRaw(requestParameters: FetchMatchesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FetchMarketMatches200Response>> {
|
|
1355
1460
|
if (requestParameters['exchange'] == null) {
|
|
1356
1461
|
throw new runtime.RequiredError(
|
|
1357
1462
|
'exchange',
|
|
@@ -1361,6 +1466,10 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
1361
1466
|
|
|
1362
1467
|
const queryParameters: any = {};
|
|
1363
1468
|
|
|
1469
|
+
if (requestParameters['market'] != null) {
|
|
1470
|
+
queryParameters['market'] = requestParameters['market'];
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1364
1473
|
if (requestParameters['marketId'] != null) {
|
|
1365
1474
|
queryParameters['marketId'] = requestParameters['marketId'];
|
|
1366
1475
|
}
|
|
@@ -1402,14 +1511,14 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
1402
1511
|
query: queryParameters,
|
|
1403
1512
|
}, initOverrides);
|
|
1404
1513
|
|
|
1405
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
1514
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => FetchMarketMatches200ResponseFromJSON(jsonValue));
|
|
1406
1515
|
}
|
|
1407
1516
|
|
|
1408
1517
|
/**
|
|
1409
|
-
* Find
|
|
1410
|
-
*
|
|
1518
|
+
* Find Similar Markets (Deprecated)
|
|
1519
|
+
* @deprecated
|
|
1411
1520
|
*/
|
|
1412
|
-
async fetchMatches(requestParameters: FetchMatchesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
1521
|
+
async fetchMatches(requestParameters: FetchMatchesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FetchMarketMatches200Response> {
|
|
1413
1522
|
const response = await this.fetchMatchesRaw(requestParameters, initOverrides);
|
|
1414
1523
|
return await response.value();
|
|
1415
1524
|
}
|
|
@@ -2408,6 +2517,17 @@ export const FetchArbitrageExchangeEnum = {
|
|
|
2408
2517
|
Router: 'router'
|
|
2409
2518
|
} as const;
|
|
2410
2519
|
export type FetchArbitrageExchangeEnum = typeof FetchArbitrageExchangeEnum[keyof typeof FetchArbitrageExchangeEnum];
|
|
2520
|
+
/**
|
|
2521
|
+
* @export
|
|
2522
|
+
*/
|
|
2523
|
+
export const FetchArbitrageRelationsEnum = {
|
|
2524
|
+
Identity: 'identity',
|
|
2525
|
+
Subset: 'subset',
|
|
2526
|
+
Superset: 'superset',
|
|
2527
|
+
Overlap: 'overlap',
|
|
2528
|
+
Disjoint: 'disjoint'
|
|
2529
|
+
} as const;
|
|
2530
|
+
export type FetchArbitrageRelationsEnum = typeof FetchArbitrageRelationsEnum[keyof typeof FetchArbitrageRelationsEnum];
|
|
2411
2531
|
/**
|
|
2412
2532
|
* @export
|
|
2413
2533
|
*/
|
|
@@ -2640,6 +2760,35 @@ export const FetchMarketSearchInEnum = {
|
|
|
2640
2760
|
Both: 'both'
|
|
2641
2761
|
} as const;
|
|
2642
2762
|
export type FetchMarketSearchInEnum = typeof FetchMarketSearchInEnum[keyof typeof FetchMarketSearchInEnum];
|
|
2763
|
+
/**
|
|
2764
|
+
* @export
|
|
2765
|
+
*/
|
|
2766
|
+
export const FetchMarketMatchesExchangeEnum = {
|
|
2767
|
+
Polymarket: 'polymarket',
|
|
2768
|
+
Kalshi: 'kalshi',
|
|
2769
|
+
KalshiDemo: 'kalshi-demo',
|
|
2770
|
+
Limitless: 'limitless',
|
|
2771
|
+
Probable: 'probable',
|
|
2772
|
+
Baozi: 'baozi',
|
|
2773
|
+
Myriad: 'myriad',
|
|
2774
|
+
Opinion: 'opinion',
|
|
2775
|
+
Metaculus: 'metaculus',
|
|
2776
|
+
Smarkets: 'smarkets',
|
|
2777
|
+
PolymarketUs: 'polymarket_us',
|
|
2778
|
+
Router: 'router'
|
|
2779
|
+
} as const;
|
|
2780
|
+
export type FetchMarketMatchesExchangeEnum = typeof FetchMarketMatchesExchangeEnum[keyof typeof FetchMarketMatchesExchangeEnum];
|
|
2781
|
+
/**
|
|
2782
|
+
* @export
|
|
2783
|
+
*/
|
|
2784
|
+
export const FetchMarketMatchesRelationEnum = {
|
|
2785
|
+
Identity: 'identity',
|
|
2786
|
+
Subset: 'subset',
|
|
2787
|
+
Superset: 'superset',
|
|
2788
|
+
Overlap: 'overlap',
|
|
2789
|
+
Disjoint: 'disjoint'
|
|
2790
|
+
} as const;
|
|
2791
|
+
export type FetchMarketMatchesRelationEnum = typeof FetchMarketMatchesRelationEnum[keyof typeof FetchMarketMatchesRelationEnum];
|
|
2643
2792
|
/**
|
|
2644
2793
|
* @export
|
|
2645
2794
|
*/
|