@alphafox/cli 0.3.2 → 0.3.4
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/README.md +4 -3
- package/dist/auth/loopback-callback.js +6 -6
- package/dist/catalog/allowlist.d.ts +1 -1
- package/dist/catalog/allowlist.js +1 -1
- package/dist/catalog/generated/registry.json +338 -49
- package/dist/catalog/generated/schemas.json +1880 -779
- package/dist/catalog/omit.d.ts +6 -0
- package/dist/catalog/omit.js +11 -0
- package/dist/catalog/operations.d.ts +1 -1
- package/dist/catalog/operations.js +5 -2
- package/dist/commands/run.js +10 -3
- package/dist/engine-backtest/load-config.d.ts +4 -0
- package/dist/engine-backtest/load-config.js +44 -0
- package/dist/engine-backtest/parse-args.d.ts +3 -1
- package/dist/engine-backtest/parse-args.js +87 -3
- package/dist/engine-backtest/parse-axes.d.ts +3 -0
- package/dist/engine-backtest/parse-axes.js +167 -0
- package/dist/engine-backtest/persist.d.ts +60 -1
- package/dist/engine-backtest/persist.js +196 -1
- package/dist/engine-backtest/return-curve.d.ts +27 -0
- package/dist/engine-backtest/return-curve.js +80 -0
- package/dist/engine-backtest/run-command.d.ts +1 -4
- package/dist/engine-backtest/run-command.js +61 -45
- package/dist/engine-backtest/sweep-command.d.ts +13 -0
- package/dist/engine-backtest/sweep-command.js +749 -0
- package/dist/engine-backtest/sweep-kernel/caps.d.ts +26 -0
- package/dist/engine-backtest/sweep-kernel/caps.js +48 -0
- package/dist/engine-backtest/sweep-kernel/index.d.ts +13 -0
- package/dist/engine-backtest/sweep-kernel/index.js +34 -0
- package/dist/engine-backtest/sweep-kernel/plan.d.ts +22 -0
- package/dist/engine-backtest/sweep-kernel/plan.js +320 -0
- package/dist/engine-backtest/sweep-kernel/results.d.ts +72 -0
- package/dist/engine-backtest/sweep-kernel/results.js +150 -0
- package/dist/engine-backtest/sweep-kernel/session.d.ts +55 -0
- package/dist/engine-backtest/sweep-kernel/session.js +56 -0
- package/dist/engine-backtest/sweep-kernel/types.d.ts +36 -0
- package/dist/engine-backtest/sweep-kernel/types.js +2 -0
- package/dist/engine-backtest/types.d.ts +130 -0
- package/dist/install/exec.js +5 -1
- package/dist/install/wizard.js +26 -29
- package/dist/resolve-symbols/catalog.d.ts +3 -0
- package/dist/resolve-symbols/catalog.js +50 -0
- package/dist/resolve-symbols/errors.d.ts +18 -0
- package/dist/resolve-symbols/errors.js +26 -0
- package/dist/resolve-symbols/exchanges.d.ts +8 -0
- package/dist/resolve-symbols/exchanges.js +53 -0
- package/dist/resolve-symbols/match.d.ts +6 -0
- package/dist/resolve-symbols/match.js +250 -0
- package/dist/resolve-symbols/parse-args.d.ts +5 -0
- package/dist/resolve-symbols/parse-args.js +106 -0
- package/dist/resolve-symbols/run-command.d.ts +21 -0
- package/dist/resolve-symbols/run-command.js +149 -0
- package/dist/resolve-symbols/types.d.ts +37 -0
- package/dist/resolve-symbols/types.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/docs/alphafox-cli-installation-guide.md +2 -2
- package/package.json +1 -1
- package/skills/account/SKILL.md +1 -1
- package/skills/admin/SKILL.md +1 -1
- package/skills/alphafox/SKILL.md +38 -0
- package/skills/alphafox-shared/SKILL.md +5 -1
- package/skills/auth/SKILL.md +1 -1
- package/skills/engine-backtest/SKILL.md +48 -6
- package/skills/exchange/SKILL.md +1 -1
- package/skills/market/SKILL.md +27 -4
- package/skills/notification/SKILL.md +1 -1
- package/skills/strategy/SKILL.md +7 -20
- package/skills/trading/SKILL.md +3 -1
package/README.md
CHANGED
|
@@ -61,9 +61,10 @@ alphafox api GET /api/v1/me
|
|
|
61
61
|
|
|
62
62
|
## Skills
|
|
63
63
|
|
|
64
|
-
Co-versioned Agent Skills live under `skills/`.
|
|
65
|
-
`
|
|
66
|
-
|
|
64
|
+
Co-versioned Agent Skills live under `skills/`. The entry skill is
|
|
65
|
+
`skills/alphafox` (`name: alphafox`): it routes to domain skills. API-oriented
|
|
66
|
+
skills then use public `operationId`s; an explicit local-execution skill may
|
|
67
|
+
call its co-versioned built-in command.
|
|
67
68
|
|
|
68
69
|
`alphafox install` (and the [Agent install guide](docs/alphafox-cli-installation-guide.md))
|
|
69
70
|
run `npx skills add` so those files land in Agent skill directories
|
|
@@ -13,16 +13,16 @@ const node_crypto_1 = require("node:crypto");
|
|
|
13
13
|
const node_http_1 = __importDefault(require("node:http"));
|
|
14
14
|
exports.LOOPBACK_CALLBACK_PATH = "/callback";
|
|
15
15
|
const SUCCESS_HTML = `<!DOCTYPE html>
|
|
16
|
-
<html lang="
|
|
17
|
-
<body><p
|
|
16
|
+
<html lang="zh-CN"><head><meta charset="utf-8"><title>Alphafox CLI</title></head>
|
|
17
|
+
<body><p>已登录。可以关闭此窗口,回到终端继续。</p></body></html>
|
|
18
18
|
`;
|
|
19
19
|
const FAILURE_HTML = `<!DOCTYPE html>
|
|
20
|
-
<html lang="
|
|
21
|
-
<body><p
|
|
20
|
+
<html lang="zh-CN"><head><meta charset="utf-8"><title>Alphafox CLI</title></head>
|
|
21
|
+
<body><p>授权失败。可以关闭此窗口,回到终端查看原因。</p></body></html>
|
|
22
22
|
`;
|
|
23
23
|
const DUPLICATE_HTML = `<!DOCTYPE html>
|
|
24
|
-
<html lang="
|
|
25
|
-
<body><p
|
|
24
|
+
<html lang="zh-CN"><head><meta charset="utf-8"><title>Alphafox CLI</title></head>
|
|
25
|
+
<body><p>此登录回调已使用过。可以关闭此窗口。</p></body></html>
|
|
26
26
|
`;
|
|
27
27
|
async function startLoopbackCallbackServer(options) {
|
|
28
28
|
const callbackPath = options.path ?? exports.LOOPBACK_CALLBACK_PATH;
|
|
@@ -15,7 +15,7 @@ export declare const FACILITY_ALWAYS_ALLOW: readonly ["/api/v1/meta", "/api/v1/o
|
|
|
15
15
|
*/
|
|
16
16
|
export declare function normalizeApiPath(path: string): string;
|
|
17
17
|
export declare function isInternalDisallowedPath(path: string): boolean;
|
|
18
|
-
/** Match OpenAPI-style templates: /api/v1/
|
|
18
|
+
/** Match OpenAPI-style templates: /api/v1/engine-backtest/experiments/{experimentId}. */
|
|
19
19
|
export declare function pathTemplateMatches(template: string, actual: string, catchAll?: boolean): boolean;
|
|
20
20
|
/**
|
|
21
21
|
* Finite allow set: infra catalog paths + generated operation facade paths.
|
|
@@ -91,7 +91,7 @@ function isInternalDisallowedPath(path) {
|
|
|
91
91
|
const n = normalizeApiPath(path);
|
|
92
92
|
return INTERNAL_PREFIXES.some((p) => n === p || n.startsWith(`${p}/`) || n.includes(`${p}/`));
|
|
93
93
|
}
|
|
94
|
-
/** Match OpenAPI-style templates: /api/v1/
|
|
94
|
+
/** Match OpenAPI-style templates: /api/v1/engine-backtest/experiments/{experimentId}. */
|
|
95
95
|
function pathTemplateMatches(template, actual, catchAll = false) {
|
|
96
96
|
const t = normalizeApiPath(template).split("/").filter(Boolean);
|
|
97
97
|
const a = normalizeApiPath(actual).split("/").filter(Boolean);
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"source": {
|
|
3
3
|
"package": "@alphafoxai/contracts",
|
|
4
4
|
"export": "public-api",
|
|
5
|
-
"contractsSha": "
|
|
5
|
+
"contractsSha": "2f131368f17e7eb0df5d75b2c0bf960e2223a50d",
|
|
6
6
|
"registryVersion": "1.1.0",
|
|
7
7
|
"contractVersion": "2026-08-13",
|
|
8
8
|
"scannedAt": "2026-08-13",
|
|
9
|
-
"totalOperations":
|
|
10
|
-
"cliOperations":
|
|
9
|
+
"totalOperations": 283,
|
|
10
|
+
"cliOperations": 264
|
|
11
11
|
},
|
|
12
12
|
"compatibility": {
|
|
13
13
|
"contractVersion": "2026-08-13",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"mvp": true,
|
|
109
109
|
"catchAll": false,
|
|
110
110
|
"contractStatus": "shared",
|
|
111
|
-
"requestBodySchema": "
|
|
111
|
+
"requestBodySchema": "backtestUserBacktestInputSchema",
|
|
112
112
|
"querySchema": null,
|
|
113
113
|
"responseSchema": "backtestStartResponseSchema",
|
|
114
114
|
"errorSchema": "ProblemDetails"
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
"stream": false,
|
|
129
129
|
"file": false,
|
|
130
130
|
"pagination": false,
|
|
131
|
-
"idempotent":
|
|
131
|
+
"idempotent": false,
|
|
132
132
|
"mvp": true,
|
|
133
133
|
"catchAll": false,
|
|
134
134
|
"contractStatus": "shared",
|
|
@@ -892,6 +892,30 @@
|
|
|
892
892
|
"responseSchema": "JsonValue",
|
|
893
893
|
"errorSchema": "ProblemDetails"
|
|
894
894
|
},
|
|
895
|
+
{
|
|
896
|
+
"operationId": "admin.lite_builder_fee.list",
|
|
897
|
+
"method": "GET",
|
|
898
|
+
"path": "/api/v1/admin/lite-builder-fee",
|
|
899
|
+
"role": "admin",
|
|
900
|
+
"risk": "read",
|
|
901
|
+
"auth": "bearer",
|
|
902
|
+
"scopes": [
|
|
903
|
+
"openid",
|
|
904
|
+
"profile",
|
|
905
|
+
"admin:read"
|
|
906
|
+
],
|
|
907
|
+
"stream": false,
|
|
908
|
+
"file": false,
|
|
909
|
+
"pagination": true,
|
|
910
|
+
"idempotent": true,
|
|
911
|
+
"mvp": false,
|
|
912
|
+
"catchAll": false,
|
|
913
|
+
"contractStatus": "envelope",
|
|
914
|
+
"requestBodySchema": null,
|
|
915
|
+
"querySchema": "JsonObject",
|
|
916
|
+
"responseSchema": "JsonValue",
|
|
917
|
+
"errorSchema": "ProblemDetails"
|
|
918
|
+
},
|
|
895
919
|
{
|
|
896
920
|
"operationId": "admin.lite_catalog.list",
|
|
897
921
|
"method": "GET",
|
|
@@ -1137,30 +1161,6 @@
|
|
|
1137
1161
|
"responseSchema": "JsonValue",
|
|
1138
1162
|
"errorSchema": "ProblemDetails"
|
|
1139
1163
|
},
|
|
1140
|
-
{
|
|
1141
|
-
"operationId": "admin.running_strategy_categories.list",
|
|
1142
|
-
"method": "GET",
|
|
1143
|
-
"path": "/api/v1/admin/running-strategy-categories",
|
|
1144
|
-
"role": "admin",
|
|
1145
|
-
"risk": "read",
|
|
1146
|
-
"auth": "bearer",
|
|
1147
|
-
"scopes": [
|
|
1148
|
-
"openid",
|
|
1149
|
-
"profile",
|
|
1150
|
-
"admin:read"
|
|
1151
|
-
],
|
|
1152
|
-
"stream": false,
|
|
1153
|
-
"file": false,
|
|
1154
|
-
"pagination": true,
|
|
1155
|
-
"idempotent": true,
|
|
1156
|
-
"mvp": false,
|
|
1157
|
-
"catchAll": false,
|
|
1158
|
-
"contractStatus": "web-zod",
|
|
1159
|
-
"requestBodySchema": null,
|
|
1160
|
-
"querySchema": "JsonObject",
|
|
1161
|
-
"responseSchema": "JsonValue",
|
|
1162
|
-
"errorSchema": "ProblemDetails"
|
|
1163
|
-
},
|
|
1164
1164
|
{
|
|
1165
1165
|
"operationId": "admin.signal_center.proxy.create",
|
|
1166
1166
|
"method": "POST",
|
|
@@ -1579,6 +1579,30 @@
|
|
|
1579
1579
|
"responseSchema": "JsonValue",
|
|
1580
1580
|
"errorSchema": "ProblemDetails"
|
|
1581
1581
|
},
|
|
1582
|
+
{
|
|
1583
|
+
"operationId": "admin.trader_analytics.list",
|
|
1584
|
+
"method": "GET",
|
|
1585
|
+
"path": "/api/v1/admin/trader-analytics",
|
|
1586
|
+
"role": "admin",
|
|
1587
|
+
"risk": "read",
|
|
1588
|
+
"auth": "bearer",
|
|
1589
|
+
"scopes": [
|
|
1590
|
+
"openid",
|
|
1591
|
+
"profile",
|
|
1592
|
+
"admin:read"
|
|
1593
|
+
],
|
|
1594
|
+
"stream": false,
|
|
1595
|
+
"file": false,
|
|
1596
|
+
"pagination": true,
|
|
1597
|
+
"idempotent": true,
|
|
1598
|
+
"mvp": false,
|
|
1599
|
+
"catchAll": false,
|
|
1600
|
+
"contractStatus": "web-zod",
|
|
1601
|
+
"requestBodySchema": null,
|
|
1602
|
+
"querySchema": "JsonObject",
|
|
1603
|
+
"responseSchema": "JsonValue",
|
|
1604
|
+
"errorSchema": "ProblemDetails"
|
|
1605
|
+
},
|
|
1582
1606
|
{
|
|
1583
1607
|
"operationId": "admin.traders.byId.account_snapshots.import",
|
|
1584
1608
|
"method": "POST",
|
|
@@ -3156,6 +3180,103 @@
|
|
|
3156
3180
|
"responseSchema": "JsonValue",
|
|
3157
3181
|
"errorSchema": "ProblemDetails"
|
|
3158
3182
|
},
|
|
3183
|
+
{
|
|
3184
|
+
"operationId": "engine_backtest.experiments.byId.sweeps.byId.delete",
|
|
3185
|
+
"method": "DELETE",
|
|
3186
|
+
"path": "/api/v1/engine-backtest/experiments/{experimentId}/sweeps/{sweepId}",
|
|
3187
|
+
"role": "user",
|
|
3188
|
+
"risk": "high-risk-write",
|
|
3189
|
+
"auth": "bearer",
|
|
3190
|
+
"scopes": [
|
|
3191
|
+
"openid",
|
|
3192
|
+
"profile",
|
|
3193
|
+
"engine-backtest:write",
|
|
3194
|
+
"engine-backtest:high-risk"
|
|
3195
|
+
],
|
|
3196
|
+
"stream": false,
|
|
3197
|
+
"file": false,
|
|
3198
|
+
"pagination": false,
|
|
3199
|
+
"idempotent": true,
|
|
3200
|
+
"mvp": false,
|
|
3201
|
+
"catchAll": false,
|
|
3202
|
+
"contractStatus": "web-zod",
|
|
3203
|
+
"requestBodySchema": null,
|
|
3204
|
+
"querySchema": null,
|
|
3205
|
+
"responseSchema": "JsonValue",
|
|
3206
|
+
"errorSchema": "ProblemDetails"
|
|
3207
|
+
},
|
|
3208
|
+
{
|
|
3209
|
+
"operationId": "engine_backtest.experiments.byId.sweeps.byId.get",
|
|
3210
|
+
"method": "GET",
|
|
3211
|
+
"path": "/api/v1/engine-backtest/experiments/{experimentId}/sweeps/{sweepId}",
|
|
3212
|
+
"role": "user",
|
|
3213
|
+
"risk": "read",
|
|
3214
|
+
"auth": "bearer",
|
|
3215
|
+
"scopes": [
|
|
3216
|
+
"openid",
|
|
3217
|
+
"profile",
|
|
3218
|
+
"engine-backtest:read"
|
|
3219
|
+
],
|
|
3220
|
+
"stream": false,
|
|
3221
|
+
"file": false,
|
|
3222
|
+
"pagination": false,
|
|
3223
|
+
"idempotent": true,
|
|
3224
|
+
"mvp": false,
|
|
3225
|
+
"catchAll": false,
|
|
3226
|
+
"contractStatus": "web-zod",
|
|
3227
|
+
"requestBodySchema": null,
|
|
3228
|
+
"querySchema": "JsonObject",
|
|
3229
|
+
"responseSchema": "JsonValue",
|
|
3230
|
+
"errorSchema": "ProblemDetails"
|
|
3231
|
+
},
|
|
3232
|
+
{
|
|
3233
|
+
"operationId": "engine_backtest.experiments.byId.sweeps.create",
|
|
3234
|
+
"method": "POST",
|
|
3235
|
+
"path": "/api/v1/engine-backtest/experiments/{experimentId}/sweeps",
|
|
3236
|
+
"role": "user",
|
|
3237
|
+
"risk": "write",
|
|
3238
|
+
"auth": "bearer",
|
|
3239
|
+
"scopes": [
|
|
3240
|
+
"openid",
|
|
3241
|
+
"profile",
|
|
3242
|
+
"engine-backtest:write"
|
|
3243
|
+
],
|
|
3244
|
+
"stream": false,
|
|
3245
|
+
"file": false,
|
|
3246
|
+
"pagination": false,
|
|
3247
|
+
"idempotent": false,
|
|
3248
|
+
"mvp": false,
|
|
3249
|
+
"catchAll": false,
|
|
3250
|
+
"contractStatus": "web-zod",
|
|
3251
|
+
"requestBodySchema": "JsonObject",
|
|
3252
|
+
"querySchema": null,
|
|
3253
|
+
"responseSchema": "JsonValue",
|
|
3254
|
+
"errorSchema": "ProblemDetails"
|
|
3255
|
+
},
|
|
3256
|
+
{
|
|
3257
|
+
"operationId": "engine_backtest.experiments.byId.sweeps.list",
|
|
3258
|
+
"method": "GET",
|
|
3259
|
+
"path": "/api/v1/engine-backtest/experiments/{experimentId}/sweeps",
|
|
3260
|
+
"role": "user",
|
|
3261
|
+
"risk": "read",
|
|
3262
|
+
"auth": "bearer",
|
|
3263
|
+
"scopes": [
|
|
3264
|
+
"openid",
|
|
3265
|
+
"profile",
|
|
3266
|
+
"engine-backtest:read"
|
|
3267
|
+
],
|
|
3268
|
+
"stream": false,
|
|
3269
|
+
"file": false,
|
|
3270
|
+
"pagination": true,
|
|
3271
|
+
"idempotent": true,
|
|
3272
|
+
"mvp": false,
|
|
3273
|
+
"catchAll": false,
|
|
3274
|
+
"contractStatus": "web-zod",
|
|
3275
|
+
"requestBodySchema": null,
|
|
3276
|
+
"querySchema": "JsonObject",
|
|
3277
|
+
"responseSchema": "JsonValue",
|
|
3278
|
+
"errorSchema": "ProblemDetails"
|
|
3279
|
+
},
|
|
3159
3280
|
{
|
|
3160
3281
|
"operationId": "engine_backtest.experiments.byId.update",
|
|
3161
3282
|
"method": "PATCH",
|
|
@@ -3523,6 +3644,54 @@
|
|
|
3523
3644
|
"responseSchema": "suggestedWhitelistIpResponseSchema",
|
|
3524
3645
|
"errorSchema": "ProblemDetails"
|
|
3525
3646
|
},
|
|
3647
|
+
{
|
|
3648
|
+
"operationId": "feedback.board.list",
|
|
3649
|
+
"method": "GET",
|
|
3650
|
+
"path": "/api/v1/feedback/board",
|
|
3651
|
+
"role": "user",
|
|
3652
|
+
"risk": "read",
|
|
3653
|
+
"auth": "bearer",
|
|
3654
|
+
"scopes": [
|
|
3655
|
+
"openid",
|
|
3656
|
+
"profile",
|
|
3657
|
+
"feedback:read"
|
|
3658
|
+
],
|
|
3659
|
+
"stream": false,
|
|
3660
|
+
"file": false,
|
|
3661
|
+
"pagination": true,
|
|
3662
|
+
"idempotent": true,
|
|
3663
|
+
"mvp": false,
|
|
3664
|
+
"catchAll": false,
|
|
3665
|
+
"contractStatus": "envelope",
|
|
3666
|
+
"requestBodySchema": null,
|
|
3667
|
+
"querySchema": "JsonObject",
|
|
3668
|
+
"responseSchema": "JsonValue",
|
|
3669
|
+
"errorSchema": "ProblemDetails"
|
|
3670
|
+
},
|
|
3671
|
+
{
|
|
3672
|
+
"operationId": "feedback.create",
|
|
3673
|
+
"method": "POST",
|
|
3674
|
+
"path": "/api/v1/feedback",
|
|
3675
|
+
"role": "user",
|
|
3676
|
+
"risk": "write",
|
|
3677
|
+
"auth": "bearer",
|
|
3678
|
+
"scopes": [
|
|
3679
|
+
"openid",
|
|
3680
|
+
"profile",
|
|
3681
|
+
"feedback:write"
|
|
3682
|
+
],
|
|
3683
|
+
"stream": false,
|
|
3684
|
+
"file": false,
|
|
3685
|
+
"pagination": false,
|
|
3686
|
+
"idempotent": false,
|
|
3687
|
+
"mvp": false,
|
|
3688
|
+
"catchAll": false,
|
|
3689
|
+
"contractStatus": "envelope",
|
|
3690
|
+
"requestBodySchema": "JsonObject",
|
|
3691
|
+
"querySchema": null,
|
|
3692
|
+
"responseSchema": "JsonValue",
|
|
3693
|
+
"errorSchema": "ProblemDetails"
|
|
3694
|
+
},
|
|
3526
3695
|
{
|
|
3527
3696
|
"operationId": "lite.catalog_config.get",
|
|
3528
3697
|
"method": "GET",
|
|
@@ -3863,33 +4032,33 @@
|
|
|
3863
4032
|
"errorSchema": "ProblemDetails"
|
|
3864
4033
|
},
|
|
3865
4034
|
{
|
|
3866
|
-
"operationId": "market.
|
|
3867
|
-
"method": "
|
|
3868
|
-
"path": "/api/v1/market/
|
|
4035
|
+
"operationId": "market.symbols.list",
|
|
4036
|
+
"method": "GET",
|
|
4037
|
+
"path": "/api/v1/market/symbols",
|
|
3869
4038
|
"role": "user",
|
|
3870
|
-
"risk": "
|
|
4039
|
+
"risk": "read",
|
|
3871
4040
|
"auth": "bearer",
|
|
3872
4041
|
"scopes": [
|
|
3873
4042
|
"openid",
|
|
3874
4043
|
"profile",
|
|
3875
|
-
"market:
|
|
4044
|
+
"market:read"
|
|
3876
4045
|
],
|
|
3877
4046
|
"stream": false,
|
|
3878
4047
|
"file": false,
|
|
3879
|
-
"pagination":
|
|
3880
|
-
"idempotent":
|
|
4048
|
+
"pagination": true,
|
|
4049
|
+
"idempotent": true,
|
|
3881
4050
|
"mvp": false,
|
|
3882
4051
|
"catchAll": false,
|
|
3883
|
-
"contractStatus": "
|
|
3884
|
-
"requestBodySchema":
|
|
3885
|
-
"querySchema":
|
|
4052
|
+
"contractStatus": "envelope",
|
|
4053
|
+
"requestBodySchema": null,
|
|
4054
|
+
"querySchema": "JsonObject",
|
|
3886
4055
|
"responseSchema": "JsonValue",
|
|
3887
4056
|
"errorSchema": "ProblemDetails"
|
|
3888
4057
|
},
|
|
3889
4058
|
{
|
|
3890
|
-
"operationId": "market.
|
|
4059
|
+
"operationId": "market.ticker.list",
|
|
3891
4060
|
"method": "GET",
|
|
3892
|
-
"path": "/api/v1/market/
|
|
4061
|
+
"path": "/api/v1/market/ticker",
|
|
3893
4062
|
"role": "user",
|
|
3894
4063
|
"risk": "read",
|
|
3895
4064
|
"auth": "bearer",
|
|
@@ -3911,9 +4080,9 @@
|
|
|
3911
4080
|
"errorSchema": "ProblemDetails"
|
|
3912
4081
|
},
|
|
3913
4082
|
{
|
|
3914
|
-
"operationId": "market.
|
|
4083
|
+
"operationId": "market.token_icons.list",
|
|
3915
4084
|
"method": "GET",
|
|
3916
|
-
"path": "/api/v1/market/
|
|
4085
|
+
"path": "/api/v1/market/token-icons",
|
|
3917
4086
|
"role": "user",
|
|
3918
4087
|
"risk": "read",
|
|
3919
4088
|
"auth": "bearer",
|
|
@@ -3935,9 +4104,9 @@
|
|
|
3935
4104
|
"errorSchema": "ProblemDetails"
|
|
3936
4105
|
},
|
|
3937
4106
|
{
|
|
3938
|
-
"operationId": "market.
|
|
4107
|
+
"operationId": "market.top_signals.list",
|
|
3939
4108
|
"method": "GET",
|
|
3940
|
-
"path": "/api/v1/market/
|
|
4109
|
+
"path": "/api/v1/market/top-signals",
|
|
3941
4110
|
"role": "user",
|
|
3942
4111
|
"risk": "read",
|
|
3943
4112
|
"auth": "bearer",
|
|
@@ -3952,6 +4121,30 @@
|
|
|
3952
4121
|
"idempotent": true,
|
|
3953
4122
|
"mvp": false,
|
|
3954
4123
|
"catchAll": false,
|
|
4124
|
+
"contractStatus": "web-zod",
|
|
4125
|
+
"requestBodySchema": null,
|
|
4126
|
+
"querySchema": "JsonObject",
|
|
4127
|
+
"responseSchema": "JsonValue",
|
|
4128
|
+
"errorSchema": "ProblemDetails"
|
|
4129
|
+
},
|
|
4130
|
+
{
|
|
4131
|
+
"operationId": "news.featured.list",
|
|
4132
|
+
"method": "GET",
|
|
4133
|
+
"path": "/api/v1/news/featured",
|
|
4134
|
+
"role": "user",
|
|
4135
|
+
"risk": "read",
|
|
4136
|
+
"auth": "bearer",
|
|
4137
|
+
"scopes": [
|
|
4138
|
+
"openid",
|
|
4139
|
+
"profile",
|
|
4140
|
+
"news:read"
|
|
4141
|
+
],
|
|
4142
|
+
"stream": false,
|
|
4143
|
+
"file": false,
|
|
4144
|
+
"pagination": true,
|
|
4145
|
+
"idempotent": true,
|
|
4146
|
+
"mvp": false,
|
|
4147
|
+
"catchAll": false,
|
|
3955
4148
|
"contractStatus": "envelope",
|
|
3956
4149
|
"requestBodySchema": null,
|
|
3957
4150
|
"querySchema": "JsonObject",
|
|
@@ -3959,16 +4152,16 @@
|
|
|
3959
4152
|
"errorSchema": "ProblemDetails"
|
|
3960
4153
|
},
|
|
3961
4154
|
{
|
|
3962
|
-
"operationId": "
|
|
4155
|
+
"operationId": "news.heat.list",
|
|
3963
4156
|
"method": "GET",
|
|
3964
|
-
"path": "/api/v1/
|
|
4157
|
+
"path": "/api/v1/news/heat",
|
|
3965
4158
|
"role": "user",
|
|
3966
4159
|
"risk": "read",
|
|
3967
4160
|
"auth": "bearer",
|
|
3968
4161
|
"scopes": [
|
|
3969
4162
|
"openid",
|
|
3970
4163
|
"profile",
|
|
3971
|
-
"
|
|
4164
|
+
"news:read"
|
|
3972
4165
|
],
|
|
3973
4166
|
"stream": false,
|
|
3974
4167
|
"file": false,
|
|
@@ -3976,7 +4169,103 @@
|
|
|
3976
4169
|
"idempotent": true,
|
|
3977
4170
|
"mvp": false,
|
|
3978
4171
|
"catchAll": false,
|
|
3979
|
-
"contractStatus": "
|
|
4172
|
+
"contractStatus": "envelope",
|
|
4173
|
+
"requestBodySchema": null,
|
|
4174
|
+
"querySchema": "JsonObject",
|
|
4175
|
+
"responseSchema": "JsonValue",
|
|
4176
|
+
"errorSchema": "ProblemDetails"
|
|
4177
|
+
},
|
|
4178
|
+
{
|
|
4179
|
+
"operationId": "news.items.byId.get",
|
|
4180
|
+
"method": "GET",
|
|
4181
|
+
"path": "/api/v1/news/items/{id}",
|
|
4182
|
+
"role": "user",
|
|
4183
|
+
"risk": "read",
|
|
4184
|
+
"auth": "bearer",
|
|
4185
|
+
"scopes": [
|
|
4186
|
+
"openid",
|
|
4187
|
+
"profile",
|
|
4188
|
+
"news:read"
|
|
4189
|
+
],
|
|
4190
|
+
"stream": false,
|
|
4191
|
+
"file": false,
|
|
4192
|
+
"pagination": false,
|
|
4193
|
+
"idempotent": true,
|
|
4194
|
+
"mvp": false,
|
|
4195
|
+
"catchAll": false,
|
|
4196
|
+
"contractStatus": "envelope",
|
|
4197
|
+
"requestBodySchema": null,
|
|
4198
|
+
"querySchema": "JsonObject",
|
|
4199
|
+
"responseSchema": "JsonValue",
|
|
4200
|
+
"errorSchema": "ProblemDetails"
|
|
4201
|
+
},
|
|
4202
|
+
{
|
|
4203
|
+
"operationId": "news.latest.list",
|
|
4204
|
+
"method": "GET",
|
|
4205
|
+
"path": "/api/v1/news/latest",
|
|
4206
|
+
"role": "user",
|
|
4207
|
+
"risk": "read",
|
|
4208
|
+
"auth": "bearer",
|
|
4209
|
+
"scopes": [
|
|
4210
|
+
"openid",
|
|
4211
|
+
"profile",
|
|
4212
|
+
"news:read"
|
|
4213
|
+
],
|
|
4214
|
+
"stream": false,
|
|
4215
|
+
"file": false,
|
|
4216
|
+
"pagination": true,
|
|
4217
|
+
"idempotent": true,
|
|
4218
|
+
"mvp": false,
|
|
4219
|
+
"catchAll": false,
|
|
4220
|
+
"contractStatus": "envelope",
|
|
4221
|
+
"requestBodySchema": null,
|
|
4222
|
+
"querySchema": "JsonObject",
|
|
4223
|
+
"responseSchema": "JsonValue",
|
|
4224
|
+
"errorSchema": "ProblemDetails"
|
|
4225
|
+
},
|
|
4226
|
+
{
|
|
4227
|
+
"operationId": "news.status",
|
|
4228
|
+
"method": "GET",
|
|
4229
|
+
"path": "/api/v1/news/status",
|
|
4230
|
+
"role": "user",
|
|
4231
|
+
"risk": "read",
|
|
4232
|
+
"auth": "bearer",
|
|
4233
|
+
"scopes": [
|
|
4234
|
+
"openid",
|
|
4235
|
+
"profile",
|
|
4236
|
+
"news:read"
|
|
4237
|
+
],
|
|
4238
|
+
"stream": false,
|
|
4239
|
+
"file": false,
|
|
4240
|
+
"pagination": false,
|
|
4241
|
+
"idempotent": true,
|
|
4242
|
+
"mvp": false,
|
|
4243
|
+
"catchAll": false,
|
|
4244
|
+
"contractStatus": "envelope",
|
|
4245
|
+
"requestBodySchema": null,
|
|
4246
|
+
"querySchema": "JsonObject",
|
|
4247
|
+
"responseSchema": "JsonValue",
|
|
4248
|
+
"errorSchema": "ProblemDetails"
|
|
4249
|
+
},
|
|
4250
|
+
{
|
|
4251
|
+
"operationId": "news.watchlist.list",
|
|
4252
|
+
"method": "GET",
|
|
4253
|
+
"path": "/api/v1/news/watchlist",
|
|
4254
|
+
"role": "user",
|
|
4255
|
+
"risk": "read",
|
|
4256
|
+
"auth": "bearer",
|
|
4257
|
+
"scopes": [
|
|
4258
|
+
"openid",
|
|
4259
|
+
"profile",
|
|
4260
|
+
"news:read"
|
|
4261
|
+
],
|
|
4262
|
+
"stream": false,
|
|
4263
|
+
"file": false,
|
|
4264
|
+
"pagination": true,
|
|
4265
|
+
"idempotent": true,
|
|
4266
|
+
"mvp": false,
|
|
4267
|
+
"catchAll": false,
|
|
4268
|
+
"contractStatus": "envelope",
|
|
3980
4269
|
"requestBodySchema": null,
|
|
3981
4270
|
"querySchema": "JsonObject",
|
|
3982
4271
|
"responseSchema": "JsonValue",
|