> For the complete documentation index, see [llms.txt](https://cryptoquote.gitbook.io/cryptoquote/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cryptoquote.gitbook.io/cryptoquote/apis/analytics-apis/markets/trend-directions.md).

# Trend Directions

<mark style="color:orange;">**Description**</mark>

Trend Directions API ranks securities with consecutive price increase/decrease or no change. Returns a list of securities that are UP, DOWN or NO CHANGE for a specified number of trading days.

* All Exchanges

  * or by a selected exchange

* Filter results by
  * Trend UP/DOWN/NO CHANGE

  * Trend Days (1 - 20)

  * Sort Field

    * Open
    * High
    * Low
    * Close
    * Volume
    * 1 Day $Change&#x20;
    * 1 Day Return %

  * Sort Order&#x20;

    * Ascending&#x20;
    * Descending&#x20;

  * Limit Records&#x20;

{% embed url="<https://www.youtube.com/watch?index=53&list=PLog30vtb4ZA76-tBWML69sR_RuKNn1kaB&v=Seyrz6y1QYg>" %}

<mark style="color:orange;">**End Point**</mark>

<figure><img src="/files/K8SDZS5sAU9LxAeLGGIE" alt=""><figcaption></figcaption></figure>

<mark style="color:orange;">**Example**</mark>

Get Top 10 cryptocurrency symbols which are UP for 5 consecutive days on Gemini exchange

<figure><img src="/files/8ABXpiBMHrVuiSIn8lav" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/kCcESb6tLEplXSv6V6fY" alt=""><figcaption></figcaption></figure>

<mark style="color:orange;">**Use Cases**</mark>

**Active Trader:**&#x20;

* Identify securities that are trending UP/DOWN/NO CHANGE across one to many exchanges and asset classes

**Exchange or Brokerage**&#x20;

* Personalize your client engagement by issuing an alert when a security in a client’s watchlist or portfolio is included in the returned results&#x20;

## [Click here for a Free API key](https://www.cryptoquote.io/register) then [**Test the API yourself!**](https://www.cryptoquote.io/api_doc?code=movers_trend_directions\&page=api_analytics)&#x20;


---

# 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, and the optional `goal` query parameter:

```
GET https://cryptoquote.gitbook.io/cryptoquote/apis/analytics-apis/markets/trend-directions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
