Skip to content

A Python project to optimize investments using two approaches: brute force and an optimized algorithm. The project processes stock data to maximize profits while respecting cost and return on investment constraints.

Notifications You must be signed in to change notification settings

keizenx/investment-optimizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

investment-optimizer

Investment Optimization Algorithms

Overview

Optimizer Image Optimizer2 Image

This project focuses on optimizing investment portfolios using brute force and optimized algorithms. The goal is to maximize profits while considering constraints like cost and return on investment over two years.

Features

  • Brute force algorithm for profit maximization.
  • Optimized algorithm to handle larger datasets efficiently.
  • Visual comparison of algorithm complexities.
  • Portfolio and action management features.

Installation

Clone the repository:

git clone https://github.com/Loytifi/investment-optimizer.git

pip install -r requirements.txt

Usage

Run the main script:

python main.py

Example

Here is a simple example of how the program outputs a portfolio:

Selected Portfolio:

  • Action: "TechCorp", Price: 200, Profit: 30%
  • Action: "HealthInc", Price: 150, Profit: 25%

Total Cost: $350 Total Profit: $105

About

A Python project to optimize investments using two approaches: brute force and an optimized algorithm. The project processes stock data to maximize profits while respecting cost and return on investment constraints.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages