Imported from previous forum
Hi,
What kind of message shoud I send to close a position?
Regards,
Yan
I assume that you have a trade resulting from an order having PositionEffect(77) set to O=Open. The answer to your question is then to use TradeCaptureReport(MsgType=AE) where you set PositionEffect(77) of the trade to C=Close. The recipient then has to validate the request, i.e. whether it is possible or a closing error occurs due to insufficient position quantities, e.g. due to the trade (or part of it) having been subject to a give-up.
Regards,
Hanno.
Hi,
What kind of message shoud I send to close a position?
Regards,
Yan