quantOS-org / JAQS

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

使用JAQS集成vnpy实盘交易,上期所不能平今 #21

Open slashqiang opened 6 years ago

slashqiang commented 6 years ago

比如持有今开的一手空单rb1805.SHF 通过 context.trade_api.place_order('rb1805.SHF','Cover',3915,1),vnpy侧能看到报单,但是会返回据单,因为仓位不足. 通过 context.trade_api.place_order('rb1805.SHF','CoverToday',3915,1),返回timeout,在vnpy侧未能看到报单信息.