How milenavuletic/volgan works
VolGAN supports preparing implied-volatility surfaces, training a conditional generative model, simulating surfaces and returns, and assessing arbitrage penalties. The example invokes the data loader and training routine, then samples the trained generator and evaluates penalties. README documents a separate raw-option cleaning and smoothing capability, but the sampled files do not establish how that code connects to VolGAN’s loader. The graph reflects documented or excerpted relationships; unsampled implementation details are not inferred.
Main entry points: VolGAN-example.py Surface simulation · VolGAN.py VolGAN workflow · datacleaning.py Option cleaning
Components 13
Market data preparation
- Option cleaning
datacleaning.py - Smoothing and grids
datacleaning.py - Surface data loader
VolGAN.py
Generative model
- VolGAN workflow
VolGAN.py - Generator
VolGAN.py - Discriminator
VolGAN.py - GAN training
VolGAN.py
Simulation analysis
- Surface simulation
VolGAN-example.py - Arbitrage penalties
VolGAN.py - Penalty summaries
VolGAN-example.py
Other components
- Researcher
- OptionMetrics data
- Yahoo Finance
Connections 15
- OptionMetrics data → Option cleaning: provides options
README.md - Yahoo Finance → Option cleaning: provides spot data
datacleaning.py - Option cleaning → Smoothing and grids: prepares surfaces
README.md - Researcher → Surface data loader: supplies data paths
- Surface data loader → VolGAN workflow: loads training data
VolGAN-example.py - Researcher → VolGAN workflow: sets training options
- VolGAN workflow → Generator: uses
VolGAN.py - VolGAN workflow → Discriminator: uses
VolGAN.py - VolGAN workflow → GAN training: trains
VolGAN.py - Researcher → Surface simulation: runs example
VolGAN-example.py - Surface simulation → Surface data loader: calls loader
VolGAN-example.py - Surface simulation → VolGAN workflow: calls training
VolGAN-example.py - Surface simulation → Generator: samples surfaces
VolGAN-example.py - Surface simulation → Arbitrage penalties: calculates penalties
VolGAN-example.py - Surface simulation → Penalty summaries: summarizes penalties
VolGAN-example.py