TradingBot
HALTED
Dashboard
Performance
Strategies
Backtest
Activity
Accounts
Guide
r.json()).then(d=>{ ksActive=d.active; ksLoading=false; }); } else { if (!confirm('HALT all trading? All running strategies will be stopped and blocked from restarting until you re-enable.')) return; ksLoading = true; fetch('/api/killswitch/activate', {method:'POST'}) .then(r=>r.json()).then(d=>{ ksActive=d.active; ksLoading=false; }); } " :disabled="ksLoading" :class="ksActive ? 'bg-red-600 hover:bg-red-500 text-white border border-red-400 animate-pulse' : 'bg-gray-800 hover:bg-red-900/60 text-gray-300 hover:text-red-300 border border-gray-700 hover:border-red-700'" class="flex items-center gap-1.5 px-2.5 py-1.5 rounded-lg text-xs font-semibold transition-all duration-200 cursor-pointer" :title="ksActive ? 'Kill switch ACTIVE — click to re-enable trading' : 'Click to halt all trading'" >
Checking...
Dashboard
Performance
Strategies
Backtest
Activity
Accounts
Guide
r.json()).then(d=>ksActive=d.active); } else { if (!confirm('HALT all trading?')) return; fetch('/api/killswitch/activate', {method:'POST'}).then(r=>r.json()).then(d=>ksActive=d.active); } " :class="ksActive ? 'bg-red-700 text-white' : 'bg-gray-800 text-gray-300'" class="w-full flex items-center gap-2 px-3 py-2 rounded-lg text-sm font-semibold transition">
TradingBot
Sign in to continue
Username
Password
Sign In