Manages Pionex Earn Arbitrage (InstFund) products: fetching available products, querying balances, staking, and unstaking via CLI.
Ships in pionex-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Arbitrage (InstFund) products on Pionex: browse products, query user balances, stake into a product, and unstake from a product via pionex-trade-cli. Read operations require Enable reading permission; write operations require Earn permission.
Invite Only: The Earn Arbitrage API is currently invite-only and only available to onboarded institutional users. Contact your BD representative or [email protected] to request access.
npm install -g @pionex/pionex-ai-kit
pionex-ai-kit onboard
Ensure your API key has the required permissions:
fetchProducts, fetchUserBalancesstake, unStake| # | Method | Path | Permission | Description |
|---|---|---|---|---|
| 1 | GET | /api/v1/earn/arbitrage/fetchProducts | Enable reading | List available arbitrage products |
| 2 | GET | /api/v1/earn/arbitrage/fetchUserBalances | Enable reading | Query user arbitrage balances |
| 3 | POST | /api/v1/earn/arbitrage/stake | Earn | Stake (invest) into an arbitrage product |
| 4 | POST | /api/v1/earn/arbitrage/unStake | Earn | Unstake (withdraw) from an arbitrage product |
| # | Command | Flags | Type |
|---|---|---|---|
| 1 | pionex-trade-cli earn arbitrage fetchProducts | [--coin <currency>] [--visibility <v>] | READ |
| 2 | pionex-trade-cli earn arbitrage fetchUserBalances | [--business-type <n>] | READ |
| # | Command | Flags | Type |
|---|---|---|---|
| 3 | pionex-trade-cli earn arbitrage stake | --amount <n> --coin <c> --product-id <id> [--unique-id <id>] | WRITE |
| 4 | pionex-trade-cli earn arbitrage unStake | --amount <n> --coin <c> --product-id <id> [--unique-id <id>] [--unstake-id <id>] | WRITE |
stake and unStake, always run with --dry-run, show output to user, then confirm before running without it.--product-id — Must come from the API (fetchProducts), never assumed.--unique-id — Propose one and get user confirmation. It acts as an idempotency key.fetchUserBalances to verify the position exists before calling unStake.# List all available arbitrage products
pionex-trade-cli earn arbitrage fetchProducts
# Filter by coin
pionex-trade-cli earn arbitrage fetchProducts --coin USDT
Choose a productId from the response.
# Dry-run first — shows the request payload without executing
pionex-trade-cli earn arbitrage stake \
--coin USDT \
--product-id <productId> \
--amount 100 \
--unique-id my-stake-001 \
--dry-run
# After user confirmation, submit (same command without --dry-run)
pionex-trade-cli earn arbitrage stake \
--coin USDT \
--product-id <productId> \
--amount 100 \
--unique-id my-stake-001
# All available arbitrage products
pionex-trade-cli earn arbitrage fetchProducts
# Filter by coin
pionex-trade-cli earn arbitrage fetchProducts --coin USDT
# All arbitrage balances
pionex-trade-cli earn arbitrage fetchUserBalances
# 1. Get products
pionex-trade-cli earn arbitrage fetchProducts --coin USDT
# 2. Dry-run stake
pionex-trade-cli earn arbitrage stake \
--coin USDT \
--product-id <productId> \
--amount 100 \
--unique-id my-stake-001 \
--dry-run
# 3. Execute after user confirmation
pionex-trade-cli earn arbitrage stake \
--coin USDT \
--product-id <productId> \
--amount 100 \
--unique-id my-stake-001
# 1. Verify balance exists
pionex-trade-cli earn arbitrage fetchUserBalances
# 2. Dry-run unstake
pionex-trade-cli earn arbitrage unStake \
--coin USDT \
--product-id <productId> \
--amount 100 \
--unique-id my-stake-001 \
--dry-run
# 3. Execute after user confirmation
pionex-trade-cli earn arbitrage unStake \
--coin USDT \
--product-id <productId> \
--amount 100 \
--unique-id my-stake-001
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
12 skills in this plugin
/financial-analysis-compsComparable company analysis using SEC EDGAR financial data. Use when asked to: compare multiple stocks; analyze valuation multiples for a peer group; benchmark margins, growth, or valuation across companies; find the cheapest or most expensive stock in a group; see how a company stacks up against peers. Triggers: "compare AAPL vs MSFT vs GOOGL", "tech sector comps", "which mega-cap has best margins", "peer valuation analysis", "compare these stocks", "how does NVDA compare to AMD". Note: For discovering/screening stocks by theme or criteria, use stock-screening instead.
/financial-analysis-dcfDCF (Discounted Cash Flow) valuation for US stocks using SEC EDGAR financials. Use when asked to: estimate intrinsic value or fair value of a US stock; determine if a stock is overvalued or undervalued; run a discounted cash flow analysis; calculate upside/downside from current price. Triggers: "what is AAPL worth", "DCF MSFT", "is NVDA overvalued", "intrinsic value of GOOGL", "fair value Tesla".
Other plugins' skills for the same job
/financial-analysis-earningsQuarterly earnings analysis for US stocks using SEC EDGAR financial data. Use when asked to: analyze a company's latest quarterly results; review Q1/Q2/Q3/Q4 earnings; check if a company beat or missed estimates; understand revenue, margin, or EPS trends; get a beat/miss breakdown; review guidance or management commentary after an earnings release. Triggers: "analyze AAPL earnings", "did MSFT beat estimates", "NVDA Q4 results", "earnings update for GOOGL", "how did Tesla do last quarter".
/pionex-skills:pionex-earn-arbitragefrom pionex-skills
pionex-skills@fin-skills is listed by howard-lynn-ye/fin-rsi — review the source before installing
npx claudepluginhub howard-lynn-ye/fin-rsi --plugin pionex-skills