# quantvi/uep_financial_engineering architecture

> Architecture diagram of the GitHub repository quantvi/uep_financial_engineering, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-06-22). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/quantvi/uep_financial_engineering
- Repository: https://github.com/quantvi/uep_financial_engineering

## Overview

##### Project type and purpose
- This is not a single deployed application but a “coursework artifacts” repository for a Financial Engineering master’s program.
- Its purpose is to collect semester-by-semester assignments: code (MATLAB, VBA/Excel, R, Python), data, analyses, reports (PDF, PPTX, HTML), and documentation (README files).

##### File structure
- Top level:
- README.md – overall description
- from_sem_01 … from_sem_04 – four semester folders
- img_assets – logo
- Each semester folder groups one or more “projects” or assignments.
- from_sem_01: MATLAB die-roll simulation
- from_sem_02: Excel/VBA option pricers, time-series analysis
- from_sem_03: R Markdown Bayesian & ARIMA work
- from_sem_04: three big projects (Credit Valuation Adjustment, French Vanilla Option, Neural-Net thesis) with subfolders for code, data, and outputs.
- Notice multimodal artifacts: scripts/notebooks → data CSV/XLSX → output documents.

##### README for additional insights
- The README explicitly lays out the semester topics and key deliverables.
- No runtime components or external service dependencies—this is a self-contained archive.

##### Putting it all together – high-level sketch
- At the top: “Financial Engineering Coursework Repository”
- Inside each:
- A side-panel listing technologies used per semester.

## Diagram (Mermaid)

