lyx66
Hi~I am a Ph.D. student at CUHK Business School. My coding interests include financial time series modeling & ML.
Chinese University of Hong KongHongKong
Pinned Repositories
arch
ARCH models in Python
Auto-Correct-Indian-City-State-names-
Factor-augmented-vector-autoregressive-FAVAR-WINRATS-code-package-
A powerful & convenient package for a two-step estimation method of the Factor augmented VAR (FAVAR) model, which is mainly based on RATS 10.0 .
Get-Coordinates-Using-the-Fuzzy-Names-of-Places
This code is used to get coordinates (i.e., latitude and longitude) of some places using their fuzzy names from Google Maps.
Get-Daily-Histrorical-Weather-Data-by-Coordinates
Code Find_weather is used to get daily histrorical weather data by coordinates (i.e., latitude & longitude) from NASA. Besides, code Find_AQ can be used to obtain hourly histrorical air pollution data by coordinates from OpenWeather API.
MNIST-Image-Recognition-Based-on-Xgboost-Algorithm-and-Features-Extraction
Different from the common practice of MNIST image recognition using CNN algorithm, I apply Numpy and OpenCV to extract relevant features from each MNIST figure, and then trains Xgboost recognition model. After gradually adjusting parameters, the accuracy of the optimal model on the test set can reach 88%. In additon, since I've made extensive use of the broadcasting-mechanism of NumPy instead of loops when coding, the code can run at an excellent speed.
Option-Hedging-Strategy-Modeling-based-on-Time-Value
Python code for a trading strategy based on time value performed in the SSE 50ETF option market.
STATA-Code-for-Constructing-Tail-Risk-Network
This is the STATA code that I used to compute pair-wise tail risk spillover, which is oputed by a R code, across 38 industries in China.
STATA-Code-for-Negative-Shock-for-Each-Industry
This is the STATA code that I used to compute yearly shock, which is based on the financial data of listed companies, for 38 industries in China.
Value-at-Risk-VaR-Based-on-Historical-Simulation-in-Conjunction-with-GARCH-Model
Python code for rolling Value at Risk(VaR) of fiancial assets and some of economic time series, based on the procedure proposed by Hull & White(1998).
lyx66's Repositories
lyx66/Factor-augmented-vector-autoregressive-FAVAR-WINRATS-code-package-
A powerful & convenient package for a two-step estimation method of the Factor augmented VAR (FAVAR) model, which is mainly based on RATS 10.0 .
lyx66/Value-at-Risk-VaR-Based-on-Historical-Simulation-in-Conjunction-with-GARCH-Model
Python code for rolling Value at Risk(VaR) of fiancial assets and some of economic time series, based on the procedure proposed by Hull & White(1998).
lyx66/Option-Hedging-Strategy-Modeling-based-on-Time-Value
Python code for a trading strategy based on time value performed in the SSE 50ETF option market.
lyx66/MNIST-Image-Recognition-Based-on-Xgboost-Algorithm-and-Features-Extraction
Different from the common practice of MNIST image recognition using CNN algorithm, I apply Numpy and OpenCV to extract relevant features from each MNIST figure, and then trains Xgboost recognition model. After gradually adjusting parameters, the accuracy of the optimal model on the test set can reach 88%. In additon, since I've made extensive use of the broadcasting-mechanism of NumPy instead of loops when coding, the code can run at an excellent speed.
lyx66/STATA-Code-for-Constructing-Tail-Risk-Network
This is the STATA code that I used to compute pair-wise tail risk spillover, which is oputed by a R code, across 38 industries in China.
lyx66/arch
ARCH models in Python
lyx66/Get-Coordinates-Using-the-Fuzzy-Names-of-Places
This code is used to get coordinates (i.e., latitude and longitude) of some places using their fuzzy names from Google Maps.
lyx66/Get-Daily-Histrorical-Weather-Data-by-Coordinates
Code Find_weather is used to get daily histrorical weather data by coordinates (i.e., latitude & longitude) from NASA. Besides, code Find_AQ can be used to obtain hourly histrorical air pollution data by coordinates from OpenWeather API.
lyx66/STATA-Code-for-Negative-Shock-for-Each-Industry
This is the STATA code that I used to compute yearly shock, which is based on the financial data of listed companies, for 38 industries in China.
lyx66/Auto-Correct-Indian-City-State-names-
lyx66/Indian-Yields-Curve-Data-set
lyx66/limyingxin
lyx66/noaahist
Python API to get historical data from the NOAA weather station nearest a location specified by zip code or latitude / longitude
lyx66/Draw-CDF-of-2-lottery
lyx66/FALdetector
Code for the paper: Detecting Photoshopped Faces by Scripting Photoshop
lyx66/firmlevelrisk
Example code to create firm level risk in Hassan et al. (2020)