leapcat-ipo

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

LeapCat IPO Subscription Skill

LeapCat IPO 申购Skill

Browse, estimate, subscribe to, and manage IPO (Initial Public Offering) project subscriptions using the leapcat.
使用leapcat浏览、估算、订阅和管理IPO(首次公开募股)项目的申购。

Prerequisites

前置要求

  • Node.js 18+ is required (commands use
    npx leapcat@latest
    which auto-downloads the CLI)
  • User must be authenticated — run
    npx leapcat@latest auth login --email <email>
    first
  • KYC must be completed and approved (
    kyc status
    should return
    APPROVED
    )
  • Trade password must be set (
    auth trade-password status
    should confirm it is set)
  • 需要Node.js 18+版本(命令使用
    npx leapcat@latest
    会自动下载CLI)
  • 用户必须完成身份验证——请先运行
    npx leapcat@latest auth login --email <email>
  • 必须完成KYC并通过审核(
    kyc status
    返回结果应为
    APPROVED
  • 必须设置交易密码(
    auth trade-password status
    应确认已完成设置)

Commands

命令

ipo projects

ipo projects

List all available IPO projects.
bash
npx leapcat@latest ipo projects --json
列出所有可用的IPO项目。
bash
npx leapcat@latest ipo projects --json

ipo project

ipo project

Get detailed information about a specific IPO project.
bash
npx leapcat@latest ipo project --id <project-id> --json
Parameters:
  • --id <project-id>
    — The IPO project identifier
获取指定IPO项目的详细信息。
bash
npx leapcat@latest ipo project --id <project-id> --json
参数:
  • --id <project-id>
    — IPO项目标识符

ipo estimate

ipo estimate

Estimate the cost of subscribing to an IPO with a given quantity.
bash
npx leapcat@latest ipo estimate --id <project-id> --quantity <shares> --json
Parameters:
  • --id <project-id>
    — The IPO project identifier
  • --quantity <shares>
    — Number of shares to subscribe for
估算申购指定数量的IPO所需的成本。
bash
npx leapcat@latest ipo estimate --id <project-id> --quantity <shares> --json
参数:
  • --id <project-id>
    — IPO项目标识符
  • --quantity <shares>
    — 要申购的股份数量

ipo subscribe

ipo subscribe

Submit an IPO subscription order.
bash
npx leapcat@latest ipo subscribe --id <project-id> --quantity <shares> --json
Parameters:
  • --id <project-id>
    — The IPO project identifier
  • --quantity <shares>
    — Number of shares to subscribe for
提交IPO申购订单。
bash
npx leapcat@latest ipo subscribe --id <project-id> --quantity <shares> --json
参数:
  • --id <project-id>
    — IPO项目标识符
  • --quantity <shares>
    — 要申购的股份数量

ipo cancel

ipo cancel

Cancel a pending IPO subscription.
bash
npx leapcat@latest ipo cancel --subscription-id <id> --json
Parameters:
  • --subscription-id <id>
    — The subscription identifier to cancel
取消待处理的IPO申购。
bash
npx leapcat@latest ipo cancel --subscription-id <id> --json
参数:
  • --subscription-id <id>
    — 要取消的申购标识符

ipo subscriptions

ipo subscriptions

List all of the user's IPO subscriptions.
bash
npx leapcat@latest ipo subscriptions --json
列出用户所有的IPO申购记录。
bash
npx leapcat@latest ipo subscriptions --json

ipo subscription

ipo subscription

Get details of a specific IPO subscription.
bash
npx leapcat@latest ipo subscription --subscription-id <id> --json
Parameters:
  • --subscription-id <id>
    — The subscription identifier
获取指定IPO申购的详情。
bash
npx leapcat@latest ipo subscription --subscription-id <id> --json
参数:
  • --subscription-id <id>
    — 申购标识符

Workflow

使用流程

  1. List IPO projects — Run
    ipo projects --json
    to see all available IPOs.
  2. Get project details — Run
    ipo project --id <id> --json
    to review terms, pricing, and deadlines.
  3. Estimate cost — Run
    ipo estimate --id <id> --quantity <shares> --json
    to see the total cost before committing.
  4. Subscribe — Run
    ipo subscribe --id <id> --quantity <shares> --json
    to place the subscription. The user may be prompted for their trade password.
  5. Check subscription status — Run
    ipo subscription --subscription-id <id> --json
    or
    ipo subscriptions --json
    to monitor the result.
  6. Cancel if needed — Run
    ipo cancel --subscription-id <id> --json
    to cancel a pending subscription (only before the subscription deadline).
  1. 列出IPO项目 — 运行
    ipo projects --json
    查看所有可用的IPO。
  2. 获取项目详情 — 运行
    ipo project --id <id> --json
    查看条款、定价和截止日期。
  3. 估算成本 — 提交申购前运行
    ipo estimate --id <id> --quantity <shares> --json
    查看总费用。
  4. 提交申购 — 运行
    ipo subscribe --id <id> --quantity <shares> --json
    提交申购订单,可能会提示用户输入交易密码。
  5. 查看申购状态 — 运行
    ipo subscription --subscription-id <id> --json
    ipo subscriptions --json
    跟踪申购结果。
  6. 按需取消 — 运行
    ipo cancel --subscription-id <id> --json
    取消待处理的申购(仅可在申购截止日期前操作)。

Error Handling

错误处理

ErrorCauseResolution
NOT_AUTHENTICATED
Session expiredRe-authenticate with
auth login
KYC_NOT_APPROVED
KYC verification incompleteComplete the KYC flow first
TRADE_PASSWORD_NOT_SET
Trade password requiredSet trade password via
auth trade-password set
INSUFFICIENT_BALANCE
Not enough funds to cover subscriptionDeposit funds via
wallet deposit-address
PROJECT_NOT_FOUND
Invalid project IDRe-check with
ipo projects --json
SUBSCRIPTION_DEADLINE_PASSED
IPO subscription period has endedNo action possible — deadline has passed
CANCEL_NOT_ALLOWED
Subscription cannot be cancelled at this stageCheck subscription status for details
错误码原因解决方法
NOT_AUTHENTICATED
会话过期使用
auth login
重新认证
KYC_NOT_APPROVED
KYC验证未通过先完成KYC认证流程
TRADE_PASSWORD_NOT_SET
未设置交易密码通过
auth trade-password set
设置交易密码
INSUFFICIENT_BALANCE
余额不足,无法支付申购费用通过
wallet deposit-address
充值
PROJECT_NOT_FOUND
无效的项目ID通过
ipo projects --json
重新核对
SUBSCRIPTION_DEADLINE_PASSED
IPO申购期已结束已过截止日期,无法操作
CANCEL_NOT_ALLOWED
当前阶段无法取消申购查看申购状态了解详情