etoro-apps
بواسطة marian2js
Communicationموجز
Enables agents to interact with the eToro API to access market data, portfolio and social features, and execute.
الوصف
ما الذي تفعله هذه المهارة
Connects agents to the eToro API for reading market data, managing portfolios, and executing trades programmatically. Supports OAuth SSO and manual API key authentication. Works with both real and demo (virtual) portfolio environments.
Direct API access lets agents execute trades and read portfolio data without manual interaction with the eToro web interface.
متى تستخدمها
- Place a limit order on a specific stock at a target price
- Check current portfolio positions and unrealized PnL
- Search for an instrument by symbol and get live price data
- Manage watchlists by adding or removing instruments
- Read a trader's public feed or post a message to the eToro feed
مثال على سير العمل
User asks: Buy $200 of Bitcoin on my demo account
- 1
Search for BTC using GET /market-data/search with internalSymbolFull=BTC to retrieve instrumentId
- 2
Confirm the instrument match by checking internalSymbolFull and displayname in results
- 3
POST to /trading/execution/demo/market-open-orders/by-amount with InstrumentID, IsBuy: true, Leverage: 1, Amount: 200
- 4
Parse the response to retrieve the new positionId
Demo market order placed for $200 of Bitcoin; positionId returned for future reference
المتطلبات
- eToro account
- eToro Public API Key (obtained from Settings > Trading > Create New Key)
- eToro User Key (generated alongside the Public API Key)
- For OAuth: registered OAuth client_id and client_secret from the eToro API portal at https://api-portal.etoro.com/
التثبيت
clawhub install marian2js/etoro-appsشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.