Reduce Ollama load: 10min cycle, fast-gate skip for confident qwen, 60s scalp, 75s stagger per bot
This commit is contained in:
16
dashboard.py
16
dashboard.py
@@ -166,7 +166,13 @@ async function ctl(){await fetch('/api/control',{method:'POST',headers:{'Content
|
||||
async function toggleDry(){await fetch('/api/toggle-dry',{method:'POST'});refresh();}
|
||||
async function kill(){if(confirm('HALT THE BOT? (relaunch manually to revive)')){await fetch('/api/kill',{method:'POST'});refresh();}}
|
||||
refresh();setInterval(refresh,5000);
|
||||
</script></body></html>"""
|
||||
</script>
|
||||
<div style="text-align:center;padding:16px 0 24px 0;margin-bottom:44px">
|
||||
<a href="https://buymeacoffee.com/r26xrthzttg" target="_blank" style="display:inline-block;background:#031007;border:1px solid #00ff41;color:#00ff41;padding:8px 18px;border-radius:4px;text-decoration:none;font-family:'SF Mono',Menlo,monospace;font-size:.72rem;letter-spacing:1px;box-shadow:0 0 12px #00ff4133;transition:all .2s" onmouseover="this.style.background='#00ff4122';this.style.boxShadow='0 0 18px #00ff4166'" onmouseout="this.style.background='#031007';this.style.boxShadow='0 0 12px #00ff4133'">
|
||||
☕ Buy me a coffee
|
||||
</a>
|
||||
</div>
|
||||
</body></html>"""
|
||||
|
||||
FLEET_HTML = r"""<!DOCTYPE html><html><head><meta charset="utf-8"><title>K4LSH1 FLEET</title>
|
||||
<style>
|
||||
@@ -310,7 +316,13 @@ async function load(){
|
||||
document.getElementById('statusbar').innerHTML=`<div class="cell"><span class="lab">BAL</span><b>$${(bs.balance/100).toFixed(2)}</b></div><div class="cell"><span class="lab">PNL</span>${fmt(tp)}</div><div class="cell"><span class="lab">OPEN</span>${to}</div><div class="cell"><span class="lab">REC</span>${tw}W/${tb-tw}L</div>`;
|
||||
}
|
||||
load();setInterval(load,15000);
|
||||
</script></body></html>"""
|
||||
</script>
|
||||
<div style="text-align:center;padding:16px 0 24px 0;margin-bottom:44px">
|
||||
<a href="https://buymeacoffee.com/r26xrthzttg" target="_blank" style="display:inline-block;background:#031007;border:1px solid #00ff41;color:#00ff41;padding:8px 18px;border-radius:4px;text-decoration:none;font-family:'SF Mono',Menlo,monospace;font-size:.72rem;letter-spacing:1px;box-shadow:0 0 12px #00ff4133;transition:all .2s" onmouseover="this.style.background='#00ff4122';this.style.boxShadow='0 0 18px #00ff4166'" onmouseout="this.style.background='#031007';this.style.boxShadow='0 0 12px #00ff4133'">
|
||||
☕ Buy me a coffee
|
||||
</a>
|
||||
</div>
|
||||
</body></html>"""
|
||||
|
||||
|
||||
def cfg():
|
||||
|
||||
Reference in New Issue
Block a user