This project is an artificial intelligence agent for analyzing Argentine stocks and CEDEARs. It collects historical data, calculates technical indicators, monitors news, and generates buy/sell recommendations.
- 📈 Data Collection: Downloads historical stock and CEDEAR data from Yahoo Finance.
- 📈 Technical Analysis: Calculates indicators such as RSI, MACD, EMA, and Bollinger Bands.
- 📰 News Monitoring: Extracts headlines from Investing.com for each ticker.
- 🤖 Trading Signals: Generates buy/sell signals based on technical analysis and news sentiment.
- 🛠️ Storage: Saves data in PostgreSQL and CSV.
trading-ai-agent/
│── env/ # Python virtual environment
│── main.py # Main script
│── requirements.txt # Project dependencies
│── config.py # Database and API key configuration
│── data/ # Backup CSV files
│── README.md # Project documentation
git clone https://github.com/your_username/trading-ai-agent.git
cd trading-ai-agentpython3 -m venv env
source env/bin/activate # On macOS/Linux
env\Scripts\activate # On Windowspip install -r requirements.txtEdit config.py with your database credentials.
python main.py- Historical data will be downloaded.
- Technical indicators will be calculated.
- News will be monitored.
- Trading signals will be generated and stored in the database.
- 🔍 Improve news scraping for more relevant data.
- 📬 Implement Telegram notifications for trading alerts.
- 🤖 Integrate Machine Learning to improve buy/sell predictions.
- Python (pandas, yfinance, pandas-ta, SQLAlchemy, BeautifulSoup)
- PostgreSQL (Storage of historical data)
- Yahoo Finance API (Source of financial data)
- Investing.com Scraper (Relevant market news)