Added a trade when opened but unable to record its status as closed.

How to do this?