Settings

Global configuration. Bot management is on the Bots page.

Network

testnet
Current network
Set via HL_NETWORK in .env · requires restart to change
testnet
Switch to mainnet
All safety gates below must pass before this is enabled

Mainnet Safety Gates

Checking…

Risk Defaults

Edit in config/default.json · restart to apply
Risk per trade
Maximum loss per trade if the stop-loss fires, as % of account equity. Determines position size: a 2% risk with a 2% stop puts 1× leverage on the trade.
2%
Max concurrent risk
Maximum simultaneous open risk across all live bots, as % of equity. New trades are rejected once this cap is reached.
10%
Stop-loss %
Executor triggers a reduce-only close when unrealised loss hits this threshold. Also used in the position-sizing formula: tighter stop → larger position for the same dollar risk.
2%
Max leverage
Maximum leverage on any single position. If the sizing formula would produce a higher leverage, the position is scaled down to fit.
Max daily loss %
Risk manager blocks all new entry signals once daily drawdown reaches this level. Resets at midnight UTC.
5%
Sizing formula: dollarRisk = equity × riskPerTrade% · size = dollarRisk ÷ (price × stopLoss%) · leverage = riskPerTrade% ÷ stopLoss% (capped at maxLeverage)

Wallet Status

HL_PRIVATE_KEY (testnet executor)
Loaded 0x95d6…d493
HL_MAINNET_PRIVATE_KEY
Not set
DYDX_TESTNET_MNEMONIC
Loaded (24 words)