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.
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.
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.
open terminal
git clone https://github.com/DoriDoro/algoInvest_trade.git
cd alogInvest_trade
python3 main.py
- Deconstructing a problem
- Developing an algorithm to solve a problem