[R-SIG-Finance] Adding "Stoploss disabled" to the parameter distribution for apply.paramset

Atakan Okan atakanokan at outlook.com
Fri May 26 12:34:15 CEST 2017


Hi,


Is it possible to add a "disabled" option to the parameter distribution (for stoploss, stoptrailing, takeprofit)? So the typical parameter distribution contains a vector of integers, but how would I go about adding the "disabled stoploss" configuration to the parameter distribution? Adding "0" to the parameter distribution did not disable stoploss/takeprofit but made them execute immediately when there is a price change.


Thanks,


Atakan Okan



	[[alternative HTML version deleted]]



More information about the R-SIG-Finance mailing list