Skip to content

Quantstrat - trading not just Crossovers (e.g. Moving Average)

3 messages · Igor Chernukhin, Brian G. Peterson, Joshua Ulrich

#
On Mon, 2011-08-22 at 17:19 +0200, igor_vilcek_external at tatrabanka.sk
wrote:
use osMaxPos and set a maximum position instead of the default osNoOp
order sizing function.

Details in the documentation, or I can work up a quick example later in
the week.

Regards,

  - Brian
2 days later
#
On Mon, Aug 22, 2011 at 10:33 AM, Brian G. Peterson <brian at braverock.com> wrote:
I just wrote a blog post with an example strategy that uses osMaxPos
and addPosLimit to do this.  Here's the link: http://goo.gl/yBKDr

Best,
Josh
--
Joshua Ulrich  |  FOSS Trading: www.fosstrading.com