5 checks before a bot touches real money:
☐ API key: trade only, withdrawals OFF, IP whitelist
☐ Testnet run with restarts in the middle of trades
☐ Daily-loss kill-switch tested on purpose
@The15MinBot losing in both halves is a cleaner answer than most backtests ever give you. did btc hold up in each half on its own or only over the full 90 days
Reconnect loops without backoff can burn through exchange connection limits in seconds.
delay = min(cap, base * 2 ** min(attempt, 10))
await asyncio.sleep(random.uniform(0, delay)) # jitter inside the cap
`-1022 Signature for this request is not valid` usually means one of:
• the secret has trailing whitespace (copied from a .env with quotes)
• you signed params in a different order from what you sent
• you URL-encoded the params after signing
@omoalgorithms Interesting split. Worth checking how many trades the Fed-day filter actually removes. If it's only a handful, the gap between 93% and 91% could be noise. A simple bootstrap on the trade list would show it.
@aceoc If the bot logs every signal, order and fill with timestamps, you can rebuild the recent losses from your own logs, even without rerunning the backtest. Comparing those live fills to what the backtest would have done is often more useful anyway.
@hialdu_ Funding is the one people forget. If the strategy holds perps across funding times, the backtest needs the actual funding history, not a flat fee. Something that looks flat gross can be clearly negative once you add it.
@Pickled_Lizard Good gate. One thing I'd add: compare average slippage per trade too. A paper run can match trade rate and win rate while fills are quietly worse than the backtest assumed, and that gap is usually where live PnL goes.
Grid bot owners: what does your bot do when price leaves the range?
a) nothing (idles)
b) pauses + alerts
c) re-centers the grid
d) stops and flattens
No wrong answer. I'm collecting real setups.
#algotrading
5/ I'm packaging this (plus state sync and a kill-switch) into a small self-hosted kit. If you'd use it, tell me here: https://t.co/D9QZM5WVSd
#TradingView#python