一键导入
htx-futures-account
HTX USDT-M perpetual futures account — balance / positions / leverage tiers / adjustment factors / unified account type switching.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
HTX USDT-M perpetual futures account — balance / positions / leverage tiers / adjustment factors / unified account type switching.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | htx/futures-account |
| version | 2.0.0 |
| description | HTX USDT-M perpetual futures account — balance / positions / leverage tiers / adjustment factors / unified account type switching. |
| auth | true |
| risk | medium |
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
Multi-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.
Top-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.
HTX USDT-M perpetual funding rate — current / market-wide batch / history / estimated next-period klines.
HTX USDT-M perpetual futures core market data — contract info / klines / ticker / order book / index price / system status.
HTX USDT-M perpetual futures order management — open / close / TP/SL / trigger orders / modify / cancel.
Query HTX USDT-M perpetual liquidation orders — recent forced-liquidation events for long/short squeeze monitoring and cluster detection. Public, no API key required.