Skip to content
Prev 13879 / 15274 Next

Exit Order By Current Position Info

On Fri, 2016-04-22 at 17:26 +0200, Diego Peroni wrote:
Work through the luxor examples that replicate Tomasini.

The takeprofit examples are luxor.5.strategy.ordersets.R and
luxor.6.paramset.takeprofit.R

Fundamentally, you need ordersets and chained orders.  We covered all of
this in great detail in our quantstrat seminar a few years ago at
R/Finance:

http://www.rinfinance.com/agenda/2013/workshop/Humme+Peterson.pdf

don't cut and paste code out of the slides.  The demo scripts are
updated to adjust for changes in R and the required packages, the slides
are obviously static.

Regards,

Brian