I'm trying to configure a strategy where the size of the entry is determined by the account size at that point (multi instrument portfolio/basket test).
However when I use the EnterShort or EnterLong method it does not allow me to pass this variable into it; it must be EnterLong (int, string) or just EnterLong (int) it seems.
I would like, for example, to have something like EnterLong (AccountSize*.02) where it the size of the entry would be 2% of the account size (QTY purchased would be obtained by currency value of 2% of account divided by price per contract).
How can I do this?
Thanks,
Ciaran

Comment