Marketposition Variable [SOLVED]
The market position variable does not work. It should give 1,0 or -1 depending on the position in the market (long,cash,short). Printing it reveals a weird value of 59373060.00
- Alex Kramer
- Posts: 834
- Joined: Feb 23 2006
Thanks for you attention, this is a known issue to be fixed.
- Alex Kramer
- Posts: 834
- Joined: Feb 23 2006
In the meantime you can use MarketPosition < 0, MarketPosition >0 instead of =-1, =1. This should work.
Sorry, that will not work. The value at the start is not 0 for flat but a positive value, so i can not test for not being in the market. Or is there another way to do that.