Hi,

I'm opening a position like this:

var order = MarketOrder(_symbol, Portfolio.CashBook.TotalValueInAccountCurrency); order.Update(new UpdateOrderFields{StopPrice = forex.AskPrice-0.0050m});

 

How can I close this position?

I tried using Liquidate() but it isa not working.

 

Thank you!!