if(Position.MarketPosition == MarketPosition.Long)
I get that one uses Position Info and the other uses Account position info but I am using them when pressing buttons and the bottom line gives an obj instance error which I don't understand as it merely determines whether or not we have a long position.
Can someone explain what I am missing here?
Edit - I should add that I am instantiating an order on the press of this button.
Comment