An open API service indexing awesome lists of open source software.

https://github.com/doridoro/algoinvest_trade

Project 7 OpenClassrooms Path - AlgoInvest&Trade -- develop an algorithm to solve a problem
https://github.com/doridoro/algoinvest_trade

algorithm branch-bound-algorithm cleaning-dataset finance-analysis-data financial-data greedy-algorithm itertools pandas-library python3

Last synced: about 2 months ago
JSON representation

Project 7 OpenClassrooms Path - AlgoInvest&Trade -- develop an algorithm to solve a problem

Awesome Lists containing this project

README

        

# Algo Invest Trade

## Description:
Project 7 OpenClassrooms Path - AlgoInvest&Trade -- develop an algorithm to solve a problem

We need you to design an algorithm that will maximise the profit made by our clients after two years
of investment. Your algorithm must suggest a list of the most profitable stocks that we should buy
to maximise a client's profit after two years.

## 1st part - bruteforce algorithm:
We have the following conditions:
- Each share can only be purchased once.
- We cannot buy a fraction of a share.
- We can spend a maximum of 500 euros per customer.

## 2nd part - optimization of the bruteforce algorithm:
The programme must provide an answer in less than one second. I have created two algorithms, one
greedy algorithm and a branch and bound algorithm.
Add share datasets of 1000 shares, cleaned the datasets before usage with pandas library.

## Installation:
open terminal

1. `git clone https://github.com/DoriDoro/algoInvest_trade.git`
2. `cd alogInvest_trade`
3. `python3 main.py`

### Skills:
- Deconstructing a problem
- Developing an algorithm to solve a problem

## Visualisation of the Project:
1. Start the program with `python3 main.py`
2. The Main Menu to choose the file:

![Main Menu](/images_README/MainMenu.png)
3. Next step: choose the data of shares

![Data](/images_README/ChooseData.png)
4. Third step: choose the budget

![Budget](/images_README/ChooseBudget.png)
5. Display the results:

![Results](/images_README/Results.png)