Skip to content

Latest commit

 

History

History
368 lines (366 loc) · 14 KB

File metadata and controls

368 lines (366 loc) · 14 KB

Project Structure

UnifiedVol/
├── .clang-format
├── .gitattributes
├── .githooks/
│   ├── pre-commit
├── .github/
│   ├── workflows/
│   │   ├── cpp-ci.yml
├── .gitignore
├── CMakeLists.txt
├── CMakePresets.json
├── LICENSE.txt
├── README.md
├── codecov.yml
├── data/
│   ├── VolSurface_SPY_04072011.csv
├── docs/
│   ├── BUILD.md
│   ├── DATA.md
│   ├── DEPENDENCIES.md
│   ├── TREE.md
│   ├── citations.bib
├── examples/
│   ├── main.cpp
├── external/
│   ├── lets_be_rational/
│   │   ├── .gitignore
│   │   ├── MANIFEST.in
│   │   ├── README.MD
│   │   ├── clean.sh
│   │   ├── lets_be_rational.egg-info/
│   │   │   ├── PKG-INFO
│   │   │   ├── SOURCES.txt
│   │   │   ├── dependency_links.txt
│   │   │   ├── top_level.txt
│   │   ├── lets_be_rational/
│   │   │   ├── LetsBeRational.py
│   │   │   ├── __init__.py
│   │   ├── make.bat
│   │   ├── make_linux.sh
│   │   ├── make_osx.sh
│   │   ├── setup.py
│   │   ├── src/
│   │   │   ├── LetsBeRational.cpp
│   │   │   ├── LetsBeRational.i
│   │   │   ├── LetsBeRational.py
│   │   │   ├── erf_cody.cpp
│   │   │   ├── importexport.h
│   │   │   ├── normaldistribution.cpp
│   │   │   ├── normaldistribution.h
│   │   │   ├── rationalcubic.cpp
│   │   │   ├── rationalcubic.h
│   │   │   ├── version.h
├── src/
│   ├── Base/
│   │   ├── Config.cpp
│   │   ├── Errors/
│   │   │   ├── Errors.cpp
│   │   │   ├── Validate.cpp
│   │   ├── Execution/
│   │   │   ├── ThreadPolicy.cpp
│   │   ├── Utils/
│   │   │   ├── Detail/
│   │   │   │   ├── Log.cpp
│   │   │   │   ├── StopWatch.cpp
│   ├── IO/
│   │   ├── CSV/
│   │   │   ├── Read.cpp
│   │   ├── JSON/
│   │   │   ├── Read.cpp
│   ├── Math/
│   │   ├── Functions/
│   │   │   ├── Volatility.cpp
│   ├── Models/
│   │   ├── Heston/
│   │   │   ├── Calibrate/
│   │   │   │   ├── CeresAdapter.cpp
│   │   │   │   ├── Detail/
│   │   │   │   │   ├── MaturitySlice.cpp
│   │   ├── SVI/
│   │   │   ├── Calibrate/
│   │   │   │   ├── Detail/
│   │   │   │   │   ├── Constraints.cpp
│   │   │   │   │   ├── Contexts.cpp
│   │   │   │   │   ├── Initialize.cpp
│   │   │   │   │   ├── Objective.cpp
│   │   │   │   │   ├── SliceData.cpp
│   ├── Optimization/
│   │   ├── Ceres/
│   │   │   ├── Detail/
│   │   │   │   ├── CeresAdapter.cpp
│   │   ├── Helpers.cpp
│   │   ├── NLopt/
│   │   │   ├── Detail/
│   │   │   │   ├── NLoptStatus.cpp
├── tests/
│   ├── CMakeLists.txt
│   ├── Golden/
│   │   ├── black_known_values.json
│   │   ├── bspline_known_values.json
│   │   ├── example_pipeline.json
│   │   ├── performance_budgets.json
│   │   ├── synthetic_svi_calibration.json
│   ├── Integration/
│   │   ├── BlackSurfacePricing.cpp
│   │   ├── LoadAndReport.cpp
│   │   ├── MarketStateGeneration.cpp
│   │   ├── Math/
│   │   │   ├── TanHSinH.cpp
│   │   ├── Models/
│   │   │   ├── Heston/
│   │   │   │   ├── ParameterBoundaries.cpp
│   │   │   │   ├── PricingInvariants.cpp
│   │   │   │   ├── Stress.cpp
│   │   │   │   ├── SurfacePricing.cpp
│   │   │   ├── SVI/
│   │   │   │   ├── CalibrationValidation.cpp
│   │   │   │   ├── SurfaceBuild.cpp
│   │   │   │   ├── SurfaceInvariants.cpp
│   │   ├── OptimizerToyProblems.cpp
│   ├── Performance/
│   │   ├── Math/
│   │   │   ├── Interpolation/
│   │   │   │   ├── BSplinePerformance.cpp
│   │   ├── Models/
│   │   │   ├── HestonPerformance.cpp
│   │   │   ├── SVIPerformance.cpp
│   │   ├── Pipelines/
│   │   │   ├── ExamplePipelinePerformance.cpp
│   ├── Regression/
│   │   ├── BSplineKnownValues.cpp
│   │   ├── BlackKnownValues.cpp
│   │   ├── ExamplePipeline.cpp
│   │   ├── Models/
│   │   │   ├── Heston/
│   │   │   │   ├── GradientFiniteDifference.cpp
│   │   │   │   ├── IntrinsicValue.cpp
│   │   │   │   ├── SigmaZeroMatchesBlack.cpp
│   │   │   ├── SVI/
│   │   │   │   ├── StressCalibration.cpp
│   │   │   │   ├── SyntheticCalibration.cpp
│   ├── Support/
│   │   ├── Assertions.hpp
│   │   ├── Diagnostics.hpp
│   │   ├── Golden.cpp
│   │   ├── Golden.hpp
│   │   ├── Models/
│   │   │   ├── SVI.hpp
│   │   ├── Performance/
│   │   │   ├── Budgets.hpp
│   │   │   ├── Timing.hpp
│   │   ├── TempFile.hpp
│   │   ├── Tolerances.hpp
│   ├── Unit/
│   │   ├── Base/
│   │   │   ├── Errors/
│   │   │   │   ├── Errors.cpp
│   │   │   │   ├── Validate.cpp
│   │   │   ├── Execution/
│   │   │   │   ├── ThreadPolicy.cpp
│   │   │   ├── Types.cpp
│   │   ├── Core/
│   │   │   ├── Curve.cpp
│   │   │   ├── Matrix.cpp
│   │   │   ├── VolSurface.cpp
│   │   ├── IO/
│   │   │   ├── CSV/
│   │   │   │   ├── Read.cpp
│   │   │   ├── JSON/
│   │   │   │   ├── Read.cpp
│   │   ├── Math/
│   │   │   ├── Functions/
│   │   │   │   ├── Black.cpp
│   │   │   │   ├── Primitive.cpp
│   │   │   │   ├── Volatility.cpp
│   │   │   ├── Integration/
│   │   │   │   ├── TanHSinH.cpp
│   │   │   ├── Interpolation/
│   │   │   │   ├── BSpline/
│   │   │   │   │   ├── Interpolator.cpp
│   │   │   │   ├── Hermite/
│   │   │   │   │   ├── Interpolator.cpp
│   │   │   ├── LinearAlgebra/
│   │   │   │   ├── MatrixOps.cpp
│   │   │   │   ├── VectorOps.cpp
│   │   │   ├── PDE/
│   │   │   │   ├── Grid.cpp
│   │   ├── Models/
│   │   │   ├── Heston/
│   │   │   │   ├── Params.cpp
│   │   │   ├── SVI/
│   │   │   │   ├── Math.cpp
│   │   │   │   ├── Params.cpp
│   │   ├── Optimization/
│   │   │   ├── Cost.cpp
│   │   │   ├── Helpers.cpp
│   │   ├── Support/
│   │   │   ├── GoldenFixtures.cpp
│   │   │   ├── PerformanceBudgetFixtures.cpp
│   │   │   ├── Timing.cpp
├── uv/
│   ├── Base/
│   │   ├── Config.hpp
│   │   ├── Detail/
│   │   │   ├── Types.inl
│   │   ├── Errors/
│   │   │   ├── Detail/
│   │   │   │   ├── Errors.inl
│   │   │   │   ├── Validate.inl
│   │   │   │   ├── ValidateConcepts.hpp
│   │   │   ├── Errors.hpp
│   │   │   ├── Validate.hpp
│   │   ├── Execution/
│   │   │   ├── ThreadPolicy.hpp
│   │   ├── Macros/
│   │   │   ├── DevStatus.hpp
│   │   │   ├── Inform.hpp
│   │   │   ├── Require.hpp
│   │   │   ├── Unreachable.hpp
│   │   │   ├── Warn.hpp
│   │   ├── Types.hpp
│   │   ├── Utils/
│   │   │   ├── Detail/
│   │   │   │   ├── Log.hpp
│   │   │   │   ├── StopWatch.inl
│   │   │   ├── ScopedTimer.hpp
│   │   │   ├── StopWatch.hpp
│   ├── Core/
│   │   ├── Curve.hpp
│   │   ├── Detail/
│   │   │   ├── Curve.inl
│   │   │   ├── Generate.inl
│   │   │   ├── Matrix.inl
│   │   │   ├── VolSurface.inl
│   │   ├── Generate.hpp
│   │   ├── MarketData.hpp
│   │   ├── MarketState.hpp
│   │   ├── Matrix.hpp
│   │   ├── VolSurface.hpp
│   ├── IO/
│   │   ├── CSV/
│   │   │   ├── Detail/
│   │   │   │   ├── Read.inl
│   │   │   ├── Read.hpp
│   │   ├── ConsoleRedirect.hpp
│   │   ├── Detail/
│   │   │   ├── Load.inl
│   │   │   ├── Print.hpp
│   │   │   ├── Print.inl
│   │   │   ├── Report.inl
│   │   ├── JSON/
│   │   │   ├── Read.hpp
│   │   ├── Load.hpp
│   │   ├── Report.hpp
│   ├── Math/
│   │   ├── Functions/
│   │   │   ├── Black.hpp
│   │   │   ├── Detail/
│   │   │   │   ├── Black.inl
│   │   │   │   ├── JackelDeclare.hpp
│   │   │   │   ├── Primitive.inl
│   │   │   │   ├── Volatility.inl
│   │   │   ├── Primitive.hpp
│   │   │   ├── Volatility.hpp
│   │   ├── Integration/
│   │   │   ├── Detail/
│   │   │   │   ├── TanHSinH.inl
│   │   │   ├── TanHSinH.hpp
│   │   ├── Interpolation/
│   │   │   ├── BSpline/
│   │   │   │   ├── Detail/
│   │   │   │   │   ├── Evaluate.hpp
│   │   │   │   │   ├── Evaluate.inl
│   │   │   │   │   ├── Interpolator.inl
│   │   │   │   ├── Interpolator.hpp
│   │   │   ├── Hermite/
│   │   │   │   ├── Detail/
│   │   │   │   │   ├── Interpolator.inl
│   │   │   │   │   ├── Policies.inl
│   │   │   │   ├── Interpolator.hpp
│   │   │   │   ├── Policies.hpp
│   │   ├── LinearAlgebra/
│   │   │   ├── Detail/
│   │   │   │   ├── MatrixOps.inl
│   │   │   │   ├── VectorOps.inl
│   │   │   ├── MatrixOps.hpp
│   │   │   ├── VectorOps.hpp
│   │   ├── PDE/
│   │   │   ├── Detail/
│   │   │   │   ├── Grid.inl
│   │   │   ├── Grid.hpp
│   ├── Models/
│   │   ├── Heston/
│   │   │   ├── BuildSurface.hpp
│   │   │   ├── Calibrate/
│   │   │   │   ├── Calibrate.hpp
│   │   │   │   ├── CeresAdapter.hpp
│   │   │   │   ├── Config.hpp
│   │   │   │   ├── Detail/
│   │   │   │   │   ├── Calibrate.inl
│   │   │   │   │   ├── Initialize.hpp
│   │   │   │   │   ├── Initialize.inl
│   │   │   │   │   ├── MaturitySlice.hpp
│   │   │   │   │   ├── ResidualCost.hpp
│   │   │   │   │   ├── ResidualCost.inl
│   │   │   ├── Detail/
│   │   │   │   ├── BuildSurface.inl
│   │   │   │   ├── Params.inl
│   │   │   ├── Params.hpp
│   │   │   ├── Price/
│   │   │   │   ├── Config.hpp
│   │   │   │   ├── Detail/
│   │   │   │   │   ├── CharFunction.hpp
│   │   │   │   │   ├── CharFunction.inl
│   │   │   │   │   ├── Integrand.hpp
│   │   │   │   │   ├── Integrand.inl
│   │   │   │   │   ├── Pricer.inl
│   │   │   │   ├── Pricer.hpp
│   │   ├── SVI/
│   │   │   ├── BuildSurface.hpp
│   │   │   ├── Calibrate/
│   │   │   │   ├── Calibrate.hpp
│   │   │   │   ├── Config.hpp
│   │   │   │   ├── Detail/
│   │   │   │   │   ├── Calibrate.inl
│   │   │   │   │   ├── Constraints.hpp
│   │   │   │   │   ├── Constraints.inl
│   │   │   │   │   ├── Contexts.hpp
│   │   │   │   │   ├── Contexts.inl
│   │   │   │   │   ├── Initialize.hpp
│   │   │   │   │   ├── Initialize.inl
│   │   │   │   │   ├── Objective.hpp
│   │   │   │   │   ├── Objective.inl
│   │   │   │   │   ├── SliceData.hpp
│   │   │   │   ├── NLoptAdapter.hpp
│   │   │   ├── Detail/
│   │   │   │   ├── BuildSurface.inl
│   │   │   │   ├── Math.inl
│   │   │   │   ├── Params.inl
│   │   │   ├── Math.hpp
│   │   │   ├── Params.hpp
│   ├── Optimization/
│   │   ├── Ceres/
│   │   │   ├── Config.hpp
│   │   │   ├── Detail/
│   │   │   │   ├── CeresAdapter.hpp
│   │   │   │   ├── Optimizer.inl
│   │   │   ├── Optimizer.hpp
│   │   │   ├── Policy.hpp
│   │   ├── Cost.hpp
│   │   ├── Detail/
│   │   │   ├── Cost.inl
│   │   ├── Helpers.hpp
│   │   ├── NLopt/
│   │   │   ├── Algorithm.hpp
│   │   │   ├── Config.hpp
│   │   │   ├── Detail/
│   │   │   │   ├── MapAlgorithm.hpp
│   │   │   │   ├── NLoptStatus.hpp
│   │   │   │   ├── Optimizer.inl
│   │   │   ├── Optimizer.hpp
│   ├── UnifiedVol.hpp
├── vcpkg.json