智能交易公式
来自tradeStar帮助系统
(版本间的差异)
(以“智能交易脚本是量化交易思路的表达形式 ==交易语句== '''语法''' ('SellShort' | 'Sell' 'Short') ['(' "EntryLabel" ')'] [TradeSize] EntryType ...”为内容创建页面) |
|||
| 第21行: | 第21行: | ||
==实盘函数== | ==实盘函数== | ||
| + | |||
| + | ==限价,追价,市价单== | ||
| + | |||
| + | ==止盈,止损,跟踪止损,震荡止损,保本止损== | ||
2013年6月3日 (一) 03:07的版本
智能交易脚本是量化交易思路的表达形式
目录 |
交易语句
语法
('SellShort' | 'Sell' 'Short') ['(' "EntryLabel" ')'] [TradeSize] EntryType
'Buy' ['(' "EntryLabel" ')'] [TradeSize] EntryType
'Sell'['(' "ExitLabel" ')'] [From Entry("EntryLabel")] [TradeSize[Total]] ExitType
('BuyToCover' | 'Buy' 'To' 'Cover' ) [("ExitLabel")][From Entry("EntryLabel")] [TradeSize[Total]] ExitType
EntryType: ( This Bar[On]Close | Next Bar[At]Open or Next Bar[At]Market | Next Bar[At]Price Limit | Next Bar[At]Price Stop )
ExitType: ( This Bar[On]Close | Next Bar[At]Open or Next Bar[At]Market | Next Bar[At]Price Limit | Next Bar[At]Price Stop )
('次周期'|'本周期') [价格] [类型] ('买入'|'卖开') [数量] ['标记为' '开仓标记'];
('次周期'|'本周期') [价格] [类型] ['从标记' '开仓标记'] ('卖出'|'买平') [数量] ['标记为' '平仓标记'];
类型: ('追价'|'限价'|'市价')