HTX Get Risk Snapshot
htx_get_risk_snapshotGet a pre-trade risk snapshot combining current market and account state for a spot or USDT-margined swap contract. Review facts and warnings before you decide, without executing a trade.
Instructions
Combine current market and account state into a pre-trade risk snapshot.
The tool supplies facts and warnings; it does not make a trading decision.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | Yes | HTX product family: spot or USDT-margined perpetual swap. | |
| instrument | Yes | Spot symbol such as 'btcusdt' or swap contract such as 'BTC-USDT'. | |
| margin_mode | No | Swap margin mode: isolated or cross. | isolated |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | Yes | ||
| account | Yes | ||
| product | Yes | ||
| warnings | Yes | ||
| instrument | Yes |