FIX Protocol - Closing Specific Positions in Hedging Account

I have a hedging account and am using FIX 4.4 protocol via ctrader_fix Python library.

Issue:

  • When I place an opposite order, it creates a NEW hedge position
  • I cannot close specific positions by their Position ID (field 721)

Questions:

  1. How do I close a SPECIFIC position by its Position ID in a hedging account?
  2. What FIX message type should I use?
  3. Are there broker-specific fields I need to include?
  4. Does cTrader support position-specific closing via FIX?

My current approach:

  • NewOrderSingle (D) with opposite side → Creates hedge
  • OrderCancelRequest (F) → ORDER_NOT_FOUND

Please provide the correct FIX method for closing specific positions.

Thank you!

Thank you for joining the community! We regret to note this. However, we would need to check further on your issue. Therefore, kindly reach out to us via live chat or WhatsApp, for better assistance and protection of your account’s data. We’ll work with you to resolve any issues as quickly as possible.