‘ALL-IN-ONE’ margin call is an all-inclusive margin calculation request that allows a user to specify transactions and/or a portfolio id that was created using an earlier call. This call is limited to one portfolio at a time. This features allows a single asynchronous request to build a portfolio, add transactions, and request margin calculation.
Enabling ALL-IN-ONE Margin Call
To enable this feature, use the API version 1.1 schema or above or above and complete the following steps:
- Append a “?complete = true” request parameter to the margin request, such as /MarginServiceApi/margins?complete=true
- Include either transactions or a portfolio id in the ‘marginReq’ xml
Sample Request Message
Sample Response Message
Sample Request Formats
CSV All In One request
FIXML All in One Request
FpML All in One Request
Cross Margin IRS and Futures All In One Request
JSON All In One Request
Used for Futures and Options portfolios
Polling For Your Results
Use the Id (e.g.="123456") and use it to poll for your margin results.