Hello,
looking at the quantstrat demos I realized that the only use fixed orderqty.
---
stratMACROSS <- add.rule(strategy = stratMACROSS,name='ruleSignal',
arguments = list(sigcol="ma50.gt.ma200",sigval=TRUE, orderqty=100,
ordertype='market', orderside='long'),type='enter')
---
By now I kow how to implement flexible orderqtys depending on account /
portfolio equity in blotter.
But if I use quantstrat the create trades loop is hidden, is there a way
to use flexible orderqty anyway?
regards,
Immanuel
_______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should
go.