markdown
# Signal Bot (Hyperliquid)
Price-signal bot for Hyperliquid assets. Configure via `OPENTOOL_PUBLIC_HL_SIGNAL_BOT_CONFIG`.
Note: for price signals, cadence is derived from the selected `resolution`.
Example (price signals + execution):
```json
{
"platform": "hyperliquid",
"asset": "BTC",
"signalType": "price",
"indicators": ["rsi"],
"resolution": "60",
"countBack": 240,
"allocationMode": "fixed",
"amountUsd": 200,
"maxPerRunUsd": 500,
"schedule": {
"cron": "0 * * * *",
"enabled": true,
"notifyEmail": false
},
"price": {
"rsiPreset": "balanced",
"rsi": { "overbought": 70, "oversold": 30 }
},
"execution": {
"enabled": true,
"environment": "testnet",
"mode": "long-only",
"slippageBps": 50,
"indicator": "rsi"
}
}
```
Example (signals only):
```json
{
"platform": "hyperliquid",
"asset": "BTC",
"signalType": "price",
"indicators": ["rsi", "macd", "bb", "price-change", "sma", "ema", "ma-cross", "atr"],
"resolution": "60",
"countBack": 240,
"cadence": "daily",
"allocationMode": "percent",
"percentOfEquity": 2,
"maxPercentOfEquity": 10,
"maxPerRunUsd": 500,
"schedule": {
"cron": "0 8 * * *",
"enabled": true,
"notifyEmail": false
},
"price": {
"rsiPreset": "balanced",
"rsi": { "overbought": 70, "oversold": 30 },
"movingAverage": { "type": "sma", "period": 200 },
"maCross": { "type": "sma", "fastPeriod": 50, "slowPeriod": 200 },
"bollinger": { "period": 20, "stdDev": 2 },
"priceChange": { "lookback": 24 },
"atr": { "period": 14 }
}
}
```
Example (DCA):
```json
{
"platform": "hyperliquid",
"asset": "BTC",
"signalType": "dca",
"cadence": "weekly",
"allocationMode": "percent",
"percentOfEquity": 2,
"maxPercentOfEquity": 10,
"maxPerRunUsd": 500,
"execution": {
"enabled": true,
"environment": "testnet"
},
"dca": {
"preset": "BTC",
"symbols": [{ "symbol": "BTC", "weight": 1 }],
"slippageBps": 50
}
}
```