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
- Host: GitHub
- URL: https://github.com/doridoro/algoinvest_trade
- Owner: DoriDoro
- Created: 2023-06-16T13:27:22.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-05T19:16:28.000Z (almost 2 years ago)
- Last Synced: 2025-02-13T12:18:51.140Z (4 months ago)
- Topics: algorithm, branch-bound-algorithm, cleaning-dataset, finance-analysis-data, financial-data, greedy-algorithm, itertools, pandas-library, python3
- Language: Python
- Homepage:
- Size: 338 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Algo Invest Trade
## Description:
Project 7 OpenClassrooms Path - AlgoInvest&Trade -- develop an algorithm to solve a problemWe 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 terminal1. `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:

3. Next step: choose the data of shares

4. Third step: choose the budget

5. Display the results:
