Giter VIP home page Giter VIP logo

p7_algoinvesttrade's Introduction

Développer des algorithmes pour AlgoInvest&Trade

Algoinvest&trade cherche à optimiser ses stratégies d'investissement à l'aide d'algorithmes, afin de dégager davantage de bénéfices pour ses clients.

Installation

Python est nécessaire pour faire fonctionner l'application, télécharger le ici :

Windows

Linux

MacOS

Utilisation

python main.py

Le menu suivant apparaît :

Menu Principal:
1. Force brute
2. Optimisé Naïve        
3. Optimisé Dynamique    
4. Quitter

Sélectionner une option: 

Sélectionner l'algorithme souhaité, par exemple 1 est égale à Force brute.

L'application vous demandera de choisir un fichier au format CSV.

Sélectionner une option: 1
Sélectionner un fichier CSV: 

Entré le chemin du fichier et son nom, par exemple :

Sélectionner un fichier CSV: data/data1.csv

L'algorithme analysera votre fichier et une fois terminé, vous aurez une liste de vos résultats avec le bénéfice totale.

Voici la liste d'action les plus rentable pour un budget maximum de 500€

Action-4 - 70.0 - 20.0% - 14.0
Action-5 - 60.0 - 17.0% - 10.2
Action-6 - 80.0 - 25.0% - 20.0
Action-8 - 26.0 - 11.0% - 2.86
Action-10 - 34.0 - 27.0% - 9.18
Action-11 - 42.0 - 17.0% - 7.14
Action-13 - 38.0 - 23.0% - 8.74
Action-18 - 10.0 - 14.0% - 1.4
Action-19 - 24.0 - 21.0% - 5.04
Action-20 - 114.0 - 18.0% - 20.52

Notre bénéfice total s'élève à 99.08€

Temps d'exécution: 2.31 secondes

Algorithmes utilisés

Force brute : Teste toutes les combinaisons possibles et ne fonctionne que sur un petit nombre d’élément.

Optimisé naïve : Trie par profit et n'ai pas très précis.

Optimisé dynamique : Cherche le meilleur compromis et est très rapide.

License

Danycm1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.