Queries HTX USDT-M perpetual futures account info, positions, leverage tiers, adjustment factors, and financial records. Supports isolated and cross margin modes with 30 endpoints.
Ships in htx-skills-hub. 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.
Query USDT-M perpetual futures account and positions, including leverage tiers, adjustment factors, unified account switching, and other reference data. Read permission is enough for 26 of 30 endpoints. Transfers (4) need write.
All paths in this skill have base /linear-swap-api unless noted. "Mode" column: I = isolated, C = cross, * = either.
| # | Method | Path | CLI invocation | Mode |
|---|---|---|---|---|
| 1 | POST | /v1/swap_account_info | htx-cli futures call /v1/swap_account_info --auth -p contract_code=BTC-USDT | I |
| 2 | POST | /v1/swap_cross_account_info | htx-cli futures call /v1/swap_cross_account_info --auth -p margin_account=USDT | C |
| 3 | POST | /v1/swap_position_info | htx-cli futures call /v1/swap_position_info --auth -p contract_code=BTC-USDT | I |
| 4 | POST | /v1/swap_cross_position_info | htx-cli futures call /v1/swap_cross_position_info --auth -p contract_code=BTC-USDT | C |
| 5 | POST | /v1/swap_account_position_info | htx-cli futures call /v1/swap_account_position_info --auth | I |
| 6 | POST | /v1/swap_cross_account_position_info | htx-cli futures call /v1/swap_cross_account_position_info --auth | C |
| 7 | POST | /v1/swap_position_limit | htx-cli futures call /v1/swap_position_limit --auth | I |
| 8 | POST | /v1/swap_cross_position_limit | htx-cli futures call /v1/swap_cross_position_limit --auth | C |
| # | Method | Path | CLI invocation | Mode |
|---|---|---|---|---|
| 9 | GET | /v1/swap_adjustfactor | htx-cli futures call /v1/swap_adjustfactor --method GET -p contract_code=BTC-USDT | I |
| 10 | GET | /v1/swap_cross_adjustfactor | htx-cli futures call /v1/swap_cross_adjustfactor --method GET -p contract_code=BTC-USDT | C |
| 11 | GET | /v1/swap_ladder_margin | htx-cli futures call /v1/swap_ladder_margin --method GET -p contract_code=BTC-USDT | I |
| 12 | GET | /v1/swap_cross_ladder_margin | htx-cli futures call /v1/swap_cross_ladder_margin --method GET -p margin_account=USDT | C |
| 13 | POST | /v1/swap_available_level_rate | htx-cli futures call /v1/swap_available_level_rate --auth -p contract_code=BTC-USDT | * |
| 14 | POST | /v1/swap_user_settlement_records | htx-cli futures call /v1/swap_user_settlement_records --auth | * |
| # | Method | Path | CLI invocation |
|---|---|---|---|
| 15 | POST | /v1/swap_financial_record | htx-cli futures call /v1/swap_financial_record --auth -p mar_acct=BTC-USDT |
| 16 | POST | /v1/swap_financial_record_exact | htx-cli futures call /v1/swap_financial_record_exact --auth -p contract=BTC-USDT |
| 17 | POST | /v3/swap_financial_record_exact | htx-cli futures call /v3/swap_financial_record_exact --auth -p contract=BTC-USDT |
| 18 | POST | /v1/swap_user_fee | htx-cli futures call /v1/swap_user_fee --auth -p contract_code=BTC-USDT |
| 19 | POST | /v1/swap_funding_record | htx-cli futures call /v1/swap_funding_record --auth |
| 20 | POST | /v1/swap_api_trading_status | htx-cli futures call /v1/swap_api_trading_status --auth |
| 21 | POST | /v1/swap_position_mode | htx-cli futures call /v1/swap_position_mode --auth -p margin_account=USDT |
| 22 | POST | /v1/swap_master_sub_transfer_record | htx-cli futures call /v1/swap_master_sub_transfer_record --auth |
| # | Method | Path | Description |
|---|---|---|---|
| 23 | POST | /v3/unified_account_info | Unified account aggregated info (read) |
| 24 | POST | /v3/swap_switch_account_type | Switch account type (single → cross-margin → unified) — write |
| 25 | POST | /v3/unified_account_switch_status | Query switch status |
| 26 | POST | /v3/swap_switch_position_mode | Switch position mode (one-way ↔ hedge) — write |
| # | Method | Path |
|---|---|---|
| 27 | POST | /v1/swap_master_sub_transfer |
| 28 | POST | /v1/swap_sub_auth |
| 29 | POST | /v1/swap_sub_account_info_list |
| 30 | POST | /v1/swap_sub_account_info |
htx-cli futures call /v1/swap_cross_account_info --auth -p margin_account=USDT --json
htx-cli futures call /v1/swap_cross_account_position_info --auth --json
htx-cli futures call /v1/swap_position_info --auth -p contract_code=BTC-USDT --json
htx-cli futures call /v1/swap_ladder_margin --method GET -p contract_code=BTC-USDT --json
curl -fsSL https://github.com/htx-exchange/htx-skills-hub/releases/latest/download/install.sh | bash -s -- futures-account
What SKILL.md sets; muted values are Claude Code's defaults
/htx-exchange-htx-skills-hub:futures-accountfrom htx-skills-hub
Generated from the plugin's indexed repository (htx-exchange/htx-skills-hub) — no native marketplace selected
npx claudepluginhub p/htx-exchange-htx-skills-hub17 skills in this plugin
/htx-derivatives-analystMulti-signal pressure analysis on HTX USDT-M perpetuals — combines funding rate, OI, elite long/short ratio, recent liquidations, and basis into a unified pressure score with squeeze-risk verdict. Public, no API key required./htx-elite-positioningTop-trader long/short ratio on HTX USDT-M perpetuals — both account-based and position-based ratios, the core sentiment signal that distinguishes "smart money" from retail. Public, no API key./funding-ratehtx/funding-rateHTX USDT-M perpetual funding rate — current / market-wide batch / history / estimated next-period klines.Other plugins' skills for the same job