File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,23 +17,14 @@ any operating system.
1717## Architecture
1818
1919``` mermaid
20- graph TB
20+ graph LR
2121 Client["HTTP Client<br/>(Any OS)"]
22+ App["FastAPI Application<br/>middleware · routers · MT5 client"]
23+ MT5["MetaTrader 5<br/>Terminal (Windows)"]
2224
23- subgraph "Windows Host"
24- subgraph "FastAPI Application"
25- Middleware["Middleware Stack<br/>CORS · Logging · Error Handler · Rate Limiter · Auth"]
26- Routers["Routers<br/>health · symbols · market · account · history · calc · trading"]
27- Deps["MT5 Client Singleton<br/>+ JSON/Parquet Formatter"]
28- Middleware --> Routers --> Deps
29- end
30-
31- Deps --> pdmt5["pdmt5<br/>MT5 Client Library"]
32- pdmt5 --> MT5["MetaTrader 5<br/>Terminal"]
33- end
34-
35- Client -- "HTTP/REST" --> Middleware
36- Deps -- "JSON / Parquet" --> Client
25+ Client -- "HTTP/REST" --> App
26+ App -- "JSON / Parquet" --> Client
27+ App <--> MT5
3728```
3829
3930## Features
You can’t perform that action at this time.
0 commit comments