Skip to content
All library documents

How Net-Position Conversion Closes Spread Trades

Article vn.py community

Summary

This forum exchange addresses why a spread-trading algorithm may submit orders marked as opening even when the strategy intends to close a position. A trader observes that closing a long spread appears to send orders in the opposite directions, which raises concern that positions and capital usage will accumulate.

The response points to the offset converter as the component that translates the generic opening offset according to current holdings. The discussion clarifies the net-position behavior: an order closes an existing position when one is available and opens a position when no matching position exists. This provides a useful distinction between the offset initially attached to an order request and the eventual position effect. The explanation is brief and does not detail converter rules for different exchanges, account modes, or mismatched leg quantities, so those implementation specifics need separate verification.

Key ideas

  • A spread strategy can express an intended close while the initial order request carries an opening offset.
  • An offset converter can interpret the order in light of current positions.
  • Under net-position behavior, existing holdings are closed before orders open new exposure.
  • The exchange and account-specific conversion rules are not explained in this discussion.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.