hvip-mcp-server 0.2.6 → 0.2.7
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/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -21409,11 +21409,11 @@ function registerMarketTools(server) {
|
|
|
21409
21409
|
"\u83B7\u53D6\u4EA7\u54C1\u7684\u8BA2\u5355\u7C3F\u6DF1\u5EA6\uFF0C\u542B\u4E70\u5356\u53CC\u65B9\u6302\u5355\u4EF7\u683C\u548C\u6570\u91CF\u3002\u7528\u4E8E\u5206\u6790\u6D41\u52A8\u6027\u3001\u5224\u65AD\u652F\u6491/\u538B\u529B\u4F4D\u3002",
|
|
21410
21410
|
{
|
|
21411
21411
|
instId: external_exports.string().describe("\u4EA7\u54C1ID"),
|
|
21412
|
-
|
|
21412
|
+
depth: external_exports.number().int().min(1).max(400).optional().describe("\u6DF1\u5EA6\u6863\u4F4D\uFF0C\u9ED8\u8BA420\uFF0C\u6700\u5927400")
|
|
21413
21413
|
},
|
|
21414
|
-
async ({ instId,
|
|
21414
|
+
async ({ instId, depth }) => {
|
|
21415
21415
|
try {
|
|
21416
|
-
const data = await publicApi.getOrderbook(instId,
|
|
21416
|
+
const data = await publicApi.getOrderbook(instId, depth);
|
|
21417
21417
|
return toResult(data);
|
|
21418
21418
|
} catch (e) {
|
|
21419
21419
|
return toError(e);
|