> For the complete documentation index, see [llms.txt](https://docs.stockhero.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stockhero.ai/connecting-brokerage/etoro.md).

# eToro

Please log in to your eToro account and navigate to Settings >> Trading. See image below.

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

Click the "Trading" option.

Scroll down the page to the **"API Key Management"** section and click **"Create Your API Key"**.

A pop-up window will appear.

In the **Key Name** field, enter any descriptive name you prefer, such as **"StockHero Demo Trading"**.

Next, select the appropriate environment:

* **Real** – for live trading with real funds.
* **Demo** – for paper trading in the eToro Demo (paper) environment.

Please note that StockHero supports both eToro Live Trading and Demo environments.

Under **Access Permissions**, enable both:

* **Read Access**
* **Write Access**

Click **"Generate Key"** and complete the required verification process.

**Important:** Once the API credentials have been generated, copy both the **API Key** and **API Secret** and paste them into the corresponding eToro API Key and API Secret fields in StockHero.


---

# 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:

```
GET https://docs.stockhero.ai/connecting-brokerage/etoro.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.
