iTrade is a Python-based command-line tool designed to help novice traders make informed decisions in the stock market. The application analyzes a database of approximately 500 stocks and provides recommendations based on user preferences, including performance metrics, industry sectors, company age, and ESG (Environmental, Social, and Governance) scores.
- Performance-based Filtering: Get the top performing stocks based on your specified criteria
- Industry Selection: Filter stocks by specific industries including:
- Agriculture
- Clothing
- Construction
- Electronics
- Energy
- Entertainment
- Mining
- Historical Context: Filter companies based on their establishment year (1800-2020)
- ESG Scoring: Consider environmental, social, and governance factors with customizable minimum scores (0-10)
- Smart Defaults: Automatic adjustment of criteria if initial filters are too strict
- Clear Data Presentation: Results displayed in an easy-to-read tabular format
- Python 3.x
- CSV module (built-in)
- Operating System: Windows/Mac/Linux
- Clone this repository:
git clone https://github.com/jasp-nerd/computational-thinking-project
cd computational-thinking-project- Ensure you have the
stocks.csvfile in the root directory with the following columns:- ID
- Performance
- Industry
- FoundationYear
- Environment
- Social
- Governance
Run the program using Python:
python iTrade.pyFollow the interactive prompts to:
- Specify the number of stocks you want to see (1-100)
- Choose whether to filter by industry
- Set a maximum establishment year (optional)
- Define minimum ESG criteria (optional)
ID | Performance | Industry | Foundation Year | Environment | Social | Governance |
------|-----------------|------------------|--------------------|-----------------|------------|----------------|
AAPL | 25.4 | Electronics | 1976 | 8 | 7 | 9 |
- Vrije Universiteit Amsterdam
- Computational Thinking Course
- Project completed: December 2024

