Skip to Content
Bitcoin 9to5Configuration

Configuration

Tunables live as constants in bot.js (edit and restart). The only required environment variable is the wallet key.

Environment

VariablePurpose
PRIVATE_KEYEthereum private key (with 0x prefix)

Treat PRIVATE_KEY as a live trading secret. Do not commit it or paste it into shared logs.

Constants in bot.js

ConstantDefaultPurpose
BTC_PERP_PRODUCT_ID2Nado BTC perpetual product id
TARGET_LEVERAGE10Leverage multiplier
PROFIT_TARGET_PCT1.0Price move % to take profit
TP_ZONE_TRAILING_STOP_PCT0.5Trailing stop % for TP zone
TP_ZONE_HOURS_THRESHOLD6Hours before short zone to enter/exit TP zone
holidays(set in code)Market holidays to skip shorting

At 10x leverage, a 1% favorable price move is roughly a ~10% PnL move.

Last updated on