pmxt-core 2.8.0 → 2.9.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.
Files changed (83) hide show
  1. package/dist/BaseExchange.d.ts +48 -0
  2. package/dist/BaseExchange.js +116 -0
  3. package/dist/exchanges/kalshi/api.d.ts +1763 -0
  4. package/dist/exchanges/kalshi/api.js +2554 -0
  5. package/dist/exchanges/kalshi/fetchEvents.d.ts +3 -2
  6. package/dist/exchanges/kalshi/fetchEvents.js +9 -16
  7. package/dist/exchanges/kalshi/fetchMarkets.d.ts +3 -2
  8. package/dist/exchanges/kalshi/fetchMarkets.js +24 -32
  9. package/dist/exchanges/kalshi/fetchOHLCV.d.ts +1 -2
  10. package/dist/exchanges/kalshi/fetchOHLCV.js +9 -11
  11. package/dist/exchanges/kalshi/index.d.ts +2 -1
  12. package/dist/exchanges/kalshi/index.js +161 -183
  13. package/dist/exchanges/kalshi/kalshi.test.js +51 -31
  14. package/dist/exchanges/limitless/api.d.ts +555 -0
  15. package/dist/exchanges/limitless/api.js +863 -0
  16. package/dist/exchanges/limitless/fetchEvents.d.ts +1 -2
  17. package/dist/exchanges/limitless/fetchEvents.js +9 -15
  18. package/dist/exchanges/limitless/fetchMarkets.d.ts +1 -2
  19. package/dist/exchanges/limitless/fetchMarkets.js +9 -16
  20. package/dist/exchanges/limitless/fetchOHLCV.d.ts +1 -2
  21. package/dist/exchanges/limitless/fetchOHLCV.js +2 -11
  22. package/dist/exchanges/limitless/fetchOrderBook.d.ts +1 -2
  23. package/dist/exchanges/limitless/fetchOrderBook.js +2 -11
  24. package/dist/exchanges/limitless/index.d.ts +1 -0
  25. package/dist/exchanges/limitless/index.js +28 -7
  26. package/dist/exchanges/limitless/websocket.d.ts +2 -1
  27. package/dist/exchanges/limitless/websocket.js +6 -4
  28. package/dist/exchanges/myriad/api.d.ts +294 -0
  29. package/dist/exchanges/myriad/api.js +690 -0
  30. package/dist/exchanges/myriad/fetchOHLCV.d.ts +1 -2
  31. package/dist/exchanges/myriad/fetchOHLCV.js +3 -11
  32. package/dist/exchanges/myriad/fetchOrderBook.d.ts +1 -2
  33. package/dist/exchanges/myriad/fetchOrderBook.js +3 -11
  34. package/dist/exchanges/myriad/index.d.ts +2 -0
  35. package/dist/exchanges/myriad/index.js +116 -103
  36. package/dist/exchanges/myriad/websocket.d.ts +2 -2
  37. package/dist/exchanges/myriad/websocket.js +28 -6
  38. package/dist/exchanges/polymarket/api-clob.d.ts +346 -0
  39. package/dist/exchanges/polymarket/api-clob.js +517 -0
  40. package/dist/exchanges/polymarket/api-data.d.ts +789 -0
  41. package/dist/exchanges/polymarket/api-data.js +860 -0
  42. package/dist/exchanges/polymarket/api-gamma.d.ts +556 -0
  43. package/dist/exchanges/polymarket/api-gamma.js +1161 -0
  44. package/dist/exchanges/polymarket/fetchEvents.js +0 -68
  45. package/dist/exchanges/polymarket/fetchOHLCV.d.ts +1 -2
  46. package/dist/exchanges/polymarket/fetchOHLCV.js +4 -10
  47. package/dist/exchanges/polymarket/fetchOrderBook.d.ts +1 -2
  48. package/dist/exchanges/polymarket/fetchOrderBook.js +2 -10
  49. package/dist/exchanges/polymarket/fetchTrades.d.ts +1 -2
  50. package/dist/exchanges/polymarket/fetchTrades.js +2 -11
  51. package/dist/exchanges/polymarket/index.d.ts +10 -0
  52. package/dist/exchanges/polymarket/index.js +110 -5
  53. package/dist/exchanges/probable/api.d.ts +605 -0
  54. package/dist/exchanges/probable/api.js +887 -0
  55. package/dist/exchanges/probable/fetchEvents.d.ts +3 -3
  56. package/dist/exchanges/probable/fetchEvents.js +28 -25
  57. package/dist/exchanges/probable/fetchMarkets.d.ts +1 -1
  58. package/dist/exchanges/probable/fetchMarkets.js +25 -21
  59. package/dist/exchanges/probable/index.d.ts +1 -0
  60. package/dist/exchanges/probable/index.js +92 -10
  61. package/dist/exchanges/probable/utils.d.ts +1 -2
  62. package/dist/exchanges/probable/utils.js +4 -11
  63. package/dist/index.d.ts +1 -0
  64. package/dist/index.js +3 -1
  65. package/dist/utils/openapi.d.ts +9 -0
  66. package/dist/utils/openapi.js +59 -0
  67. package/package.json +4 -3
  68. package/dist/exchanges/kalshi/fetchOrderBook.d.ts +0 -3
  69. package/dist/exchanges/kalshi/fetchOrderBook.js +0 -59
  70. package/dist/exchanges/kalshi/fetchTrades.d.ts +0 -4
  71. package/dist/exchanges/kalshi/fetchTrades.js +0 -31
  72. package/dist/exchanges/limitless/fetchPositions.d.ts +0 -2
  73. package/dist/exchanges/limitless/fetchPositions.js +0 -34
  74. package/dist/exchanges/myriad/fetchTrades.d.ts +0 -4
  75. package/dist/exchanges/myriad/fetchTrades.js +0 -62
  76. package/dist/exchanges/polymarket/fetchPositions.d.ts +0 -2
  77. package/dist/exchanges/polymarket/fetchPositions.js +0 -34
  78. package/dist/exchanges/probable/fetchOHLCV.d.ts +0 -4
  79. package/dist/exchanges/probable/fetchOHLCV.js +0 -83
  80. package/dist/exchanges/probable/fetchOrderBook.d.ts +0 -3
  81. package/dist/exchanges/probable/fetchOrderBook.js +0 -37
  82. package/dist/exchanges/probable/fetchPositions.d.ts +0 -2
  83. package/dist/exchanges/probable/fetchPositions.js +0 -33
