- Knowledge Base
- Terminology & Identifiers
- KOR Defined Terms
How do KOR calculate the close date?
KOR calculates a close date on all messages to determine if the trade should be present in any "open" swaps reports.
Close Date Calculation Logic:
When a Transaction message is submitted, KOR populates the “closeDate” with the same value in the “Expiration date” field value in the format YYYY-MM-DD.
The exception is if:
- [Action type] = "PRTO", then close date = date portion of [Event timestamp]
- [Action type] = "EROR", then close date = null (meaning it was never open)
- [Action type] = "TERM", then close date = [Early termination date]
- AND subsequent messages do NOT update the [Close Date] unless
[Action type] = "REVI", then close date = [Expiration date]- This is why the [Early termination date] is required on any actions after a TERM that is not a REVI.
- AND subsequent messages do NOT update the [Close Date] unless
What is an Open Swap?
“Open” swaps are defined by any and all unique trades by UTIs (or USIs)
-
That have been submitted and passed all validation requirements, and
-
Whose close date is greater than current date (NOT = to current date).