https://github.com/wasay8/stocktradingsystem
Python scripts for dynamic stock data downloading with validation and an automated trading system using RSI and SMA indicators to optimize trading decisions and assess portfolio performance.
https://github.com/wasay8/stocktradingsystem
finance relative-strength-index simple-moving-average trading-strategies webscraping
Last synced: about 1 year ago
JSON representation
Python scripts for dynamic stock data downloading with validation and an automated trading system using RSI and SMA indicators to optimize trading decisions and assess portfolio performance.
- Host: GitHub
- URL: https://github.com/wasay8/stocktradingsystem
- Owner: wasay8
- Created: 2024-05-08T20:40:23.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-14T03:03:13.000Z (about 2 years ago)
- Last Synced: 2025-02-01T04:24:06.222Z (over 1 year ago)
- Topics: finance, relative-strength-index, simple-moving-average, trading-strategies, webscraping
- Language: Python
- Homepage:
- Size: 391 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Automated Stock Trading System
## Part 1: Stock Data Downloader
### Overview
This Python script facilitates the dynamic download and preprocessing of stock data from Yahoo Finance, enhancing data accuracy and availability for subsequent analysis.
### Features
- Utilizes the `yfinance` library to fetch stock data for a specified list of stocks within a given date range.
- Validates stock symbols and date formats to ensure data integrity.
- Provides an interactive command-line interface for adding/removing stocks, changing time ranges, and downloading data.
## Part 2: Automated Trading System
### Overview
This Python script implements an automated trading system engineered to optimize trading decisions and maximize portfolio returns by utilizing technical indicators such as Relative Strength Index (RSI) and Simple Moving Average (SMA).
### Features
- Implements trading strategies based on RSI and SMA indicators to generate buy/sell signals.
- Simulates trading operations and calculates performance metrics including annualized returns and Sharpe Ratio for precise assessment of trading strategy effectiveness and risk management.