nexus-quant-bot / main.py
mossoo4568
feat: live quant trading terminal docker deployment
be62102
Raw History Blame Contribute Delete
664 Bytes
import os
import sys
import io
if sys.platform == 'win32':
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8', errors='replace')
sys.stderr = io.TextIOWrapper(sys.stderr.buffer, encoding='utf-8', errors='replace')
import uvicorn
if __name__ == '__main__':
port = int(os.environ.get("PORT", 8000))
print("=" * 65)
print(">> NEXUS AI - 3D QUANT TRADING BOT (TAKASHI KOTEGAWA BNF)")
print(">> Connected to Binance Free High-Speed Public WebSocket Streams")
print(f">> 3D Cyberpunk Dashboard: http://0.0.0.0:{port}")
print("=" * 65)
uvicorn.run("python_engine.server:app", host="0.0.0.0", port=port, reload=False)