# aggelosqubit/trading_progression_monitoring architecture

> Architecture diagram of the GitHub repository aggelosqubit/trading_progression_monitoring, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/aggelosqubit/trading_progression_monitoring
- Repository: https://github.com/aggelosqubit/trading_progression_monitoring

## Overview

This repository is a small Node.js trading-performance monitor. Its workflow reads the CSV files in `days`, parses individual trade results into daily records, calculates daily and period-level performance measures, and prints tables to the console. The single `index.js` file owns these stages; separate nodes show their distinct responsibilities, not separate modules. `Simulation ONE` contains additional CSV history, but the sampled code does not show it being used. The graph therefore omits a link to it; no other runtime integrations are documented.

Main entry points: [`index.js`](https://github.com/aggelosqubit/trading_progression_monitoring/blob/main/index.js) (Trade Parsing), [`days`](https://github.com/aggelosqubit/trading_progression_monitoring/tree/main/days) (Daily CSVs)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_operator(("Operator"))
node_daily_csv["Daily CSVs"]
node_trade_parser["Trade Parsing<br/>[index.js]"]
node_daily_stats["Daily Statistics<br/>[index.js]"]
node_period_analysis["Period Analysis<br/>[index.js]"]
node_console["Console Tables<br/>[index.js]"]

node_operator -.->|"runs"| node_trade_parser
node_trade_parser -->|"reads"| node_daily_csv
node_trade_parser -->|"builds daily records"| node_daily_stats
node_daily_stats -->|"supplies progression"| node_period_analysis
node_period_analysis -->|"prints tables"| node_console

click node_daily_csv "https://github.com/aggelosqubit/trading_progression_monitoring/tree/main/days"
click node_trade_parser "https://github.com/aggelosqubit/trading_progression_monitoring/blob/main/index.js"
click node_daily_stats "https://github.com/aggelosqubit/trading_progression_monitoring/blob/main/index.js"
click node_period_analysis "https://github.com/aggelosqubit/trading_progression_monitoring/blob/main/index.js"
click node_console "https://github.com/aggelosqubit/trading_progression_monitoring/blob/main/index.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_operator toneIndigo
class node_daily_csv,node_trade_parser,node_daily_stats,node_period_analysis,node_console toneTeal
```

## Components

### Other components

- **Operator**
- [Daily CSVs](https://github.com/aggelosqubit/trading_progression_monitoring/tree/main/days): `days`
- [Trade Parsing](https://github.com/aggelosqubit/trading_progression_monitoring/blob/main/index.js): `index.js`
- [Daily Statistics](https://github.com/aggelosqubit/trading_progression_monitoring/blob/main/index.js): `index.js`
- [Period Analysis](https://github.com/aggelosqubit/trading_progression_monitoring/blob/main/index.js): `index.js`
- [Console Tables](https://github.com/aggelosqubit/trading_progression_monitoring/blob/main/index.js): `index.js`

## Connections

- Operator → Trade Parsing: runs
- Trade Parsing → Daily CSVs: reads (evidence: `index.js`)
- Trade Parsing → Daily Statistics: builds daily records (evidence: `index.js`)
- Daily Statistics → Period Analysis: supplies progression (evidence: `index.js`)
- Period Analysis → Console Tables: prints tables (evidence: `index.js`)
