@pionex/pionex-ai-kit 0.2.50 → 0.2.51

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 CHANGED
@@ -14,7 +14,7 @@ npm install -g @pionex/pionex-ai-kit
14
14
  - **pionex-ai-kit setup** — Register MCP servers for supported clients.
15
15
  - **pionex-ai-kit help** — Show help.
16
16
  - **pionex-trade-cli market ...** — Public market data commands.
17
- - **pionex-trade-cli account ...** — Account balance command.
17
+ - **pionex-trade-cli account ...** — Account balance commands (`balance`, `balance_full`).
18
18
  - **pionex-trade-cli orders ...** — Spot order lifecycle commands.
19
19
  - **pionex-trade-cli bot futures_grid ...** — Futures grid bot lifecycle commands (`get/create/adjust_params/reduce/cancel`).
20
20
  - **pionex-trade-cli bot spot_grid ...** — Spot grid bot lifecycle commands (`get/get_ai_strategy/create/adjust_params/invest_in/cancel/profit`).
@@ -1319,6 +1319,23 @@ function registerAccountTools() {
1319
1319
  async handler(_args, { client }) {
1320
1320
  return (await client.signedGet("/api/v1/account/balances")).data;
1321
1321
  }
1322
+ },
1323
+ {
1324
+ name: "pionex_account_get_balance_full",
1325
+ module: "account",
1326
+ isWrite: false,
1327
+ description: "Query full account balance overview including spot (Bot Account) and futures (Trader Account), with per-coin price info and total USDT/BTC valuations. Requires authentication.",
1328
+ inputSchema: {
1329
+ type: "object",
1330
+ additionalProperties: false,
1331
+ properties: {
1332
+ appLang: { type: "string", description: "App language, e.g. 'en' or 'zh' (takes priority over sysLang)" },
1333
+ sysLang: { type: "string", description: "System language fallback when appLang is not set" }
1334
+ }
1335
+ },
1336
+ async handler(args, { client }) {
1337
+ return (await client.signedGet("/api/v1/wallet/balancesFull", args)).data;
1338
+ }
1322
1339
  }
1323
1340
  ];
1324
1341
  }
@@ -3105,4 +3122,4 @@ smol-toml/dist/index.js:
3105
3122
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3106
3123
  *)
3107
3124
  */
3108
- //# sourceMappingURL=chunk-NGPWUQ2A.js.map
3125
+ //# sourceMappingURL=chunk-O45XCZNU.js.map