> For the complete documentation index, see [llms.txt](https://docs.optionalpha.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.optionalpha.com/technical-documentation/calculations.md).

# Calculations

- [Profit and Loss](https://docs.optionalpha.com/technical-documentation/calculations/profit-and-loss.md): An overview of how profit and loss are calculated and displayed on the bot dashboard.
- [Decision Properties](https://docs.optionalpha.com/technical-documentation/calculations/decision-properties.md): Security object details and the various properties used to create decisions.
- [Decision Calculations](https://docs.optionalpha.com/technical-documentation/calculations/decision-calculations.md): Overview of the calculations used by decision recipes to determine position value.
- [Parameter Selection](https://docs.optionalpha.com/technical-documentation/calculations/parameter-selection.md): Technical explanations on how calculated input parameters are chosen.
- [Probability](https://docs.optionalpha.com/technical-documentation/calculations/probability.md): Probability and chance are used synonymously. Any decision recipes describing the probability or chance of something happening will be calculated by the probability formula described here.
- [Probability Theory](https://docs.optionalpha.com/technical-documentation/calculations/probability-theory.md): Implied volatility (IV) and historical volatility (HV) are essential measures in probability theory. Learn why Option Alpha uses HV for calculating the probability of a future price.
- [Understanding Alpha and Expected Value](https://docs.optionalpha.com/technical-documentation/calculations/understanding-alpha-and-expected-value.md): Explore the math behind Expected Value (EV) for defined-risk options trades. We discuss Trade Ideas 2.0's groundbreaking EV-based Alpha metric.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.optionalpha.com/technical-documentation/calculations.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.
