if(Position.MarketPosition == MarketPosition.Long || Position.MarketPosition == MarketPosition.Short)
The other thing is (and I did not notice that one until today) that one position actually STAYED open and I manually closed it this afternoon.
Of course both transactions produced a loss. Now, will that happen in live mode? what is going on? I'd like to know before I go live with this thing.
One more question, is there any way to delete those transactions from my records as I don't want to have to move it to excel every time to see how actually my strategy is doing?
Comment