以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://weistock.com/bbs/index.asp)
--  公式模型编写问题提交  (http://weistock.com/bbs/list.asp?boardid=4)
----  [求助] buy不同写法的区别  (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=49673)

--  作者:billyu
--  发布时间:2013/3/14 9:15:04
--  [求助] buy不同写法的区别

你好,请教一下,在程序里面,这两种写法对于实盘运行的时候有区别吗?

if cond then buy(1,1,thisclose);

buy(cond,1,thisclose);


--  作者:just1
--  发布时间:2013/3/14 9:17:57
--  
没有区别