```mermaid
graph TD
    Root["Financial Engineering Coursework Repository"]:::root
    Assets["Image Assets"]:::assets
    Root --> Assets

    subgraph "Semester 1"
        S1_Data["Raw Data (CSV/XLS)"]:::data
        S1_Code["Die Roll Simulation (MATLAB)"]:::code
        S1_Output["Simulation Outputs"]:::output
        S1_Readme["README"]:::readme
        S1_Data --> S1_Code --> S1_Output
        S1_Readme -.-> S1_Code
    end
    Root --> S1

    subgraph "Semester 2"
        S2_Code1["VBA Option Pricer 1 (.xlsm)"]:::code
        S2_Code2["VBA Option Pricer 2 (.xlsm)"]:::code
        S2_Output["Time-Series Analysis Report (PDF)"]:::output
        S2_Readme["README"]:::readme
        S2_Code1 --> S2_Output
        S2_Code2 --> S2_Output
        S2_Readme -.-> S2_Code1
    end
    Root --> S2

    subgraph "Semester 3"
        S3_Code["Bayesian & ARIMA Analysis (RMarkdown)"]:::code
        S3_Output["SARIMA Output (PDF)"]:::output
        S3_Readme["README"]:::readme
        S3_Code --> S3_Output
        S3_Readme -.-> S3_Code
    end
    Root --> S3

    subgraph "Semester 4"
        subgraph "Credit Valuation Adjustment (CVA)"
            CVA_Data["Market Data (CSV)"]:::data
            CVA_Py["Python Notebooks"]:::code
            CVA_PDF["About CDS (PDF)"]:::output
            CVA_R["R+Excel Script"]:::code
            CVA_XLSX["Exposure Spreadsheet"]:::data
            CVA_PDF2["Discussion PDF"]:::output
            CVA_MD["Project README"]:::readme
            CVA_Data --> CVA_Py --> CVA_PDF
            CVA_XLSX --> CVA_R --> CVA_PDF2
            CVA_MD -.-> CVA_R
        end

        subgraph "French Vanilla Option"
            FVO_Code["Pricing Script (Python)"]:::code
            FVO_HTML["Simulation Analysis (HTML)"]:::output
            FVO_PDF["Product Description (PDF)"]:::output
            FVO_XLSX["Sensitivity Spreadsheet"]:::data
            FVO_MD["Project README"]:::readme
            FVO_XLSX --> FVO_Code --> FVO_HTML
            FVO_Code --> FVO_PDF
            FVO_MD -.-> FVO_Code
        end

        subgraph "Thesis – ANN Equity Prediction"
            TH_Code["Python ANN Scripts"]:::code
            TH_Notebook["ANN Notebooks"]:::code
            TH_PDF["Thesis Presentation (PDF)"]:::output
            TH_MD["Project README"]:::readme
            TH_Code --> TH_Notebook --> TH_PDF
            TH_MD -.-> TH_Code
        end
    end
    Root --> S4

    %% Click Events
    click Root "https://github.com/quantvi/uep_financial_engineering/blob/master/README.md"
    click Assets "https://github.com/quantvi/uep_financial_engineering/tree/master/img_assets/"
    click S1_Code "https://github.com/quantvi/uep_financial_engineering/blob/master/from_sem_01/die_roll_matlab_project.m"
    click S2_Code1 "https://github.com/quantvi/uep_financial_engineering/blob/master/from_sem_02/VBA vanilla option pricing (2018-06-20c).xlsm"
    click S2_Code2 "https://github.com/quantvi/uep_financial_engineering/blob/master/from_sem_02/FSLBO derivative - Macro and Analysis.xlsm"
    click S2_Output "https://github.com/quantvi/uep_financial_engineering/blob/master/from_sem_02/FinEcon_time_series_discussion.pdf"
    click S3_Code "https://github.com/quantvi/uep_financial_engineering/blob/master/from_sem_03/Markov_and_Gibbs.Rmd"
    click S3_Output "https://github.com/quantvi/uep_financial_engineering/blob/master/from_sem_03/SARIMA on USA unemp rate.pdf"
    click CVA_Py "https://github.com/quantvi/uep_financial_engineering/blob/master/from_sem_04/Credit Valuation Adjustment (CVA)/Python Version - Individual/CVA for Derivatives.ipynb"
    click CVA_Data "https://github.com/quantvi/uep_financial_engineering/blob/master/from_sem_04/Credit Valuation Adjustment (CVA)/Python Version - Individual/discfac.csv"
    click CVA_PDF "https://github.com/quantvi/uep_financial_engineering/blob/master/from_sem_04/Credit Valuation Adjustment (CVA)/Python Version - Individual/About CDS - May05TTBerman50-52.pdf"
    click CVA_R "https://github.com/quantvi/uep_financial_engineering/blob/master/from_sem_04/Credit Valuation Adjustment (CVA)/R+Excel Version - Group/pt 02__CDS_bootstrapping.R"
    click CVA_XLSX "https://github.com/quantvi/uep_financial_engineering/blob/master/from_sem_04/Credit Valuation Adjustment (CVA)/R+Excel Version - Group/pt 04b__Expected_Exposure_all_instruments.xlsx"
    click CVA_PDF2 "https://github.com/quantvi/uep_financial_engineering/blob/master/from_sem_04/Credit Valuation Adjustment (CVA)/R+Excel Version - Group/pt 01__Discussion_of_derivative_involved.pdf"
    click CVA_MD "https://github.com/quantvi/uep_financial_engineering/blob/master/from_sem_04/Credit Valuation Adjustment (CVA)/README.md"
    click FVO_Code "https://github.com/quantvi/uep_financial_engineering/blob/master/from_sem_04/French Vanilla Option - Structured Product/force_pricing.py"
    click FVO_HTML "https://github.com/quantvi/uep_financial_engineering/blob/master/from_sem_04/French Vanilla Option - Structured Product/02 Product - Simulation  and Scenario Analysis.html"
    click FVO_PDF "https://github.com/quantvi/uep_financial_engineering/blob/master/from_sem_04/French Vanilla Option - Structured Product/01 French Vanilla Option - Description.pdf"
    click FVO_XLSX "https://github.com/quantvi/uep_financial_engineering/blob/master/from_sem_04/French Vanilla Option - Structured Product/03b Structured_Product_Sensitivity.xlsx"
    click FVO_MD "https://github.com/quantvi/uep_financial_engineering/blob/master/from_sem_04/French Vanilla Option - Structured Product/README.md"
    click TH_Code "https://github.com/quantvi/uep_financial_engineering/blob/master/from_sem_04/Thesis - Artifical Neural Networks and Equity Index Prediction/a2 run_normd_MLP_01.py"
    click TH_Notebook "https://github.com/quantvi/uep_financial_engineering/blob/master/from_sem_04/Thesis - Artifical Neural Networks and Equity Index Prediction/a1 ANN_check_the_normalized_training_output_01.ipynb"
    click TH_PDF "https://github.com/quantvi/uep_financial_engineering/blob/master/from_sem_04/Thesis - Artifical Neural Networks and Equity Index Prediction/MSc Thesis Pres 2.pdf"
    click TH_MD "https://github.com/quantvi/uep_financial_engineering/blob/master/from_sem_04/Thesis - Artifical Neural Networks and Equity Index Prediction/README.md"

    %% Styles
    classDef root fill:#f0f8ff,stroke:#333,stroke-width:2px;
    classDef assets fill:#ffe4b5,stroke:#333;
    classDef data fill:#d2f8d2,stroke:#333;
    classDef code fill:#d0e1f9,stroke:#333;
    classDef output fill:#f9f1d0,stroke:#333;
    classDef readme fill:#e0e0e0,stroke:#333,stroke-dasharray: 2 2;
```
