@okx_ai/okx-trade-cli 1.1.8 → 1.1.9

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 CHANGED
@@ -2452,7 +2452,7 @@ function registerGridTools() {
2452
2452
  {
2453
2453
  name: "grid_create_order",
2454
2454
  module: "bot.grid",
2455
- description: "Create a new grid trading bot. [CAUTION] Executes real trades and locks funds. Supports Spot Grid ('grid') and Contract Grid ('contract_grid'). For spot grid, provide quoteSz (invest in quote currency) or baseSz (invest in base currency). For contract grids, provide direction, lever, and sz (number of contracts). Private endpoint. Rate limit: 20 req/2s per UID.",
2455
+ description: "Create a new grid trading bot. [CAUTION] Executes real trades and locks funds. Supports Spot Grid ('grid') and Contract Grid ('contract_grid'). For spot grid, provide quoteSz (invest in quote currency) or baseSz (invest in base currency). For contract grids, provide direction, lever, and sz (investment amount in margin currency, e.g. USDT for USDT-margined contracts). Private endpoint. Rate limit: 20 req/2s per UID.",
2456
2456
  isWrite: true,
2457
2457
  inputSchema: {
2458
2458
  type: "object",
@@ -2502,7 +2502,7 @@ function registerGridTools() {
2502
2502
  },
2503
2503
  sz: {
2504
2504
  type: "string",
2505
- description: "Contracts to invest. Required for contract_grid."
2505
+ description: "Investment amount in margin currency (e.g. USDT for USDT-margined contracts). Required for contract_grid."
2506
2506
  },
2507
2507
  basePos: {
2508
2508
  type: "boolean",
@@ -8387,7 +8387,7 @@ async function cmdDcaSubOrders(run, opts) {
8387
8387
  // src/index.ts
8388
8388
  var _require = createRequire(import.meta.url);
8389
8389
  var CLI_VERSION = _require("../package.json").version;
8390
- var GIT_HASH = true ? "53a7589" : "dev";
8390
+ var GIT_HASH = true ? "9eed480" : "dev";
8391
8391
  function handleConfigCommand(action, rest, json, lang, force) {
8392
8392
  if (action === "init") return cmdConfigInit(lang === "zh" ? "zh" : "en");
8393
8393
  if (action === "show") return cmdConfigShow(json);