# Portfolio Collateralization

## Collateral Optimization

Collateral Optimization enables the above-mentioned collateral requirements to be determined on a portfolio basis, which results in lower overall collateral requirements because of the presence of offsetting or partially offsetting trades. Instead of collateral being determined on a trade-by-trade basis, collateral required is based on the maximum loss in the user’s portfolio of Ithaca products as a whole.

## Portfolio Collateral Optimization Process:

1. When a user places an order, the standard collateral per the collateral requirements is locked up.
2. After execution of the order in step 1), the Ithaca Collateral Optimization engine computes the required collateral for the user’s portfolio of Ithaca contracts and returns any excess collateral posted to the user. Collateral Optimization allows collateral requirements to be determined by the users’ portfolio maximum potential loss.

## Portfolio Collateral Requirements

1. Calculate the quantity of ETH needed as collateral when the ETH price at expiry approaches infinity.
2. Calculate USDC collateral required when ETH price at expiry:
   1. At each portfolio strike&#x20;
   2. At each strike +/- a small increment (to check for Payoff discontinuities)
   3. Zero
3. Compute 1) minus each of the amounts calculated in 2). If any of these amounts is negative, the amount of USDC collateral required is the minimum of the negative amounts.
4. The total collateral required is 1+3.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ithacaprotocol.io/docs/architecture/post-match-processing/collateral-optimization-engine/portfolio-collateralization.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
