poboquant icon indicating copy to clipboard operation
poboquant copied to clipboard

查询期权到期日的GetOptionsLastDates函数还应该能针对特定期权合约来查询

Open qmhedging opened this issue 6 years ago • 0 comments

目前 GetOptionsLastDates函数 只能输入期权的标的资产,比如50ETF或豆粕期货,查询返回一个到期日的list,比如[2018-01-15,2018-02-15,2018-03-15....,]

如果还能直接针对期权合约查询,比如直接查m1901-C-3300,返回2018-12-07会更加方便,节省了从list里取一个日期的步骤。

qmhedging avatar Nov 12 '18 04:11 qmhedging