npm · @r2rlabs/reins
$npx -y @r2rlabs/reins@0.1.8 REINS_SYMBOLS (required) — Markets the agent may trade, comma separated, e.g. BTC,ETH. Every other market is refused.
REINS_MAX_POSITION_USD (required) — Largest position per market, in USD.
REINS_DAILY_LOSS_USD (required) — Realised loss in a UTC day after which new risk is refused.
REINS_MAX_LEVERAGE — Largest total exposure as a multiple of account value.
REINS_MODE — paper (live prices, simulated fills, nothing signed) or live.
REINS_NETWORK — Hyperliquid network for prices and, in live mode, orders. Mainnet spends real money.
REINS_REQUIRE_STOP_LOSS — true to refuse any order that adds risk without a stop-loss.
REINS_LOG_FILE — Decision log, one JSON line per action with the agent's stated reason. In memory if unset.
REINS_PAPER_FILE — Where the paper account is kept between runs. In memory if unset.
REINS_ACCOUNT_ADDRESS — Live mode: the Hyperliquid account traded. Approve Reins' 2 bp builder fee from it first: npx @r2rlabs/reins approve-builder
REINS_PRIVATE_KEY · secret — Live mode: an API wallet's key, which can trade but not withdraw. Never the account's own key.