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

# Algorithms

Guide to PinoAPI Algorithms.

### <mark style="color:blue;">PinoAPI leverages code and data analytics to develop advanced algorithms. Our team combines market expertise, real-life experience, and technical skills to create algorithms that perform well in all market conditions.</mark>

### Advantages of algorithmic trading

By using algorithms in financial markets, one could gain a significant edge in terms of speed, data processing, and predetermined risk. These factors can greatly increase the probability of making the right decisions.

{% hint style="warning" %}
When badly configured, algorithms can cause significant loss to your portfolio.\
Make sure to always double check your configuration before activation!
{% endhint %}

### Our selection

{% tabs %}
{% tab title="Idle" %}

### Idle

Idle is PinoAPI's flagship algorithm, which, when combined with the right risk management, is capable of running for months without requiring any manual interaction.

* **Timeframe:** Weeks (higher-timeframe ranges and slow grinds)
* **Risk level:** <mark style="color:green;">Low</mark>
* **Structure:** HTF range or dead trend — not a fresh breakout
* **Set and forget:** Yes — Risk Preset Low
* **Market:** Volume not expanding vs the last two weeks. Open interest flat or slowly falling. No squeeze
* **Instrument(s):** Majors and slow names (BTC, ETH, large caps). Avoid thin alts and one-day runners
* **Plans:** [<mark style="color:blue;">Demo</mark>](/documentation/overview/plans.md#demo-1), [<mark style="color:green;">Intermediate</mark>](/documentation/overview/plans.md#intermediate-1), [<mark style="color:yellow;">Advanced</mark>](/documentation/overview/plans.md#advanced-1)

**When not to use:** Volume expanding with direction, OI rising with price, or a shock day you are “buying cheap.” Idle will fill early, then you live in HODL in a trend.

{% hint style="info" %}

### Defensive:

In traditional markets, we would classify Idle as defensive. The algorithm allows its configurator to have a laid-back approach without spending too much time in front of the screen.
{% endhint %}
{% endtab %}

{% tab title="R\&R" %}

### R\&R

R\&R is PinoAPI's intermediate algorithm, which, when combined with the right risk management, is capable of generating high returns without any manual interaction.

* **Timeframe:** Days to \~1 week
* **Risk level:** <mark style="color:orange;">Medium</mark>
* **Structure:** Two-sided swings (up days and down days), not a one-way trend
* **Set and forget:** Mostly — Risk Preset Low/Medium
* **Market:** Volume two-sided, near recent average — not a climax. OI oscillates (builds and sheds), not at an extreme with price
* **Instrument(s):** Majors and liquid alts that actually rotate, not only spike
* **Plans:** [<mark style="color:green;">Intermediate</mark>](/documentation/overview/plans.md#intermediate-1), [<mark style="color:yellow;">Advanced</mark>](/documentation/overview/plans.md#advanced-1)

**When not to use:** One-way tape (volume + OI + price together)

{% hint style="info" %}

### Conservative:

In traditional markets, we would classify R\&R as conservative. The algorithm allows its configurator to have an active approach with balanced screen time.
{% endhint %}
{% endtab %}

{% tab title="Mars Attack" %}

### Mars Attack

Mars Attack is an advanced low timeframe algorithm that is capable of generating extremely high returns in ranging markets.

* **Timeframe:** Intraday to \~24 hours
* **Risk level:** <mark style="color:red;">High</mark>
* **Structure:** Today’s range / expansion — not a multi-week grind
* **Set and forget:**  No
* **Market:** Volume up vs the last quiet days. OI building with a move you agree with, or a crowded side you fade with small weight
* **Instrument(s):** Alts and majors that are actually moving today
* **Plans:** [<mark style="color:yellow;">Advanced</mark>](/documentation/overview/plans.md#advanced-1)

**When not to use:** Boring session (flat volume and OI). Blow-off (volume climax and OI already crashing)

{% hint style="info" %}

### Aggressive:

In traditional markets, we would classify Mars Attack as aggressive. The algorithm requires its configurator to have an active approach to the market, with constant screen time and low timeframe decision making.
{% endhint %}
{% endtab %}
{% endtabs %}

### What algorithm to pick?

If you run an [Auto API](https://docs.pinoapi.com/documentation/changelog/auto), we handle the algorithms for you. However, if you prefer a [manual API](https://docs.pinoapi.com/documentation/beginners/getting-started#id-4.-manual-or-auto), we recommend performing [market analysis](https://docs.pinoapi.com/documentation/beginners/first-analysis) to determine the current market structure, trend, and form a bias. Based on your analysis, you can configure a new setup and start trading.
