{"id":24811880,"url":"https://github.com/wongpc0817/componentgarch","last_synced_at":"2026-05-16T18:36:38.543Z","repository":{"id":272347568,"uuid":"916284042","full_name":"wongpc0817/ComponentGARCH","owner":"wongpc0817","description":"In this project, we implemented both Heston-Nandi GARCH and Component Heston-Nandi GARCH process for Modelling VIX futures.   ","archived":false,"fork":false,"pushed_at":"2025-01-13T20:31:32.000Z","size":618,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-25T02:49:53.619Z","etag":null,"topics":["garch","option-pricing","python","statistical-models"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wongpc0817.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-13T19:55:46.000Z","updated_at":"2025-05-29T13:10:03.000Z","dependencies_parsed_at":"2025-01-13T21:23:27.250Z","dependency_job_id":"e7fc9082-cdda-401f-b684-69f12b9897c3","html_url":"https://github.com/wongpc0817/ComponentGARCH","commit_stats":null,"previous_names":["wongpc0817/componentgarch"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wongpc0817/ComponentGARCH","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wongpc0817%2FComponentGARCH","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wongpc0817%2FComponentGARCH/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wongpc0817%2FComponentGARCH/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wongpc0817%2FComponentGARCH/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wongpc0817","download_url":"https://codeload.github.com/wongpc0817/ComponentGARCH/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wongpc0817%2FComponentGARCH/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33114553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["garch","option-pricing","python","statistical-models"],"created_at":"2025-01-30T13:16:40.401Z","updated_at":"2026-05-16T18:36:38.508Z","avatar_url":"https://github.com/wongpc0817.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HNGARCH for VIX futures pricing\n\nIn this project, we implemented both Heston-Nandi GARCH and Component Heston-Nandi GARCH process for Modelling VIX futures. \n \n\n---\n## Experiment Results\nThe data used for the experiment is not provided here due to confidentiality. However, some brief results are listed here:\n\n\u003ctable\u003e\n  \u003ccaption\u003e\u003cstrong\u003eComparison of Normality Test Results for HNGARCH and Component GARCH Residuals\u003c/strong\u003e\u003c/caption\u003e\n  \u003cthead\u003e\n    \u003ctr\u003e\n      \u003cth\u003eTest\u003c/th\u003e\n      \u003cth\u003eHNGARCH\u003c/th\u003e\n      \u003cth\u003eComponent GARCH\u003c/th\u003e\n    \u003c/tr\u003e\n  \u003c/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eKolmogorov-Smirnov (K-S) Statistic\u003c/td\u003e\n      \u003ctd\u003e0.4881 (p=0.0)\u003c/td\u003e\n      \u003ctd\u003e0.4878 (p=0.0)\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eJarque-Bera (J-B) Statistic\u003c/td\u003e\n      \u003ctd\u003e53.2599 (p=2.72×10\u003csup\u003e-12\u003c/sup\u003e)\u003c/td\u003e\n      \u003ctd\u003e0.0931 (p=0.9545)\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eAnderson-Darling (A-D) Statistic\u003c/td\u003e\n      \u003ctd\u003e3.5501\u003c/td\u003e\n      \u003ctd\u003e0.5317\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eCritical Values for A-D\u003c/td\u003e\n      \u003ctd colspan=\"2\"\u003e0.575 (15%), 0.655 (10%), 0.786 (5%), 0.916 (2.5%), 1.09 (1%)\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eShapiro-Wilk (S-W) Statistic\u003c/td\u003e\n      \u003ctd\u003e0.9931 (p=7.46×10\u003csup\u003e-9\u003c/sup\u003e)\u003c/td\u003e\n      \u003ctd\u003e0.9992 (p=0.5040)\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\nThe results suggest that LSGARCH produces residuals closer to normality compared to HNGARCH. This could imply that Component GARCH is better suited for modeling scenarios where normality of residuals is desirable or expected.\n\n\n---\n## Repository Contents\nIn this repository, you will find:\n- `models` folder: contains the main `.py` files for various models. The primary models used in this project are `HNGARCH` and `ComponentGARCH`. Other models are included but may require corrections.\n- `main.ipynb`: demonstrates performing modeling and conducting statistical tests on modeling performance.\n\n---\n\n## How to Use\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/wongpc0817/ComponentGARCH.git\n   cd ComponentGARCH\n\n2. Install dependencies: \n    ```\n    pip install -r requirements.txt\n    ```\n\n3. Run the `main.ipynb` notebook.\n\n---\n## References\n1. Luca Vincenzo Ballestra, Enzo D’Innocenzo, and Christian Tezza. *A GARCH model with two volatility components and two driving factors*, 2024.  \n2. Peter Christoffersen, Kris Jacobs, Chayawat Ornthanalai, and Yintian Wang. *Option valuation with long-run and short-run volatility components*. Journal of Financial Economics, 90(3):272–297, 2008.  \n3. Jin-Chuan Duan. *The GARCH option pricing model*. Mathematical Finance, 5(1):13–32, 1995.  \n4. Steven Heston and Saikat Nandi. *A closed-form GARCH option valuation model*. Review of Financial Studies, 13:585–625, February 2000.  \n5. Gaoxiu Qiao, Gongyue Jiang, and Jiyu Yang. *VIX term structure forecasting: New evidence based on the realized semi-variances*. International Review of Financial Analysis, 82:102199, 2022.  \n6. Tianyi Wang, Yiwen Shen, Yueting Jiang, and Zhuo Huang. *Pricing the CBOE VIX futures with the Heston–Nandi GARCH model*. Journal of Futures Markets, 37(7):641–659, 2017.  \n7. Song-Ping Zhu and Guang-Hua Lian. *An analytical formula for VIX futures and its applications*. Journal of Futures Markets, 32(2):166–190, 2012.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwongpc0817%2Fcomponentgarch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwongpc0817%2Fcomponentgarch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwongpc0817%2Fcomponentgarch/lists"}