whatisgithub

What is etoro-portfolio-agent?

mattsebastianh/etoro-portfolio-agent — explained in plain English

Analysis updated 2026-05-18

1PythonAudience · pm founderComplexity · 3/5LicenseSetup · moderate

In one sentence

A Claude Code agent that manages your eToro portfolio through chat, with confirmation-gated trades and built-in risk rules.

Mindmap

mindmap
  root((repo))
    What it does
      Tracks eToro portfolio
      Analyzes instruments
      Confirmation gated trading
    Tech stack
      Python
      MCP server
      Claude Code
      eToro API
    Use cases
      Check portfolio and PnL
      Analyze a stock via chat
      Run a weekly risk review
    Audience
      Retail traders
      Claude Code users
    Safety rules
      Demo mode first
      Stop loss required
      Position size caps

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Ask Claude Code for a snapshot of your eToro portfolio and risk flags.

USE CASE 2

Request an analysis and enter/wait/avoid verdict for a specific stock.

USE CASE 3

Place a confirmation gated buy order with a set stop loss through chat.

USE CASE 4

Run a weekly review of win rate and trading behavior.

What is it built with?

PythonMCPClaude CodeeToro API

How does it compare?

mattsebastianh/etoro-portfolio-agent0xustaz/streamgatea-bissell/unleash-lite
Stars111
LanguagePythonPythonPython
Setup difficultymoderatehardhard
Complexity3/54/54/5
Audiencepm founderdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires eToro API and user keys plus a working Claude Code installation before it can connect.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

eTRADER is a personal trading assistant that lets you manage an eToro investment portfolio by chatting with Claude Code. It connects to your eToro account through a small local Python server that speaks MCP, a protocol that lets Claude Code call out to external tools, so the AI can see your positions and market data and, if you allow it, place trades on your behalf. When you load this project in Claude Code, it takes on the role of eTRADER, a portfolio agent whose behavior is defined in a written instructions file included in the repo. Through the connected server, it can check your profile, view your current positions and balances, look at profit and loss and trading history, search for and analyze specific instruments like stocks, manage watchlists and price alerts, and, only if trading is turned on, create, modify, cancel, or close orders. The project puts a lot of weight on safety rules that are built into the agent's instructions and described as non negotiable. No trade is ever placed, changed, or closed without you explicitly confirming the exact order details in the conversation first. New strategies are expected to be tested in eToro's demo mode before using real money. Every new position must include a stop loss, and position sizing is capped by default at one percent of your account per trade and ten percent for any single position, with a stated principle that protecting your capital matters more than chasing profit. Setting it up requires Python 3.14 or newer, a working Claude Code installation, and an eToro API key and user key generated from your eToro account settings. An install script creates a virtual environment, installs the pinned dependencies, and writes the configuration file that holds your keys, which is excluded from version control so it is never accidentally committed or shared. Once running, you interact with it in plain language, asking things like how your portfolio is doing, to analyze a particular stock, to buy a set dollar amount of a stock with a given stop loss, to run a risk check, or to get a weekly performance review. The author is clear this is a personal tool and not financial advice, and that trading carries real risk of loss.

Copy-paste prompts

Prompt 1
How is my eToro portfolio doing right now, including positions and profit and loss?
Prompt 2
Analyze TSLA on multiple timeframes and give me an enter, wait, or avoid verdict.
Prompt 3
Buy $500 of AAPL with a 5% stop loss and show me the order ticket first.
Prompt 4
Run a risk check on my current eToro positions and flag any concentration issues.
Prompt 5
Give me a weekly review of my trading performance and behavior patterns.

Frequently asked questions

What is etoro-portfolio-agent?

A Claude Code agent that manages your eToro portfolio through chat, with confirmation-gated trades and built-in risk rules.

What language is etoro-portfolio-agent written in?

Mainly Python. The stack also includes Python, MCP, Claude Code.

What license does etoro-portfolio-agent use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is etoro-portfolio-agent to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is etoro-portfolio-agent for?

Mainly pm founder.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.