统计套利的配对交易就是基于数学分析的交易策略,利用两只证券的价差(spread)来获取套利机会。价差具有一定关系的两只证券可能存在协整关系(cointegration)。 阅读全文

LiuKK
Jul 9, 2016
matlab project 2——蒙特卡洛模拟的美式期权 Stock prices sometimes change by large values in short periods of time, making a jump diffusion model be a more appropriate model to capture this characteristic than a plain diffusion model. We extend the Black-Scholes to include jumps, resulting in the following model in risk-neutral world, where Yi ~U(1.1, 1.3) and N(t) is a Poisson process with lambda=4 per year. 阅读全文

LiuKK
Jun 28, 2016
Project 1 a 计算苹果股票1980年至今的平均年收益率和年波动率,收益率为 0.1534,波动率为 0.4782 。代码如下: 阅读全文

LiuKK
May 15, 2016
scikit-learn线性和二次判别分析 线性判别分析和二次判别分析是两个经典的分类器,就像他们的名字所表示的一样,一个是用线划分,另一个是二次判别面来划分。 这些分类器很好用,因为他们的封闭解法很容易计算,并且他们天生就可以用于多个类。他们在实践中表现得很好并且没有要调整的超参数。 阅读全文

LiuKK
Mar 27, 2016