> For the complete documentation index, see [llms.txt](https://docs.candelacharts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.candelacharts.com/investing/risk-adjusted-performance/sortino-ratio/overview.md).

# Overview

Sortino Ratio Quick Specs

<figure><img src="https://3870127617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCBVnUk5c5TVytimjy972%2Fuploads%2Fgit-blob-c3ddeb57dc74cdf0cb0a9ec0028e4d9bdb733df1%2Fdocs-sortino-ratio-001.png?alt=media" alt=""><figcaption></figcaption></figure>

This implementation aligns the target (MAR) with your return type, computes excess returns per bar, and divides their average by the *downside* deviation over a lookback.

{% content-ref url="/pages/E2MSDXnqnLP5EucRuDeg" %}
[Features](https://docs.candelacharts.com/investing/risk-adjusted-performance/sortino-ratio/features.md)
{% endcontent-ref %}

{% content-ref url="/pages/anxUENaQ6ijkoK7eLL09" %}
[Usage](https://docs.candelacharts.com/investing/risk-adjusted-performance/sortino-ratio/usage.md)
{% endcontent-ref %}

{% content-ref url="/pages/mvgfhZ7PL0r2vrKlThgl" %}
[Confluences](https://docs.candelacharts.com/investing/risk-adjusted-performance/sortino-ratio/confluences.md)
{% endcontent-ref %}

{% content-ref url="/pages/UAtG6Jp8Fai6R4oAYraI" %}
[FAQs](https://docs.candelacharts.com/investing/risk-adjusted-performance/sortino-ratio/faqs.md)
{% endcontent-ref %}

You can annualize for comparability, switch between **Percentile Bands** (P50/P75/P90 etc.) and **Fixed Levels** (0/0.5/1/2/3), and use a right-edge label that summarizes percentile bucket or level.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.candelacharts.com/investing/risk-adjusted-performance/sortino-ratio/overview.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
