# Activity

### **Activity Tab - Overview**

The **Activity Tab** provides the current and a detailed history of the user's activity on the platform, including loans, repayments, and other transactions. This section is designed to help users track and manage their activities effectively.

#### **Key Features**

1. **Filter Activities by Status**:
   * A **dropdown filter** allows users to view specific types of activities:
     * **All loans**: Displays all loan activities.
     * **Ongoing**: Shows active loans.
     * **Repaid**: Lists loans that have been fully repaid.
     * **Liquidated**: Highlights loans that were liquidated.
     * **Sold**: Shows loans that were sold through Market Sell.
2. **Export to CSV**:
   * A button next to the filter allows users to export their activity history as a **CSV file** for offline review or record-keeping.
3. **Activity Table/Grid**:
   * The activities are displayed in a structured table or grid format with the following columns:
     * **Collateral**: The asset or NFT used as collateral.
     * **Type**: Indicates whether the activity was **Lent** or **Borrowed**.
     * **Loan Amount**: The amount of the loan.
     * **Collateral Value**: The value of the collateral provided.
     * **PnL**: Profit and Loss for the activity.
     * **Interest**: The interest incurred or earned.
     * **Ends At**: The end date of the loan or activity.
     * **Status**: Displays the current status of the activity (**Ongoing**, **Repaid**, **Liquidated**, or **Sold**).
     * **Loan Details Icon**: A small "i" icon provides detailed information about the loan when hovered over with the mouse.

#### **Use Case**

The **Activity Tab** is ideal for users who want to:

* Monitor the status of their loans and other activities.
* Export transaction histories for financial tracking or reporting.
* Review details of specific loans, such as terms, interest, and performance.

This tab offers a centralized view of user activities, enabling better tracking and management of platform interactions.

***

This documentation outlines the functionality and purpose of the **Activity Tab**, highlighting its filtering and export capabilities alongside detailed activity tracking.

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


---

# 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.rain.fi/account/dashboard/activity.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.
