# Key Functions

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

Waveform's core functionality revolves around enabling autonomous trading and user-driven customization. Below are its primary functions and their roles in the system:

1. **Data Collection**:
   * **Function**: Automatically scrapes data from social platforms and web pages.
   * **How to Use**:
     * Use `getRandomMention` to monitor Twitter mentions.
     * Use `checkTelegram` to analyze discussions in Telegram groups.
   * **Purpose**: Provides the foundation for trend detection and sentiment analysis.
2. **Sentiment Analysis**:
   * **Function**: Uses AI to assess market sentiment from collected data.
   * **How to Use**:
     * Configure accounts to monitor in the dashboard.
   * **Purpose**: Identifies positive or negative sentiment to guide trading decisions.
3. **Trading Execution**:
   * **Function**: Executes buy/sell orders autonomously.
   * **Purpose**: Automates trading actions based on AI-driven insights.
4. **Profit Sharing**:
   * **Function**: Redistributes earnings from trades.
   * **How to Use**:
     * Claim profits through the "Claim Profits" page on the web interface.
   * **Purpose**: Incentivizes collaboration among users and token holders.


---

# 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.waveform.finance/core-components/key-functions.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.
