# vkhirehalli/trading-research architecture

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

- Interactive diagram: https://gitdiagram.com/vkhirehalli/trading-research
- Repository: https://github.com/vkhirehalli/trading-research

## Overview

This repository is a public trading-research report with CSV-backed charts, not the strategy engines or live bot: the README says that code is in private repositories. The visible workflow is chart generation from monthly result data, with the report presenting those charts and documented results. The README also describes the FVG and stock strategies, an options breakout, and live-system behavior; those are documented capabilities, not inspected implementations.

Main entry points: [`charts/make_charts.py`](https://github.com/vkhirehalli/trading-research/blob/main/charts/make_charts.py) (Chart generator), [`README.md`](https://github.com/vkhirehalli/trading-research/blob/main/README.md) (Research and results), [`data/stocks_monthly.csv`](https://github.com/vkhirehalli/trading-research/blob/main/data/stocks_monthly.csv) (Stock monthly results), [`data/nifty_options_orb_monthly.csv`](https://github.com/vkhirehalli/trading-research/blob/main/data/nifty_options_orb_monthly.csv) (Options ORB results)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_report["Research report"]
  node_report["Research and results<br/>[README.md]"]
end

subgraph group_charts["Chart rendering"]
  node_chartgen["Chart generator<br/>[make_charts.py]"]
end

subgraph group_data["Backtest data"]
  node_stockdata[("Stock monthly results<br/>[stocks_monthly.csv]")]
  node_optiondata[("Options ORB results")]
end

node_reader(("Report reader"))

node_reader -->|"reads"| node_report
node_chartgen -->|"reads"| node_stockdata
node_chartgen -->|"reads"| node_optiondata
node_chartgen -->|"renders charts for"| node_report

click node_report "https://github.com/vkhirehalli/trading-research/blob/main/README.md"
click node_chartgen "https://github.com/vkhirehalli/trading-research/blob/main/charts/make_charts.py"
click node_stockdata "https://github.com/vkhirehalli/trading-research/blob/main/data/stocks_monthly.csv"
click node_optiondata "https://github.com/vkhirehalli/trading-research/blob/main/data/nifty_options_orb_monthly.csv"

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_report toneBlue
class node_chartgen toneAmber
class node_stockdata,node_optiondata toneMint
class node_reader toneIndigo
```

## Components

### Research report

- [Research and results](https://github.com/vkhirehalli/trading-research/blob/main/README.md): `README.md`

### Chart rendering

- [Chart generator](https://github.com/vkhirehalli/trading-research/blob/main/charts/make_charts.py): `charts/make_charts.py`

### Backtest data

- [Stock monthly results](https://github.com/vkhirehalli/trading-research/blob/main/data/stocks_monthly.csv): `data/stocks_monthly.csv`
- [Options ORB results](https://github.com/vkhirehalli/trading-research/blob/main/data/nifty_options_orb_monthly.csv): `data/nifty_options_orb_monthly.csv`

### Other components

- **Report reader**

## Connections

- Report reader → Research and results: reads (evidence: `README.md`)
- Chart generator → Stock monthly results: reads (evidence: `charts/make_charts.py`)
- Chart generator → Options ORB results: reads (evidence: `charts/make_charts.py`)
- Chart generator → Research and results: renders charts for (evidence: `README.md`)
