返回 Skill 列表
extension
分类: 开发与工程无需 API Key

coinstats-portfolio

CoinStats投资组合命令。在检查投资组合价值、持仓、图表、交易、同步状态或管理投资组合连接时使用。

person作者: jakexiaohubgithub

CoinStats Portfolio

Auth Setup

export COINSTATS_API_KEY=<key>
coinstats whoami

Portfolio Identification

  • Use --portfolio-id <id> to target a specific API-connected portfolio.
  • Use --sharetoken <token> to read a shared portfolio. Get the share token from the CoinStats portfolio page via Share.
  • Use --passcode <code> together with --sharetoken when the shared portfolio is protected.
  • For coinstats portfolio chart, if you omit both --portfolio-id and --sharetoken, CoinStats returns the aggregated chart for all API-connected portfolios.

Commands

coinstats portfolio value --portfolio-id <id>
coinstats portfolio value --sharetoken <token>
coinstats portfolio coins --sharetoken <token> --passcode <code>
coinstats portfolio chart --portfolio-id <id> --type 24h
coinstats portfolio chart --sharetoken <token> --type 24h
coinstats portfolio chart --type 24h
coinstats portfolio connect-wallet --body-file ./wallet.json --yes
coinstats portfolio add-transaction --body-file ./transaction.json --yes
coinstats portfolio sync --portfolio-id <id> --yes
coinstats portfolio delete --portfolio-id <id> --yes