@structbuild/sdk 0.3.10-staging.1 → 0.3.10-staging.2
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/generated/polymarket.d.ts +150 -150
- package/dist/index.cjs +11 -11
- package/dist/index.cjs.map +3 -3
- package/dist/index.js +11 -11
- package/dist/index.js.map +3 -3
- package/dist/namespaces/analytics.d.ts +6 -6
- package/dist/types/index.d.ts +5 -5
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Do not make direct changes to the file.
|
|
4
4
|
*/
|
|
5
5
|
export interface paths {
|
|
6
|
-
"/polymarket/analytics/
|
|
6
|
+
"/polymarket/analytics/changes": {
|
|
7
7
|
parameters: {
|
|
8
8
|
query?: never;
|
|
9
9
|
header?: never;
|
|
@@ -11,10 +11,10 @@ export interface paths {
|
|
|
11
11
|
cookie?: never;
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
|
-
* Global analytics
|
|
15
|
-
* @description Returns
|
|
14
|
+
* Global analytics % change
|
|
15
|
+
* @description Returns % change for each metric over the requested lookback window. `null` fields mean the window predates the available data.
|
|
16
16
|
*/
|
|
17
|
-
get: operations["
|
|
17
|
+
get: operations["get_global_analytics_changes"];
|
|
18
18
|
put?: never;
|
|
19
19
|
post?: never;
|
|
20
20
|
delete?: never;
|
|
@@ -23,7 +23,7 @@ export interface paths {
|
|
|
23
23
|
patch?: never;
|
|
24
24
|
trace?: never;
|
|
25
25
|
};
|
|
26
|
-
"/polymarket/analytics/
|
|
26
|
+
"/polymarket/analytics/counts": {
|
|
27
27
|
parameters: {
|
|
28
28
|
query?: never;
|
|
29
29
|
header?: never;
|
|
@@ -31,10 +31,10 @@ export interface paths {
|
|
|
31
31
|
cookie?: never;
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
34
|
-
* Global analytics
|
|
35
|
-
* @description Returns
|
|
34
|
+
* Global analytics snapshot
|
|
35
|
+
* @description Returns the latest cumulative analytics metrics across all of Polymarket: volume, traders, txn counts, fees, yes/no splits, and buy distribution.
|
|
36
36
|
*/
|
|
37
|
-
get: operations["
|
|
37
|
+
get: operations["get_analytics_counts"];
|
|
38
38
|
put?: never;
|
|
39
39
|
post?: never;
|
|
40
40
|
delete?: never;
|
|
@@ -43,7 +43,7 @@ export interface paths {
|
|
|
43
43
|
patch?: never;
|
|
44
44
|
trace?: never;
|
|
45
45
|
};
|
|
46
|
-
"/polymarket/analytics/
|
|
46
|
+
"/polymarket/analytics/deltas": {
|
|
47
47
|
parameters: {
|
|
48
48
|
query?: never;
|
|
49
49
|
header?: never;
|
|
@@ -51,10 +51,10 @@ export interface paths {
|
|
|
51
51
|
cookie?: never;
|
|
52
52
|
};
|
|
53
53
|
/**
|
|
54
|
-
* Global analytics
|
|
55
|
-
* @description Returns
|
|
54
|
+
* Global analytics candles (per-bucket deltas)
|
|
55
|
+
* @description Returns per-bucket deltas (volume, traders, fees etc. that happened *during* each bucket). Use for bar-chart visualisations of activity over time.
|
|
56
56
|
*/
|
|
57
|
-
get: operations["
|
|
57
|
+
get: operations["get_global_analytics_deltas"];
|
|
58
58
|
put?: never;
|
|
59
59
|
post?: never;
|
|
60
60
|
delete?: never;
|
|
@@ -203,7 +203,7 @@ export interface paths {
|
|
|
203
203
|
patch?: never;
|
|
204
204
|
trace?: never;
|
|
205
205
|
};
|
|
206
|
-
"/polymarket/events/{event_slug}/analytics/
|
|
206
|
+
"/polymarket/events/{event_slug}/analytics/changes": {
|
|
207
207
|
parameters: {
|
|
208
208
|
query?: never;
|
|
209
209
|
header?: never;
|
|
@@ -211,10 +211,10 @@ export interface paths {
|
|
|
211
211
|
cookie?: never;
|
|
212
212
|
};
|
|
213
213
|
/**
|
|
214
|
-
* Event analytics
|
|
215
|
-
* @description
|
|
214
|
+
* Event analytics % change
|
|
215
|
+
* @description Per-metric % change over the requested lookback window for a specific event.
|
|
216
216
|
*/
|
|
217
|
-
get: operations["
|
|
217
|
+
get: operations["get_event_analytics_changes"];
|
|
218
218
|
put?: never;
|
|
219
219
|
post?: never;
|
|
220
220
|
delete?: never;
|
|
@@ -223,7 +223,7 @@ export interface paths {
|
|
|
223
223
|
patch?: never;
|
|
224
224
|
trace?: never;
|
|
225
225
|
};
|
|
226
|
-
"/polymarket/events/{event_slug}/analytics/
|
|
226
|
+
"/polymarket/events/{event_slug}/analytics/deltas": {
|
|
227
227
|
parameters: {
|
|
228
228
|
query?: never;
|
|
229
229
|
header?: never;
|
|
@@ -231,10 +231,10 @@ export interface paths {
|
|
|
231
231
|
cookie?: never;
|
|
232
232
|
};
|
|
233
233
|
/**
|
|
234
|
-
* Event analytics
|
|
235
|
-
* @description
|
|
234
|
+
* Event analytics candles (per-bucket deltas)
|
|
235
|
+
* @description Returns per-bucket deltas for a specific event (what happened during each bucket).
|
|
236
236
|
*/
|
|
237
|
-
get: operations["
|
|
237
|
+
get: operations["get_event_analytics_deltas"];
|
|
238
238
|
put?: never;
|
|
239
239
|
post?: never;
|
|
240
240
|
delete?: never;
|
|
@@ -623,7 +623,7 @@ export interface paths {
|
|
|
623
623
|
patch?: never;
|
|
624
624
|
trace?: never;
|
|
625
625
|
};
|
|
626
|
-
"/polymarket/market/{condition_id}/analytics/
|
|
626
|
+
"/polymarket/market/{condition_id}/analytics/changes": {
|
|
627
627
|
parameters: {
|
|
628
628
|
query?: never;
|
|
629
629
|
header?: never;
|
|
@@ -631,10 +631,10 @@ export interface paths {
|
|
|
631
631
|
cookie?: never;
|
|
632
632
|
};
|
|
633
633
|
/**
|
|
634
|
-
* Market analytics
|
|
635
|
-
* @description
|
|
634
|
+
* Market analytics % change
|
|
635
|
+
* @description Per-metric % change over the requested lookback window for a specific market.
|
|
636
636
|
*/
|
|
637
|
-
get: operations["
|
|
637
|
+
get: operations["get_market_analytics_changes"];
|
|
638
638
|
put?: never;
|
|
639
639
|
post?: never;
|
|
640
640
|
delete?: never;
|
|
@@ -643,7 +643,7 @@ export interface paths {
|
|
|
643
643
|
patch?: never;
|
|
644
644
|
trace?: never;
|
|
645
645
|
};
|
|
646
|
-
"/polymarket/market/{condition_id}/analytics/
|
|
646
|
+
"/polymarket/market/{condition_id}/analytics/deltas": {
|
|
647
647
|
parameters: {
|
|
648
648
|
query?: never;
|
|
649
649
|
header?: never;
|
|
@@ -651,10 +651,10 @@ export interface paths {
|
|
|
651
651
|
cookie?: never;
|
|
652
652
|
};
|
|
653
653
|
/**
|
|
654
|
-
* Market analytics
|
|
655
|
-
* @description
|
|
654
|
+
* Market analytics candles (per-bucket deltas)
|
|
655
|
+
* @description Returns per-bucket deltas for a specific market (what happened during each bucket).
|
|
656
656
|
*/
|
|
657
|
-
get: operations["
|
|
657
|
+
get: operations["get_market_analytics_deltas"];
|
|
658
658
|
put?: never;
|
|
659
659
|
post?: never;
|
|
660
660
|
delete?: never;
|
|
@@ -883,7 +883,7 @@ export interface paths {
|
|
|
883
883
|
patch?: never;
|
|
884
884
|
trace?: never;
|
|
885
885
|
};
|
|
886
|
-
"/polymarket/tags/{tag}/analytics/
|
|
886
|
+
"/polymarket/tags/{tag}/analytics/changes": {
|
|
887
887
|
parameters: {
|
|
888
888
|
query?: never;
|
|
889
889
|
header?: never;
|
|
@@ -891,10 +891,10 @@ export interface paths {
|
|
|
891
891
|
cookie?: never;
|
|
892
892
|
};
|
|
893
893
|
/**
|
|
894
|
-
* Tag analytics
|
|
895
|
-
* @description
|
|
894
|
+
* Tag analytics % change
|
|
895
|
+
* @description Per-metric % change over the requested lookback window for a specific tag.
|
|
896
896
|
*/
|
|
897
|
-
get: operations["
|
|
897
|
+
get: operations["get_tag_analytics_changes"];
|
|
898
898
|
put?: never;
|
|
899
899
|
post?: never;
|
|
900
900
|
delete?: never;
|
|
@@ -903,7 +903,7 @@ export interface paths {
|
|
|
903
903
|
patch?: never;
|
|
904
904
|
trace?: never;
|
|
905
905
|
};
|
|
906
|
-
"/polymarket/tags/{tag}/analytics/
|
|
906
|
+
"/polymarket/tags/{tag}/analytics/deltas": {
|
|
907
907
|
parameters: {
|
|
908
908
|
query?: never;
|
|
909
909
|
header?: never;
|
|
@@ -911,10 +911,10 @@ export interface paths {
|
|
|
911
911
|
cookie?: never;
|
|
912
912
|
};
|
|
913
913
|
/**
|
|
914
|
-
* Tag analytics
|
|
915
|
-
* @description
|
|
914
|
+
* Tag analytics candles (per-bucket deltas)
|
|
915
|
+
* @description Returns per-bucket deltas for a specific tag (what happened during each bucket).
|
|
916
916
|
*/
|
|
917
|
-
get: operations["
|
|
917
|
+
get: operations["get_tag_analytics_deltas"];
|
|
918
918
|
put?: never;
|
|
919
919
|
post?: never;
|
|
920
920
|
delete?: never;
|
|
@@ -1183,7 +1183,7 @@ export interface paths {
|
|
|
1183
1183
|
patch?: never;
|
|
1184
1184
|
trace?: never;
|
|
1185
1185
|
};
|
|
1186
|
-
"/polymarket/trader/{address}/analytics/
|
|
1186
|
+
"/polymarket/trader/{address}/analytics/changes": {
|
|
1187
1187
|
parameters: {
|
|
1188
1188
|
query?: never;
|
|
1189
1189
|
header?: never;
|
|
@@ -1191,10 +1191,10 @@ export interface paths {
|
|
|
1191
1191
|
cookie?: never;
|
|
1192
1192
|
};
|
|
1193
1193
|
/**
|
|
1194
|
-
* Trader analytics
|
|
1195
|
-
* @description
|
|
1194
|
+
* Trader analytics % change
|
|
1195
|
+
* @description Per-metric % change over the requested lookback window for a specific trader address.
|
|
1196
1196
|
*/
|
|
1197
|
-
get: operations["
|
|
1197
|
+
get: operations["get_trader_analytics_changes"];
|
|
1198
1198
|
put?: never;
|
|
1199
1199
|
post?: never;
|
|
1200
1200
|
delete?: never;
|
|
@@ -1203,7 +1203,7 @@ export interface paths {
|
|
|
1203
1203
|
patch?: never;
|
|
1204
1204
|
trace?: never;
|
|
1205
1205
|
};
|
|
1206
|
-
"/polymarket/trader/{address}/analytics/
|
|
1206
|
+
"/polymarket/trader/{address}/analytics/deltas": {
|
|
1207
1207
|
parameters: {
|
|
1208
1208
|
query?: never;
|
|
1209
1209
|
header?: never;
|
|
@@ -1211,10 +1211,10 @@ export interface paths {
|
|
|
1211
1211
|
cookie?: never;
|
|
1212
1212
|
};
|
|
1213
1213
|
/**
|
|
1214
|
-
* Trader analytics
|
|
1215
|
-
* @description
|
|
1214
|
+
* Trader analytics candles (per-bucket deltas)
|
|
1215
|
+
* @description Returns per-bucket deltas for a specific trader address (what happened during each bucket).
|
|
1216
1216
|
*/
|
|
1217
|
-
get: operations["
|
|
1217
|
+
get: operations["get_trader_analytics_deltas"];
|
|
1218
1218
|
put?: never;
|
|
1219
1219
|
post?: never;
|
|
1220
1220
|
delete?: never;
|
|
@@ -1446,7 +1446,7 @@ export interface components {
|
|
|
1446
1446
|
* @description Lookback window for `/analytics/changes` endpoints.
|
|
1447
1447
|
* @enum {string}
|
|
1448
1448
|
*/
|
|
1449
|
-
ChangeTimeframe: "1h" | "24h" | "7d" | "30d" | "1y";
|
|
1449
|
+
ChangeTimeframe: "1h" | "24h" | "7d" | "30d" | "1mo" | "1y";
|
|
1450
1450
|
/** @enum {string} */
|
|
1451
1451
|
ChartResolution: "1H" | "6H" | "1D" | "1W" | "1M" | "ALL";
|
|
1452
1452
|
/** @description CLOB reward (public API format) */
|
|
@@ -3329,19 +3329,11 @@ export interface components {
|
|
|
3329
3329
|
}
|
|
3330
3330
|
export type $defs = Record<string, never>;
|
|
3331
3331
|
export interface operations {
|
|
3332
|
-
|
|
3332
|
+
get_global_analytics_changes: {
|
|
3333
3333
|
parameters: {
|
|
3334
|
-
query
|
|
3335
|
-
/** @description
|
|
3336
|
-
|
|
3337
|
-
/** @description Start timestamp (Unix seconds). Omit for all-time. */
|
|
3338
|
-
from?: number;
|
|
3339
|
-
/** @description End timestamp (Unix seconds) */
|
|
3340
|
-
to?: number;
|
|
3341
|
-
/** @description Max data points (default: 500, max: 2500) */
|
|
3342
|
-
count_back?: number;
|
|
3343
|
-
/** @description Cursor from previous response for next page */
|
|
3344
|
-
pagination_key?: string;
|
|
3334
|
+
query: {
|
|
3335
|
+
/** @description Lookback window: 1h, 24h, 7d, 30d, 1y */
|
|
3336
|
+
timeframe: components["schemas"]["ChangeTimeframe"];
|
|
3345
3337
|
};
|
|
3346
3338
|
header?: never;
|
|
3347
3339
|
path?: never;
|
|
@@ -3349,56 +3341,64 @@ export interface operations {
|
|
|
3349
3341
|
};
|
|
3350
3342
|
requestBody?: never;
|
|
3351
3343
|
responses: {
|
|
3352
|
-
/** @description
|
|
3344
|
+
/** @description Per-metric pct change */
|
|
3353
3345
|
200: {
|
|
3354
3346
|
headers: {
|
|
3355
3347
|
[name: string]: unknown;
|
|
3356
3348
|
};
|
|
3357
3349
|
content: {
|
|
3358
|
-
"application/json": components["schemas"]["
|
|
3350
|
+
"application/json": components["schemas"]["MetricPctChange"];
|
|
3359
3351
|
};
|
|
3360
3352
|
};
|
|
3361
3353
|
};
|
|
3362
3354
|
};
|
|
3363
|
-
|
|
3355
|
+
get_analytics_counts: {
|
|
3364
3356
|
parameters: {
|
|
3365
|
-
query
|
|
3366
|
-
/** @description Lookback window: 1h, 24h, 7d, 30d, 1y */
|
|
3367
|
-
timeframe: components["schemas"]["ChangeTimeframe"];
|
|
3368
|
-
};
|
|
3357
|
+
query?: never;
|
|
3369
3358
|
header?: never;
|
|
3370
3359
|
path?: never;
|
|
3371
3360
|
cookie?: never;
|
|
3372
3361
|
};
|
|
3373
3362
|
requestBody?: never;
|
|
3374
3363
|
responses: {
|
|
3375
|
-
/** @description
|
|
3364
|
+
/** @description Latest global metrics snapshot */
|
|
3376
3365
|
200: {
|
|
3377
3366
|
headers: {
|
|
3378
3367
|
[name: string]: unknown;
|
|
3379
3368
|
};
|
|
3380
3369
|
content: {
|
|
3381
|
-
"application/json": components["schemas"]["
|
|
3370
|
+
"application/json": components["schemas"]["GlobalCountsResponse"];
|
|
3382
3371
|
};
|
|
3383
3372
|
};
|
|
3384
3373
|
};
|
|
3385
3374
|
};
|
|
3386
|
-
|
|
3375
|
+
get_global_analytics_deltas: {
|
|
3387
3376
|
parameters: {
|
|
3388
|
-
query?:
|
|
3377
|
+
query?: {
|
|
3378
|
+
/** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D (default: 60) */
|
|
3379
|
+
resolution?: components["schemas"]["CandlestickResolution"];
|
|
3380
|
+
/** @description Start timestamp (Unix seconds). Omit for all-time. */
|
|
3381
|
+
from?: number;
|
|
3382
|
+
/** @description End timestamp (Unix seconds) */
|
|
3383
|
+
to?: number;
|
|
3384
|
+
/** @description Max data points (default: 500, max: 2500) */
|
|
3385
|
+
count_back?: number;
|
|
3386
|
+
/** @description Cursor from previous response for next page */
|
|
3387
|
+
pagination_key?: string;
|
|
3388
|
+
};
|
|
3389
3389
|
header?: never;
|
|
3390
3390
|
path?: never;
|
|
3391
3391
|
cookie?: never;
|
|
3392
3392
|
};
|
|
3393
3393
|
requestBody?: never;
|
|
3394
3394
|
responses: {
|
|
3395
|
-
/** @description
|
|
3395
|
+
/** @description Delta time-bucketed analytics */
|
|
3396
3396
|
200: {
|
|
3397
3397
|
headers: {
|
|
3398
3398
|
[name: string]: unknown;
|
|
3399
3399
|
};
|
|
3400
3400
|
content: {
|
|
3401
|
-
"application/json": components["schemas"]["
|
|
3401
|
+
"application/json": components["schemas"]["TimeBucketRow"][];
|
|
3402
3402
|
};
|
|
3403
3403
|
};
|
|
3404
3404
|
};
|
|
@@ -3700,19 +3700,11 @@ export interface operations {
|
|
|
3700
3700
|
};
|
|
3701
3701
|
};
|
|
3702
3702
|
};
|
|
3703
|
-
|
|
3703
|
+
get_event_analytics_changes: {
|
|
3704
3704
|
parameters: {
|
|
3705
|
-
query
|
|
3706
|
-
/** @description
|
|
3707
|
-
|
|
3708
|
-
/** @description Start timestamp (Unix seconds) */
|
|
3709
|
-
from?: number;
|
|
3710
|
-
/** @description End timestamp (Unix seconds) */
|
|
3711
|
-
to?: number;
|
|
3712
|
-
/** @description Max data points (default: 500, max: 2500) */
|
|
3713
|
-
count_back?: number;
|
|
3714
|
-
/** @description Cursor from previous response */
|
|
3715
|
-
pagination_key?: string;
|
|
3705
|
+
query: {
|
|
3706
|
+
/** @description Lookback window: 1h, 24h, 7d, 30d, 1mo, 1y */
|
|
3707
|
+
timeframe: components["schemas"]["ChangeTimeframe"];
|
|
3716
3708
|
};
|
|
3717
3709
|
header?: never;
|
|
3718
3710
|
path: {
|
|
@@ -3723,22 +3715,30 @@ export interface operations {
|
|
|
3723
3715
|
};
|
|
3724
3716
|
requestBody?: never;
|
|
3725
3717
|
responses: {
|
|
3726
|
-
/** @description
|
|
3718
|
+
/** @description Per-metric pct change */
|
|
3727
3719
|
200: {
|
|
3728
3720
|
headers: {
|
|
3729
3721
|
[name: string]: unknown;
|
|
3730
3722
|
};
|
|
3731
3723
|
content: {
|
|
3732
|
-
"application/json": components["schemas"]["
|
|
3724
|
+
"application/json": components["schemas"]["MetricPctChange"];
|
|
3733
3725
|
};
|
|
3734
3726
|
};
|
|
3735
3727
|
};
|
|
3736
3728
|
};
|
|
3737
|
-
|
|
3729
|
+
get_event_analytics_deltas: {
|
|
3738
3730
|
parameters: {
|
|
3739
|
-
query
|
|
3740
|
-
/** @description
|
|
3741
|
-
|
|
3731
|
+
query?: {
|
|
3732
|
+
/** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D (default: 60) */
|
|
3733
|
+
resolution?: components["schemas"]["CandlestickResolution"];
|
|
3734
|
+
/** @description Start timestamp (Unix seconds) */
|
|
3735
|
+
from?: number;
|
|
3736
|
+
/** @description End timestamp (Unix seconds) */
|
|
3737
|
+
to?: number;
|
|
3738
|
+
/** @description Max data points (default: 500, max: 2500) */
|
|
3739
|
+
count_back?: number;
|
|
3740
|
+
/** @description Cursor from previous response */
|
|
3741
|
+
pagination_key?: string;
|
|
3742
3742
|
};
|
|
3743
3743
|
header?: never;
|
|
3744
3744
|
path: {
|
|
@@ -3749,13 +3749,13 @@ export interface operations {
|
|
|
3749
3749
|
};
|
|
3750
3750
|
requestBody?: never;
|
|
3751
3751
|
responses: {
|
|
3752
|
-
/** @description
|
|
3752
|
+
/** @description Delta time-bucketed event analytics */
|
|
3753
3753
|
200: {
|
|
3754
3754
|
headers: {
|
|
3755
3755
|
[name: string]: unknown;
|
|
3756
3756
|
};
|
|
3757
3757
|
content: {
|
|
3758
|
-
"application/json": components["schemas"]["
|
|
3758
|
+
"application/json": components["schemas"]["TimeBucketRow"][];
|
|
3759
3759
|
};
|
|
3760
3760
|
};
|
|
3761
3761
|
};
|
|
@@ -4665,19 +4665,11 @@ export interface operations {
|
|
|
4665
4665
|
};
|
|
4666
4666
|
};
|
|
4667
4667
|
};
|
|
4668
|
-
|
|
4668
|
+
get_market_analytics_changes: {
|
|
4669
4669
|
parameters: {
|
|
4670
|
-
query
|
|
4671
|
-
/** @description
|
|
4672
|
-
|
|
4673
|
-
/** @description Start timestamp (Unix seconds) */
|
|
4674
|
-
from?: number;
|
|
4675
|
-
/** @description End timestamp (Unix seconds) */
|
|
4676
|
-
to?: number;
|
|
4677
|
-
/** @description Max data points (default: 500, max: 2500) */
|
|
4678
|
-
count_back?: number;
|
|
4679
|
-
/** @description Cursor from previous response */
|
|
4680
|
-
pagination_key?: string;
|
|
4670
|
+
query: {
|
|
4671
|
+
/** @description Lookback window: 1h, 24h, 7d, 30d, 1mo, 1y */
|
|
4672
|
+
timeframe: components["schemas"]["ChangeTimeframe"];
|
|
4681
4673
|
};
|
|
4682
4674
|
header?: never;
|
|
4683
4675
|
path: {
|
|
@@ -4688,22 +4680,30 @@ export interface operations {
|
|
|
4688
4680
|
};
|
|
4689
4681
|
requestBody?: never;
|
|
4690
4682
|
responses: {
|
|
4691
|
-
/** @description
|
|
4683
|
+
/** @description Per-metric pct change */
|
|
4692
4684
|
200: {
|
|
4693
4685
|
headers: {
|
|
4694
4686
|
[name: string]: unknown;
|
|
4695
4687
|
};
|
|
4696
4688
|
content: {
|
|
4697
|
-
"application/json": components["schemas"]["
|
|
4689
|
+
"application/json": components["schemas"]["MetricPctChange"];
|
|
4698
4690
|
};
|
|
4699
4691
|
};
|
|
4700
4692
|
};
|
|
4701
4693
|
};
|
|
4702
|
-
|
|
4694
|
+
get_market_analytics_deltas: {
|
|
4703
4695
|
parameters: {
|
|
4704
|
-
query
|
|
4705
|
-
/** @description
|
|
4706
|
-
|
|
4696
|
+
query?: {
|
|
4697
|
+
/** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D (default: 60) */
|
|
4698
|
+
resolution?: components["schemas"]["CandlestickResolution"];
|
|
4699
|
+
/** @description Start timestamp (Unix seconds) */
|
|
4700
|
+
from?: number;
|
|
4701
|
+
/** @description End timestamp (Unix seconds) */
|
|
4702
|
+
to?: number;
|
|
4703
|
+
/** @description Max data points (default: 500, max: 2500) */
|
|
4704
|
+
count_back?: number;
|
|
4705
|
+
/** @description Cursor from previous response */
|
|
4706
|
+
pagination_key?: string;
|
|
4707
4707
|
};
|
|
4708
4708
|
header?: never;
|
|
4709
4709
|
path: {
|
|
@@ -4714,13 +4714,13 @@ export interface operations {
|
|
|
4714
4714
|
};
|
|
4715
4715
|
requestBody?: never;
|
|
4716
4716
|
responses: {
|
|
4717
|
-
/** @description
|
|
4717
|
+
/** @description Delta time-bucketed market analytics */
|
|
4718
4718
|
200: {
|
|
4719
4719
|
headers: {
|
|
4720
4720
|
[name: string]: unknown;
|
|
4721
4721
|
};
|
|
4722
4722
|
content: {
|
|
4723
|
-
"application/json": components["schemas"]["
|
|
4723
|
+
"application/json": components["schemas"]["TimeBucketRow"][];
|
|
4724
4724
|
};
|
|
4725
4725
|
};
|
|
4726
4726
|
};
|
|
@@ -5234,19 +5234,11 @@ export interface operations {
|
|
|
5234
5234
|
};
|
|
5235
5235
|
};
|
|
5236
5236
|
};
|
|
5237
|
-
|
|
5237
|
+
get_tag_analytics_changes: {
|
|
5238
5238
|
parameters: {
|
|
5239
|
-
query
|
|
5240
|
-
/** @description
|
|
5241
|
-
|
|
5242
|
-
/** @description Start timestamp (Unix seconds) */
|
|
5243
|
-
from?: number;
|
|
5244
|
-
/** @description End timestamp (Unix seconds) */
|
|
5245
|
-
to?: number;
|
|
5246
|
-
/** @description Max data points (default: 500, max: 2500) */
|
|
5247
|
-
count_back?: number;
|
|
5248
|
-
/** @description Cursor from previous response */
|
|
5249
|
-
pagination_key?: string;
|
|
5239
|
+
query: {
|
|
5240
|
+
/** @description Lookback window: 1h, 24h, 7d, 30d, 1mo, 1y */
|
|
5241
|
+
timeframe: components["schemas"]["ChangeTimeframe"];
|
|
5250
5242
|
};
|
|
5251
5243
|
header?: never;
|
|
5252
5244
|
path: {
|
|
@@ -5257,22 +5249,30 @@ export interface operations {
|
|
|
5257
5249
|
};
|
|
5258
5250
|
requestBody?: never;
|
|
5259
5251
|
responses: {
|
|
5260
|
-
/** @description
|
|
5252
|
+
/** @description Per-metric pct change */
|
|
5261
5253
|
200: {
|
|
5262
5254
|
headers: {
|
|
5263
5255
|
[name: string]: unknown;
|
|
5264
5256
|
};
|
|
5265
5257
|
content: {
|
|
5266
|
-
"application/json": components["schemas"]["
|
|
5258
|
+
"application/json": components["schemas"]["MetricPctChange"];
|
|
5267
5259
|
};
|
|
5268
5260
|
};
|
|
5269
5261
|
};
|
|
5270
5262
|
};
|
|
5271
|
-
|
|
5263
|
+
get_tag_analytics_deltas: {
|
|
5272
5264
|
parameters: {
|
|
5273
|
-
query
|
|
5274
|
-
/** @description
|
|
5275
|
-
|
|
5265
|
+
query?: {
|
|
5266
|
+
/** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D (default: 60) */
|
|
5267
|
+
resolution?: components["schemas"]["CandlestickResolution"];
|
|
5268
|
+
/** @description Start timestamp (Unix seconds) */
|
|
5269
|
+
from?: number;
|
|
5270
|
+
/** @description End timestamp (Unix seconds) */
|
|
5271
|
+
to?: number;
|
|
5272
|
+
/** @description Max data points (default: 500, max: 2500) */
|
|
5273
|
+
count_back?: number;
|
|
5274
|
+
/** @description Cursor from previous response */
|
|
5275
|
+
pagination_key?: string;
|
|
5276
5276
|
};
|
|
5277
5277
|
header?: never;
|
|
5278
5278
|
path: {
|
|
@@ -5283,13 +5283,13 @@ export interface operations {
|
|
|
5283
5283
|
};
|
|
5284
5284
|
requestBody?: never;
|
|
5285
5285
|
responses: {
|
|
5286
|
-
/** @description
|
|
5286
|
+
/** @description Delta time-bucketed tag analytics */
|
|
5287
5287
|
200: {
|
|
5288
5288
|
headers: {
|
|
5289
5289
|
[name: string]: unknown;
|
|
5290
5290
|
};
|
|
5291
5291
|
content: {
|
|
5292
|
-
"application/json": components["schemas"]["
|
|
5292
|
+
"application/json": components["schemas"]["TimeBucketRow"][];
|
|
5293
5293
|
};
|
|
5294
5294
|
};
|
|
5295
5295
|
};
|
|
@@ -5763,19 +5763,11 @@ export interface operations {
|
|
|
5763
5763
|
};
|
|
5764
5764
|
};
|
|
5765
5765
|
};
|
|
5766
|
-
|
|
5766
|
+
get_trader_analytics_changes: {
|
|
5767
5767
|
parameters: {
|
|
5768
|
-
query
|
|
5769
|
-
/** @description
|
|
5770
|
-
|
|
5771
|
-
/** @description Start timestamp (Unix seconds) */
|
|
5772
|
-
from?: number;
|
|
5773
|
-
/** @description End timestamp (Unix seconds) */
|
|
5774
|
-
to?: number;
|
|
5775
|
-
/** @description Max data points (default: 500, max: 2500) */
|
|
5776
|
-
count_back?: number;
|
|
5777
|
-
/** @description Cursor from previous response */
|
|
5778
|
-
pagination_key?: string;
|
|
5768
|
+
query: {
|
|
5769
|
+
/** @description Lookback window: 1h, 24h, 7d, 30d, 1mo, 1y */
|
|
5770
|
+
timeframe: components["schemas"]["ChangeTimeframe"];
|
|
5779
5771
|
};
|
|
5780
5772
|
header?: never;
|
|
5781
5773
|
path: {
|
|
@@ -5786,22 +5778,30 @@ export interface operations {
|
|
|
5786
5778
|
};
|
|
5787
5779
|
requestBody?: never;
|
|
5788
5780
|
responses: {
|
|
5789
|
-
/** @description
|
|
5781
|
+
/** @description Per-metric pct change */
|
|
5790
5782
|
200: {
|
|
5791
5783
|
headers: {
|
|
5792
5784
|
[name: string]: unknown;
|
|
5793
5785
|
};
|
|
5794
5786
|
content: {
|
|
5795
|
-
"application/json": components["schemas"]["
|
|
5787
|
+
"application/json": components["schemas"]["MetricPctChange"];
|
|
5796
5788
|
};
|
|
5797
5789
|
};
|
|
5798
5790
|
};
|
|
5799
5791
|
};
|
|
5800
|
-
|
|
5792
|
+
get_trader_analytics_deltas: {
|
|
5801
5793
|
parameters: {
|
|
5802
|
-
query
|
|
5803
|
-
/** @description
|
|
5804
|
-
|
|
5794
|
+
query?: {
|
|
5795
|
+
/** @description Bucket size: 1, 5, 15, 30, 60, 240, D, 1D (default: 60) */
|
|
5796
|
+
resolution?: components["schemas"]["CandlestickResolution"];
|
|
5797
|
+
/** @description Start timestamp (Unix seconds) */
|
|
5798
|
+
from?: number;
|
|
5799
|
+
/** @description End timestamp (Unix seconds) */
|
|
5800
|
+
to?: number;
|
|
5801
|
+
/** @description Max data points (default: 500, max: 2500) */
|
|
5802
|
+
count_back?: number;
|
|
5803
|
+
/** @description Cursor from previous response */
|
|
5804
|
+
pagination_key?: string;
|
|
5805
5805
|
};
|
|
5806
5806
|
header?: never;
|
|
5807
5807
|
path: {
|
|
@@ -5812,13 +5812,13 @@ export interface operations {
|
|
|
5812
5812
|
};
|
|
5813
5813
|
requestBody?: never;
|
|
5814
5814
|
responses: {
|
|
5815
|
-
/** @description
|
|
5815
|
+
/** @description Delta time-bucketed trader analytics */
|
|
5816
5816
|
200: {
|
|
5817
5817
|
headers: {
|
|
5818
5818
|
[name: string]: unknown;
|
|
5819
5819
|
};
|
|
5820
5820
|
content: {
|
|
5821
|
-
"application/json": components["schemas"]["
|
|
5821
|
+
"application/json": components["schemas"]["TimeBucketRow"][];
|
|
5822
5822
|
};
|
|
5823
5823
|
};
|
|
5824
5824
|
};
|