How Chinese Futures Exchanges Affect Lock-Conversion Order Offsets
Summary
The document presents a question about why a futures order-conversion routine treats Shanghai Futures Exchange and Shanghai International Energy Exchange contracts differently when converting a request to lock a position. The included logic checks whether opposing positions are available and divides the requested volume between closing yesterday’s position and opening a new one.
For exchanges outside that pair, available same-day opposing volume can be locked by converting the request to an opening order. In the other branch, the routine first closes available opposing yesterday positions, using a close-yesterday offset for the two named exchanges and a general close offset elsewhere, then opens any remaining volume. The source gives the implementation but no explanatory answer, exchange rule citations, or worked trade example, so the regulatory or operational reason for the distinction is not established in the document.
Key ideas
- The routine checks opposing same-day and yesterday position availability before converting a lock request.
- For exchanges outside SHFE and INE, available same-day opposing volume can be converted to an opening order.
- The alternate branch closes available yesterday positions before opening any remaining volume.
- SHFE and INE use a distinct close-yesterday offset in the shown logic.
- The document raises the rationale as a question but does not answer it or cite exchange rules.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.