# ivrwealth-ui/trading-library architecture

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

- Interactive diagram: https://gitdiagram.com/ivrwealth-ui/trading-library
- Repository: https://github.com/ivrwealth-ui/trading-library

## Overview

StratLab is a curated library of educational reference books about Indian markets, trading, investing, and analysis—not a runtime trading platform. Readers choose a title, consult its book or individual chapters in Markdown, HTML, or PDF, and may load Markdown into an AI tool or RAG workflow. The map reflects the README’s major subject areas and the chapter-oriented organization shown in the tree. Source excerpts are limited, so relationships describe documented access and use, not an uninspected build pipeline.

Main entry points: [`Options-Trading`](https://github.com/ivrwealth-ui/trading-library/tree/main/Options-Trading) (Options Trading), [`Options-Trading/chapters`](https://github.com/ivrwealth-ui/trading-library/tree/main/Options-Trading/chapters) (Book Chapters), [`Momentum-Trading`](https://github.com/ivrwealth-ui/trading-library/tree/main/Momentum-Trading) (Momentum Trading), [`Momentum-Investing`](https://github.com/ivrwealth-ui/trading-library/tree/main/Momentum-Investing) (Momentum Investing)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_trading["Trading and Investing"]
  node_options["Options Trading"]
  node_momentum_trade["Momentum Trading"]
  node_momentum_invest["Momentum Investing"]
  node_swing["Swing Trading"]
  node_techno_funda["Techno-Funda"]
  node_risk["Risk Management"]
end

subgraph group_systematic["Systematic Methods"]
  node_quant["Quant Trading"]
  node_framework["Systematic Framework"]
end

subgraph group_market["Markets and Tools"]
  node_charts["Charts and Types"]
  node_tradingview["TradingView Guide"]
end

subgraph group_reference["Reference Library"]
  node_index["Book Index<br/>[README.md]"]
  node_kpi["KPI Handbook"]
  node_chapters["Book Chapters"]
  node_formats["MD, HTML, PDF"]
end

node_reader(("Reader"))
node_ai_tool(("AI or RAG Tool"))

node_reader -->|"browses titles"| node_index
node_reader -->|"reads"| node_options
node_reader -->|"reads"| node_momentum_trade
node_reader -->|"reads"| node_momentum_invest
node_reader -->|"reads"| node_swing
node_reader -->|"reads"| node_techno_funda
node_reader -->|"reads"| node_risk
node_reader -->|"reads"| node_quant
node_reader -->|"reads"| node_framework
node_reader -->|"reads"| node_charts
node_reader -->|"reads"| node_tradingview
node_reader -->|"reads"| node_kpi
node_reader -->|"opens chapters"| node_chapters
node_reader -->|"chooses format"| node_formats
node_options -->|"includes chapter files"| node_chapters
node_reader -.->|"loads Markdown into"| node_ai_tool

click node_index "https://github.com/ivrwealth-ui/trading-library/blob/main/README.md"
click node_options "https://github.com/ivrwealth-ui/trading-library/tree/main/Options-Trading"
click node_momentum_trade "https://github.com/ivrwealth-ui/trading-library/tree/main/Momentum-Trading"
click node_momentum_invest "https://github.com/ivrwealth-ui/trading-library/tree/main/Momentum-Investing"
click node_swing "https://github.com/ivrwealth-ui/trading-library/tree/main/Swing-Trading"
click node_techno_funda "https://github.com/ivrwealth-ui/trading-library/tree/main/Techno-Funda"
click node_risk "https://github.com/ivrwealth-ui/trading-library/tree/main/Risk-Management"
click node_quant "https://github.com/ivrwealth-ui/trading-library/tree/main/Quant-Trading"
click node_framework "https://github.com/ivrwealth-ui/trading-library/tree/main/Systematic-Trading-Framework"
click node_charts "https://github.com/ivrwealth-ui/trading-library/tree/main/Charts-and-Chart-Types"
click node_tradingview "https://github.com/ivrwealth-ui/trading-library/tree/main/TradingView-Masterclass"
click node_kpi "https://github.com/ivrwealth-ui/trading-library/tree/main/KPI-Handbook"
click node_chapters "https://github.com/ivrwealth-ui/trading-library/tree/main/Options-Trading/chapters"
click node_formats "https://github.com/ivrwealth-ui/trading-library/tree/main/Options-Trading"

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_options,node_momentum_trade,node_momentum_invest,node_swing,node_techno_funda,node_risk toneBlue
class node_quant,node_framework toneAmber
class node_charts,node_tradingview toneMint
class node_index,node_kpi,node_chapters,node_formats toneRose
class node_reader,node_ai_tool toneIndigo
```

## Components

### Trading and Investing

- [Options Trading](https://github.com/ivrwealth-ui/trading-library/tree/main/Options-Trading): `Options-Trading`
- [Momentum Trading](https://github.com/ivrwealth-ui/trading-library/tree/main/Momentum-Trading): `Momentum-Trading`
- [Momentum Investing](https://github.com/ivrwealth-ui/trading-library/tree/main/Momentum-Investing): `Momentum-Investing`
- [Swing Trading](https://github.com/ivrwealth-ui/trading-library/tree/main/Swing-Trading): `Swing-Trading`
- [Techno-Funda](https://github.com/ivrwealth-ui/trading-library/tree/main/Techno-Funda): `Techno-Funda`
- [Risk Management](https://github.com/ivrwealth-ui/trading-library/tree/main/Risk-Management): `Risk-Management`

### Systematic Methods

- [Quant Trading](https://github.com/ivrwealth-ui/trading-library/tree/main/Quant-Trading): `Quant-Trading`
- [Systematic Framework](https://github.com/ivrwealth-ui/trading-library/tree/main/Systematic-Trading-Framework): `Systematic-Trading-Framework`

### Markets and Tools

- [Charts and Types](https://github.com/ivrwealth-ui/trading-library/tree/main/Charts-and-Chart-Types): `Charts-and-Chart-Types`
- [TradingView Guide](https://github.com/ivrwealth-ui/trading-library/tree/main/TradingView-Masterclass): `TradingView-Masterclass`

### Reference Library

- [Book Index](https://github.com/ivrwealth-ui/trading-library/blob/main/README.md): `README.md`
- [KPI Handbook](https://github.com/ivrwealth-ui/trading-library/tree/main/KPI-Handbook): `KPI-Handbook`
- [Book Chapters](https://github.com/ivrwealth-ui/trading-library/tree/main/Options-Trading/chapters): `Options-Trading/chapters`
- [MD, HTML, PDF](https://github.com/ivrwealth-ui/trading-library/tree/main/Options-Trading): `Options-Trading`

### Other components

- **Reader**
- **AI or RAG Tool**

## Connections

- Reader → Book Index: browses titles
- Reader → Options Trading: reads
- Reader → Momentum Trading: reads
- Reader → Momentum Investing: reads
- Reader → Swing Trading: reads
- Reader → Techno-Funda: reads
- Reader → Risk Management: reads
- Reader → Quant Trading: reads
- Reader → Systematic Framework: reads
- Reader → Charts and Types: reads
- Reader → TradingView Guide: reads
- Reader → KPI Handbook: reads
- Reader → Book Chapters: opens chapters
- Reader → MD, HTML, PDF: chooses format
- Options Trading → Book Chapters: includes chapter files
- Reader → AI or RAG Tool: loads Markdown into
