Margin Service API - Objects
The Margin Service API defines the following objects.
Â
Error
The error object is used to represent an error that occurred.
Margin
The margin object is used to represent a margin calculation for a portfolio.
Name | XML Name | XML Type | Data Type | Min Occurs | Max Occurs | Description |
---|---|---|---|---|---|---|
Amounts |
| Element | 0 | 1 | The amounts calculated. | |
As-of Time |
| Attribute | 0 | 1 | The point in time at which the margin is calculated. | |
Create Time |
| Attribute | 0 | 1 | The time the margin record was created in the system. | |
ID |
| Attribute | 0 | 1 | The unique identifier for the margin assigned by CME CORE. | |
Portfolio ID |
| Attribute | 1 | 1 | The unique identifier for the portfolio for which the margin is calculated. | |
Settlement Indicator |
| Attribute | 0 | 1 | Indicates whether a margin is for settlement or not. | |
Settlement Qualifier |
| Attribute | 0 | 1 | Indicates the status of settlement for margins. | |
Update Time |
| Attribute | 0 | 1 | The time the margin record was last updated. | |
Transactions |
| Element | 0 | unbound | The transactions that will be added to the portfolio for margin calculation. |
Margin Amounts
The margin amounts object is used to represent the various amounts determined during margin calculation.
Name | XML Name | XML Type | Data Type | Min Occurs | Max Occurs | Description |
---|---|---|---|---|---|---|
Concentration |
| Attribute | 1 | 1 | Concentration or liquidity risk. | |
Currency |
| Attribute | 1 | 1 | The currency in which the amounts are calculated and expressed. | |
Initial |
| Attribute | 1 | 1 | The margin required to be collateralized in order to open a position. | |
Maintenance |
| Attribute | 1 | 1 | The minimum amount to be collateralized in order to keep an open position. | |
Non-option Value |
| Attribute | 1 | 1 | The profit or loss on the day of a position is then paid to or debited from the holder by the futures exchange. | |
Option Value |
| Attribute | 1 | 1 | The premium that they would need to pay to buy back the option and close out their position. |
Optimize Amounts
The optimize amounts object is used to represent the various amounts determined during optimize calculation.
Name | XML Name | XML Type | Data Type | Min Occurs | Max Occurs | Description |
---|---|---|---|---|---|---|
Concentration |
| Attribute | 1 | 1 | Concentration or liquidity risk. | |
Initial |
| Attribute | 1 | 1 | The margin required to be collateralized in order to open a position. | |
Maintenance |
| Attribute | 1 | 1 | The minimum amount to be collateralized in order to keep an open position. | |
Futures margin current portfolio |
| Attribute | 1 | 1 | SPAN®margin for the current allocation of futures in the SEG account. | |
Futures margin baseline portfolio |
| Attribute | 1 | 1 | SPAN®margin for all futures (OTC and SEG futures) in account. | |
Futures margin post-optimized portfolio |
| Attribute | 1 | 1 | SPAN®margin for SEG futures allocation identified by the Optimizer. | |
OTC margin current portfolio |
| Attribute | 1 | 1 | OTC IRS margin for the current allocation of IRS+OTC futures in the account. | |
OTC margin baseline portfolio |
| Attribute | 1 | 1 | OTC IRS margin for IRS positions only. | |
OTCÂ margin post-optimized portfolio |
| Attribute | 1 | 1 | OTC IRS margin for IRS + OTC futures identified by the Optimizer. |
Portfolio
The portfolio object is used to group transactions together for margining and analytics.
Name | XML Name | XML Type | Data Type | Min Occurs | Max Occurs | Description |
---|---|---|---|---|---|---|
Create Time |
| Attribute | 0 | 1 | The time the portfolio record was created in the system. | |
Description |
| Attribute | 0 | 1 | A textual description of the contents or usage of the portfolio. The following characters are allowable, some special characters are not: space !#%&'()+,-./0123456789:ABCDEFGHIJKLMNOPQRSTUVWXYZ_`abcdefghijklmnopqrstuvwxyz| | |
Entities |
| Element | 1 | 1 | Entities associated with the portfolio. | |
ID |
| Attribute | 0 | 1 | The unique identifier for the portfolio assigned by CME CORE. | |
Name |
| Attribute | 0 | 1 | The display name for the portfolio. The following characters are allowable, some special characters are not: space !#%&'()+,-./0123456789:ABCDEFGHIJKLMNOPQRSTUVWXYZ_`abcdefghijklmnopqrstuvwxyz| | |
Reporting Currency |
| Attribute | 0 | 1 | The currency used for reporting on the portfolio. Amounts calculated in the base currency for each transaction will be converted to this currency. The default value is USD. | |
Update Time |
| Attribute | 0 | 1 | The time the portfolio was last updated. |
Portfolio Entities
The portfolio entities entity describes the various entities which are associated with a portfolio.
Name | XML Name | XML Type | Data Type | Min Occurs | Max Occurs | Description |
---|---|---|---|---|---|---|
Clearing Member Firm ID |
| Attribute | 0 | 1 | The identifier of the clearing member firm to which the portfolio is associated. | |
Customer Account ID |
| Attribute | 0 | 1 | The identifier of the customer account to which the portfolio is associated. |
Portfolio Margin Amounts
The portfolio entities entity describes the various entities which are associated with a portfolio. These are available in CORE schema 1.2 and above (http://cmegroup.com/schema/core/1.2)
Name | XML Name | XML Type | Data Type | Min Occurs | Max Occurs | Description |
---|---|---|---|---|---|---|
Futures Pre-Portfolio Margining Amount | futPreAmt | Attribute | 0 | 1 | The margin amount for futures prior to portfolio margining. | |
Futures Post-Portfolio Margining Amount | futPostAmt | Attribute | 0 | 1 | The margin amount for futures after portfolio margining. | |
IRS Pre-Portfolio Margining Amount | futPreAmt | Attribute | Â Decimal | 0 | 1 | Â The margin amount for IRS prior to portfolio margining. |
IRS Post-Portfolio Margining Amount | otcPostAmt | Attribute | 0 | 1 | The margin amount for IRS after portfolio margining. | |
Difference Amount | diffAmt | Attribute | 0 | 1 | Margin Savings amount due to portfolio margining. |
Transaction
The transaction object is used to represent entities (such as trades, positions, and delta ladders) which can be used in margin calculations.
Name | XML Name | XML Type | Data Type | Min Occurs | Max Occurs | Description |
---|---|---|---|---|---|---|
ID |
| Attribute | 0 | 1 | The unique identifier for the transaction assigned by CME CORE. | |
Create Time |
| Attribute | 0 | 1 | The time the transaction record was created in the system. | |
Status |
| Attribute | 0 | 1 | Indicates the status of the transaction. | |
Update Time |
| Attribute | 0 | 1 | The time the transaction record was updated in the system. | |
Portfolio ID |
| Attribute | 0 | 1 | The unique identifier for the portfolio to which the analytic belongs. | |
Type |
| Attribute | 1 | 1 | The type of transaction. | |
Error |
| Element | 0 | 1 | The error for the transaction. | |
Payload |
| Element | 0 | 1 | The payload containing the actual transaction. |
Transaction Payload
The transaction payload object is used to contain the actual contents of a transaction, and contains the transaction in a format such as FIXML or FpML.
Name | XML Name | XML Type | Data Type | Min Occurs | Max Occurs | Description |
---|---|---|---|---|---|---|
Format |
| Attribute | 1 | 1 | The format for the transaction payload. | |
Format Version |
| Attribute | 0 | 1 | Version name for the format. This is not currently required. | |
String |
| Element | 0 | 1 | Payload content in raw string encoding. Content must be wrapped a |
How was your Client Systems Wiki Experience? Submit Feedback
Copyright © 2024 CME Group Inc. All rights reserved.