@@ -0,0 +1,555 @@
1
+ /**
2
+ * Auto-generated from /home/runner/work/pmxt/pmxt/core/specs/limitless/Limitless.yaml
3
+ * Generated at: 2026-02-18T15:48:13.493Z
4
+ * Do not edit manually -- run "npm run fetch:openapi" to regenerate.
5
+ */
6
+ export declare const limitlessApiSpec: {
7
+ openapi: string;
8
+ paths: {
9
+ "/auth/signing-message": {
10
+ get: {
11
+ operationId: string;
12
+ parameters: never[];
13
+ summary: string;
14
+ tags: string[];
15
+ };
16
+ };
17
+ "/auth/verify-auth": {
18
+ get: {
19
+ operationId: string;
20
+ parameters: never[];
21
+ security: {
22
+ limitless_session: never[];
23
+ }[];
24
+ summary: string;
25
+ tags: string[];
26
+ };
27
+ };
28
+ "/auth/login": {
29
+ post: {
30
+ operationId: string;
31
+ parameters: {
32
+ name: string;
33
+ in: string;
34
+ required: boolean;
35
+ schema: {
36
+ type: string;
37
+ };
38
+ }[];
39
+ summary: string;
40
+ tags: string[];
41
+ };
42
+ };
43
+ "/auth/logout": {
44
+ post: {
45
+ operationId: string;
46
+ parameters: never[];
47
+ security: {
48
+ limitless_session: never[];
49
+ }[];
50
+ summary: string;
51
+ tags: string[];
52
+ };
53
+ };
54
+ "/markets/active/{categoryId}": {
55
+ get: {
56
+ operationId: string;
57
+ parameters: ({
58
+ name: string;
59
+ required: boolean;
60
+ in: string;
61
+ schema: {
62
+ type: string;
63
+ enum?: undefined;
64
+ };
65
+ } | {
66
+ name: string;
67
+ required: boolean;
68
+ in: string;
69
+ schema: {
70
+ enum: string[];
71
+ type: string;
72
+ };
73
+ })[];
74
+ summary: string;
75
+ tags: string[];
76
+ };
77
+ };
78
+ "/markets/active": {
79
+ get: {
80
+ operationId: string;
81
+ parameters: ({
82
+ name: string;
83
+ required: boolean;
84
+ in: string;
85
+ schema: {
86
+ type: string;
87
+ enum?: undefined;
88
+ };
89
+ } | {
90
+ name: string;
91
+ required: boolean;
92
+ in: string;
93
+ schema: {
94
+ enum: string[];
95
+ type: string;
96
+ };
97
+ })[];
98
+ summary: string;
99
+ tags: string[];
100
+ };
101
+ };
102
+ "/markets/categories/count": {
103
+ get: {
104
+ operationId: string;
105
+ parameters: never[];
106
+ summary: string;
107
+ tags: string[];
108
+ };
109
+ };
110
+ "/markets/active/slugs": {
111
+ get: {
112
+ operationId: string;
113
+ parameters: never[];
114
+ summary: string;
115
+ tags: string[];
116
+ };
117
+ };
118
+ "/markets/{addressOrSlug}": {
119
+ get: {
120
+ operationId: string;
121
+ parameters: {
122
+ name: string;
123
+ required: boolean;
124
+ in: string;
125
+ schema: {};
126
+ }[];
127
+ summary: string;
128
+ tags: string[];
129
+ };
130
+ };
131
+ "/markets/{slug}/get-feed-events": {
132
+ get: {
133
+ operationId: string;
134
+ parameters: ({
135
+ name: string;
136
+ required: boolean;
137
+ in: string;
138
+ schema: {
139
+ type: string;
140
+ };
141
+ } | {
142
+ name: string;
143
+ required: boolean;
144
+ in: string;
145
+ schema: {
146
+ type?: undefined;
147
+ };
148
+ })[];
149
+ security: {
150
+ bearer: never[];
151
+ }[];
152
+ summary: string;
153
+ tags: string[];
154
+ };
155
+ };
156
+ "/markets/{slug}/historical-price": {
157
+ get: {
158
+ operationId: string;
159
+ parameters: ({
160
+ name: string;
161
+ required: boolean;
162
+ in: string;
163
+ schema: {
164
+ enum?: undefined;
165
+ type?: undefined;
166
+ };
167
+ } | {
168
+ name: string;
169
+ required: boolean;
170
+ in: string;
171
+ schema: {
172
+ enum: string[];
173
+ type: string;
174
+ };
175
+ })[];
176
+ summary: string;
177
+ tags: string[];
178
+ };
179
+ };
180
+ "/markets/{slug}/orderbook": {
181
+ get: {
182
+ operationId: string;
183
+ parameters: {
184
+ name: string;
185
+ required: boolean;
186
+ in: string;
187
+ schema: {};
188
+ }[];
189
+ summary: string;
190
+ tags: string[];
191
+ };
192
+ };
193
+ "/markets/{slug}/locked-balance": {
194
+ get: {
195
+ operationId: string;
196
+ parameters: {
197
+ name: string;
198
+ required: boolean;
199
+ in: string;
200
+ schema: {};
201
+ }[];
202
+ security: {
203
+ limitless_session: never[];
204
+ }[];
205
+ summary: string;
206
+ tags: string[];
207
+ };
208
+ };
209
+ "/markets/{slug}/user-orders": {
210
+ get: {
211
+ operationId: string;
212
+ parameters: ({
213
+ name: string;
214
+ required: boolean;
215
+ in: string;
216
+ schema: {
217
+ type: string;
218
+ items: {
219
+ type: string;
220
+ enum: string[];
221
+ };
222
+ minimum?: undefined;
223
+ };
224
+ } | {
225
+ name: string;
226
+ required: boolean;
227
+ in: string;
228
+ schema: {
229
+ minimum: number;
230
+ type: string;
231
+ items?: undefined;
232
+ };
233
+ } | {
234
+ name: string;
235
+ required: boolean;
236
+ in: string;
237
+ schema: {
238
+ type?: undefined;
239
+ items?: undefined;
240
+ minimum?: undefined;
241
+ };
242
+ })[];
243
+ security: {
244
+ limitless_session: never[];
245
+ }[];
246
+ summary: string;
247
+ tags: string[];
248
+ };
249
+ };
250
+ "/markets/{slug}/events": {
251
+ get: {
252
+ operationId: string;
253
+ parameters: ({
254
+ name: string;
255
+ required: boolean;
256
+ in: string;
257
+ schema: {
258
+ type: string;
259
+ };
260
+ } | {
261
+ name: string;
262
+ required: boolean;
263
+ in: string;
264
+ schema: {
265
+ type?: undefined;
266
+ };
267
+ })[];
268
+ summary: string;
269
+ tags: string[];
270
+ };
271
+ };
272
+ "/markets/search": {
273
+ get: {
274
+ operationId: string;
275
+ parameters: ({
276
+ name: string;
277
+ required: boolean;
278
+ in: string;
279
+ schema: {
280
+ type: string;
281
+ default?: undefined;
282
+ };
283
+ } | {
284
+ name: string;
285
+ required: boolean;
286
+ in: string;
287
+ schema: {
288
+ default: number;
289
+ type: string;
290
+ };
291
+ })[];
292
+ summary: string;
293
+ tags: string[];
294
+ };
295
+ };
296
+ "/portfolio/trades": {
297
+ get: {
298
+ operationId: string;
299
+ parameters: never[];
300
+ security: ({
301
+ bearer: never[];
302
+ limitless_session?: undefined;
303
+ } | {
304
+ limitless_session: never[];
305
+ bearer?: undefined;
306
+ })[];
307
+ summary: string;
308
+ tags: string[];
309
+ };
310
+ };
311
+ "/portfolio/positions": {
312
+ get: {
313
+ operationId: string;
314
+ parameters: never[];
315
+ security: ({
316
+ bearer: never[];
317
+ limitless_session?: undefined;
318
+ } | {
319
+ limitless_session: never[];
320
+ bearer?: undefined;
321
+ })[];
322
+ summary: string;
323
+ tags: string[];
324
+ };
325
+ };
326
+ "/portfolio/pnl-chart": {
327
+ get: {
328
+ operationId: string;
329
+ parameters: {
330
+ name: string;
331
+ required: boolean;
332
+ in: string;
333
+ schema: {
334
+ type: string;
335
+ };
336
+ }[];
337
+ security: ({
338
+ bearer: never[];
339
+ limitless_session?: undefined;
340
+ } | {
341
+ limitless_session: never[];
342
+ bearer?: undefined;
343
+ })[];
344
+ summary: string;
345
+ tags: string[];
346
+ };
347
+ };
348
+ "/portfolio/history": {
349
+ get: {
350
+ operationId: string;
351
+ parameters: ({
352
+ name: string;
353
+ required: boolean;
354
+ in: string;
355
+ schema: {
356
+ type: string;
357
+ format?: undefined;
358
+ };
359
+ } | {
360
+ name: string;
361
+ required: boolean;
362
+ in: string;
363
+ schema: {
364
+ format: string;
365
+ type: string;
366
+ };
367
+ })[];
368
+ security: ({
369
+ bearer: never[];
370
+ limitless_session?: undefined;
371
+ } | {
372
+ limitless_session: never[];
373
+ bearer?: undefined;
374
+ })[];
375
+ summary: string;
376
+ tags: string[];
377
+ };
378
+ };
379
+ "/portfolio/points": {
380
+ get: {
381
+ operationId: string;
382
+ parameters: never[];
383
+ security: ({
384
+ bearer: never[];
385
+ limitless_session?: undefined;
386
+ } | {
387
+ limitless_session: never[];
388
+ bearer?: undefined;
389
+ })[];
390
+ summary: string;
391
+ tags: string[];
392
+ };
393
+ };
394
+ "/portfolio/{account}/traded-volume": {
395
+ get: {
396
+ operationId: string;
397
+ parameters: {
398
+ name: string;
399
+ required: boolean;
400
+ in: string;
401
+ schema: {
402
+ type: string;
403
+ };
404
+ }[];
405
+ summary: string;
406
+ tags: string[];
407
+ };
408
+ };
409
+ "/portfolio/{account}/positions": {
410
+ get: {
411
+ operationId: string;
412
+ parameters: {
413
+ name: string;
414
+ required: boolean;
415
+ in: string;
416
+ schema: {
417
+ type: string;
418
+ };
419
+ }[];
420
+ summary: string;
421
+ tags: string[];
422
+ };
423
+ };
424
+ "/portfolio/{account}/pnl-chart": {
425
+ get: {
426
+ operationId: string;
427
+ parameters: {
428
+ name: string;
429
+ required: boolean;
430
+ in: string;
431
+ schema: {
432
+ type: string;
433
+ };
434
+ }[];
435
+ summary: string;
436
+ tags: string[];
437
+ };
438
+ };
439
+ "/portfolio/trading/allowance": {
440
+ get: {
441
+ operationId: string;
442
+ parameters: ({
443
+ name: string;
444
+ required: boolean;
445
+ in: string;
446
+ schema: {
447
+ enum: string[];
448
+ type: string;
449
+ };
450
+ } | {
451
+ name: string;
452
+ required: boolean;
453
+ in: string;
454
+ schema: {
455
+ type: string;
456
+ enum?: undefined;
457
+ };
458
+ })[];
459
+ security: ({
460
+ bearer: never[];
461
+ limitless_session?: undefined;
462
+ } | {
463
+ limitless_session: never[];
464
+ bearer?: undefined;
465
+ })[];
466
+ summary: string;
467
+ tags: string[];
468
+ };
469
+ };
470
+ "/orders": {
471
+ post: {
472
+ operationId: string;
473
+ parameters: never[];
474
+ security: {
475
+ limitless_session: never[];
476
+ }[];
477
+ summary: string;
478
+ tags: string[];
479
+ };
480
+ };
481
+ "/orders/{orderId}": {
482
+ delete: {
483
+ operationId: string;
484
+ parameters: {
485
+ name: string;
486
+ required: boolean;
487
+ in: string;
488
+ schema: {
489
+ type: string;
490
+ };
491
+ }[];
492
+ security: {
493
+ bearer: never[];
494
+ }[];
495
+ summary: string;
496
+ tags: string[];
497
+ };
498
+ };
499
+ "/orders/cancel-batch": {
500
+ post: {
501
+ operationId: string;
502
+ parameters: never[];
503
+ security: {
504
+ bearer: never[];
505
+ }[];
506
+ summary: string;
507
+ tags: string[];
508
+ };
509
+ };
510
+ "/orders/all/{slug}": {
511
+ delete: {
512
+ operationId: string;
513
+ parameters: never[];
514
+ security: {
515
+ bearer: never[];
516
+ }[];
517
+ summary: string;
518
+ tags: string[];
519
+ };
520
+ };
521
+ };
522
+ info: {
523
+ title: string;
524
+ version: string;
525
+ contact: {
526
+ name: string;
527
+ url: string;
528
+ email: string;
529
+ };
530
+ };
531
+ tags: {
532
+ name: string;
533
+ }[];
534
+ servers: {
535
+ url: string;
536
+ }[];
537
+ components: {
538
+ securitySchemes: {
539
+ cookie: {
540
+ type: string;
541
+ in: string;
542
+ name: string;
543
+ description: string;
544
+ };
545
+ bearer: {
546
+ scheme: string;
547
+ bearerFormat: string;
548
+ description: string;
549
+ name: string;
550
+ type: string;
551
+ in: string;
552
+ };
553
+ };
554
+ };
555
+ };