0206ef7cbb
Real-time orderflow trading system with absorption, initiative, sweep, exhaustion, and divergence detection. Features volume profile framing, state machine trade lifecycle, MT5 + Bybit feeds, FastAPI dashboard, and Telegram alerts for 30+ instruments. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
36 lines
831 B
Python
36 lines
831 B
Python
"""
|
|
Standalone dashboard launcher.
|
|
Run with: python -m orderflow_system.dashboard
|
|
|
|
Starts the web dashboard on http://localhost:8080 without requiring
|
|
a running data feed (MT5/Bybit). API endpoints return empty data
|
|
until the full system is started.
|
|
"""
|
|
|
|
import uvicorn
|
|
from orderflow_system.config.settings import DASHBOARD
|
|
|
|
|
|
def main():
|
|
print("=" * 50)
|
|
print(" ORDERFLOW DASHBOARD (Standalone)")
|
|
print(f" http://localhost:{DASHBOARD.port}")
|
|
print("=" * 50)
|
|
print()
|
|
print(" API endpoints will return empty data until")
|
|
print(" the full system is started with data feeds.")
|
|
print()
|
|
|
|
from orderflow_system.dashboard.app import app
|
|
|
|
uvicorn.run(
|
|
app,
|
|
host=DASHBOARD.host,
|
|
port=DASHBOARD.port,
|
|
log_level="info",
|
|
)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|