Skip to content

Configuration (.env)

setup-user writes these for you; you can also edit .env by hand and restart.

Environment variables

VariablePurpose
ADMIN_LOGIN / ADMIN_PASSWORD_HASHDashboard login (bcrypt hash).
SESSION_SECRETSigns session cookies (auto-generated).
BINANCE_MODEtest or real — see Testnet vs Real.
API_KEY / API_SECRETReal mainnet keys (optional).
API_KEY_TEST / API_SECRET_TESTTestnet keys (required).
TELEGRAM_BOT_TOKEN / TELEGRAM_CHAT_IDTrade & alert notifications (optional).
NODE_ENVproduction (default).
PORTHTTP port (default 3002).
STATUS_LOGINfalse disables auth — local/trusted use only.

Parameter limits

The dashboard clamps each field to a safe range:

FieldMinMax
Profit0.1
Exchange commission0.22
Martingail20150
Progressive step0.012
Indent price0.011
Grid from order150
Micro profit %0.012
Grid exit %0100
Active orders250
Request frequency (ms)5005000

Exchange filters

On top of these, the bot reads the pair's own exchange filters from Binance — tick size (price precision), step size (quantity precision), and the minimum notional — and rounds every order to them. This is why Order Size must be at least the exchange minimum for the pair: an order below it would be rejected by Binance.