R 的金融交易
Ilya Kipnis
Professional Quantitative Analyst and R programmer
add.rule(strategy.st, name = "ruleSignal",
arguments = list(sigcol = "filterexit",
sigval = TRUE, orderqty = "all",
ordertype = "market",
orderside = "long",
replace = FALSE, prefer = "Open"),
type = "exit")
replace:TRUE 會取消其他訊號,否則為 FALSE
prefer:進場定價依據
R 的金融交易