Loading...
Loading...
Compare original and translation side by side
npx leapcat@latestnpx leapcat@latest auth login --email <email>npx leapcat@latestnpx leapcat@latest auth login --email <email>npx leapcat@latest trading place-order \
--symbol <symbol> \
--exchange <exchange> \
--side <BUY|SELL> \
--order-type <LIMIT|MARKET> \
--quantity <qty> \
[--price <price>] \
[--source <source>] \
[--stock-name <name>] \
[--idempotency-key <key>] \
--json--symbol <symbol>AAPL9988.HK--exchange <exchange>NASDAQHKEX--side <BUY|SELL>--order-type <LIMIT|MARKET>LIMITMARKET--quantity <qty>--price <price>--source <source>CLI--stock-name <name>--idempotency-key <key>npx leapcat@latest trading place-order \
--symbol <symbol> \
--exchange <exchange> \
--side <BUY|SELL> \
--order-type <LIMIT|MARKET> \
--quantity <qty> \
[--price <price>] \
[--source <source>] \
[--stock-name <name>] \
[--idempotency-key <key>] \
--json--symbol <symbol>AAPL9988.HK--exchange <exchange>NASDAQHKEX--side <BUY|SELL>--order-type <LIMIT|MARKET>LIMITMARKET--quantity <qty>--price <price>--source <source>CLI--stock-name <name>--idempotency-key <key>npx leapcat@latest trading list-orders [--status <status>] [--symbol <symbol>] --json--status <status>PENDINGFILLEDCANCELLED--symbol <symbol>npx leapcat@latest trading list-orders [--status <status>] [--symbol <symbol>] --json--status <status>PENDINGFILLEDCANCELLED--symbol <symbol>npx leapcat@latest trading get-order --order-id <id> --json--order-id <id>npx leapcat@latest trading get-order --order-id <id> --json--order-id <id>npx leapcat@latest trading cancel-order --order-id <id> --json--order-id <id>npx leapcat@latest trading cancel-order --order-id <id> --json--order-id <id>npx leapcat@latest market quote --symbol <symbol> --exchange <exchange> --jsontrading place-order--price--idempotency-keytrading get-order --order-id <id> --jsontrading list-orders --jsontrading cancel-order --order-id <id> --jsonnpx leapcat@latest market quote --symbol <symbol> --exchange <exchange> --jsontrading place-order--price--idempotency-keytrading get-order --order-id <id> --jsontrading list-orders --jsontrading cancel-order --order-id <id> --json| Error | Cause | Resolution |
|---|---|---|
| Session expired | Re-authenticate with |
| KYC verification incomplete | Complete the KYC flow first |
| Trade password required | Set via |
| Not enough funds for the buy order | Deposit funds via wallet |
| Unrecognized stock symbol | Verify symbol with |
| Market is not open for trading | Wait for market hours or place a limit order |
| Invalid order ID | Re-check with |
| Order already filled or cancelled | No further action possible |
| Idempotency key already used | Use a new idempotency key or check existing order |
| 错误码 | 原因 | 解决方案 |
|---|---|---|
| 会话过期 | 使用 |
| KYC验证未完成 | 先完成KYC认证流程 |
| 需要设置交易密码 | 通过 |
| 买入订单所需资金不足 | 通过钱包充值 |
| 无法识别的股票代码 | 使用 |
| 市场未开放交易 | 等待开盘后操作,或者提交限价单 |
| 订单ID无效 | 运行 |
| 订单已成交或已取消 | 无需进一步操作 |
| 幂等键已被使用 | 使用新的幂等键,或者查询已存在的订单 |