开拓者期货期权程序化系统交易论坛

标题: 疑问 [打印本页]

作者: 庄雅悯    时间: 2008-8-13 00:31:11     标题: 疑问

sellshort(1,open)和sellshort(1,open,true)
存在区别吗?
作者: nopain    时间: 2008-8-13 09:06:41

有区别,假设在日线上,一个是今天买入,一个是用今天的开盘价在明天买入

如果您要写sellshort(1,open,true),也应该是写作sellshort(1,Nextopen,true)
作者: 庄雅悯    时间: 2008-8-13 22:48:25

sellshort(1,open,true)是否类似于sellshort(1,open,1)?
就是延迟到下一个Bar发送委托
那是否有sellshort(1,open,false)
作者: 庄雅悯    时间: 2008-8-14 13:49:10


作者: nopain    时间: 2008-8-14 15:38:26

sellshort(1,open,true)和sellshort(1,open,1)是一样的
SellShort(1,Open,False)和sellshort(1,open)是一样的
作者: 庄雅悯    时间: 2008-8-14 18:52:28

知道了,谢谢




欢迎光临 开拓者期货期权程序化系统交易论坛 (http://bbs.tb18.net/) Powered by Discuz! X2