quantOS-org / JAQS

http://www.quantos.org/jaqs/
Other
619 stars 343 forks source link

fixed error when calculate adjust_factor for other asset except for s… #39

Open wicky08 opened 6 years ago

wicky08 commented 6 years ago

当使用DataService初始化DataView时,如果标的物不是股票,当计算除权调整系数的时候会出错。

我增加了一段代码,对于所有不是股票的标的物,都会返回调整系数1