Posted By: mustang
How do I open only 1 position per asset? - 09/29/14 03:02
Basic question: how do I open only 1 position per asset without using MaxTrades?
Thanks!
Posted By: jcl
Re: How do I open only 1 position per asset? - 09/29/14 10:34
Either limit the positions by script, or use the reverseLong/Short functions that limit the positions automatically.
Posted By: mustang
Re: How do I open only 1 position per asset? - 09/29/14 13:50
Would you please provide a short code as an example?
I could not find examples in the documentation.
Posted By: jcl
Re: How do I open only 1 position per asset? - 09/29/14 14:09
The manual has a "Search" function. So it should not be too hard to find the examples in the documentation. Also, workshop 7 covers these functions.
Posted By: mustang
Re: How do I open only 1 position per asset? - 09/29/14 15:40
Yes, it works with and NumOpenLong < 1 and NumOpenShort < 1 both covered in Workshop7.
Thanks you!