Compose Hyperliquid order payload
propose_trade_from_signalConvert trading signals and sizing strategy into a Hyperliquid order payload. Choose notional, fixed base, or risk-based sizing, with optional take-profit and stop-loss for follow-up placement.
Instructions
PURE COMPUTE: compose a Hyperliquid propose_order payload from a signal envelope + sizing strategy. No IO. The result drops directly into @sentimentracker/hyperliquid-mcp's propose_order tool. Three sizing modes — notionalUsd / fixedBase / riskUsd (with stopLossPx). Optional takeProfitPx + stopLossPx surface a follow-up tip to invoke place_tpsl after the entry fills.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"signal": "<signal>",
"coin": "<coin>",
"markPx": "<markPx>",
"sizing": "<sizing>"
},
"name": "propose_trade_from_signal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tif | No | ||
| coin | Yes | ||
| isPerp | No | ||
| markPx | Yes | ||
| signal | Yes | ||
| sizing | Yes | ||
| orderType | No | market | |
| reduceOnly | No | ||
| stopLossPx | No | ||
| takeProfitPx | No | ||
| limitOffsetBps | No |