@pionex/pionex-ai-kit 0.2.40 → 0.2.41
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/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2044,14 +2044,14 @@ function registerBotTools() {
|
|
|
2044
2044
|
name: "pionex_bot_order_list",
|
|
2045
2045
|
module: "bot",
|
|
2046
2046
|
isWrite: false,
|
|
2047
|
-
description: "List bot orders with optional filters and pagination. status: 'running' (default) or '
|
|
2047
|
+
description: "List bot orders with optional filters and pagination. status: 'running' (default) or 'finished'. buOrderTypes: one or more of futures_grid, spot_grid, smart_copy. Endpoint: GET /api/v1/bot/orders",
|
|
2048
2048
|
inputSchema: {
|
|
2049
2049
|
type: "object",
|
|
2050
2050
|
additionalProperties: false,
|
|
2051
2051
|
properties: {
|
|
2052
2052
|
status: {
|
|
2053
2053
|
type: "string",
|
|
2054
|
-
enum: ["running", "
|
|
2054
|
+
enum: ["running", "finished"],
|
|
2055
2055
|
description: "Filter by order status. Default: 'running'."
|
|
2056
2056
|
},
|
|
2057
2057
|
base: { type: "string", description: "Base currency filter (e.g. BTC)." },
|
|
@@ -2574,7 +2574,7 @@ Examples:
|
|
|
2574
2574
|
pionex-trade-cli orders new --symbol BTC_USDT --side BUY --type MARKET --amount 10
|
|
2575
2575
|
pionex-trade-cli orders cancel --symbol BTC_USDT --order-id 123
|
|
2576
2576
|
pionex-trade-cli orders fills_by_order_id --symbol BTC_USDT --order-id 123
|
|
2577
|
-
pionex-trade-cli bot order_list [--status running|
|
|
2577
|
+
pionex-trade-cli bot order_list [--status running|finished] [--base BTC] [--quote USDT] [--page-token <token>] [--bu-order-types futures_grid,spot_grid,smart_copy]
|
|
2578
2578
|
pionex-trade-cli bot futures_grid get --bu-order-id <id>
|
|
2579
2579
|
pionex-trade-cli bot futures_grid create --base BTC --quote USDT --bu-order-data-json '{"top":"110000","bottom":"90000","row":100,"grid_type":"arithmetic","trend":"long","leverage":5,"quoteInvestment":"100"}'
|
|
2580
2580
|
pionex-trade-cli earn dual symbols --base BTC
|