Skip to content

MartinCadez/Data-Mining-Candlestick-Patterns_With_Genetic_Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: MIT Not Financial Advice Python Compatibility Ruff

Genetic-algo-photo-1.png

🧬 Data Mining Candlestick Patterns With Genetic Algorithm 🧬

Project aims to discover and refine candlestick patterns within financial datasets using a genetic algorithm, with the approach designed to be applicable across various markets.

🔴 Disclaimer: This project is for research purposes only and should not be considered financial advice.

  • What is candlestick pattern?
    It's charting method encapsulating open, high, low, and close prices of a security or asset over a specific period.

    • 📑 You can find more here
  • How does genetics algorithm work?
    It's an optimization technique inspired by natural selection. It evolves a population over multiple generations by applying selection, crossover, and mutation operations to find the best solution to a problem.

🛠️ Setup Guide

This guide outlines the steps to configure the project on your local machine. Before you begin, ensure you have the following installed and correctly added to your system's environment paths:

  • 📋Pre-requisites:

  • 📥Clone the Repository

    git clone https://github.com/MartinCadez/Data-Mining-Candlestick-Patterns_With-Genetic_Algorithm.git
  • 🔧 Environment Configuration

  1. Setup Virtual Environment (Command Prompt or Terminal) :

    • 🌱Create the environment :
      python -m venv Py312_GA_env
    • Activate :
      On Windows :
      Py312_GA_env\Scripts\activate
      On Linux/macOS :
      source Py312_GA_env/bin/activate
    • 📦Install Required Dependencies :
      pip install -r requirements.txt
  2. Anaconda/Miniconda Environment Setup (Anaconda Prompt or Terminal) :

    • 🌱Set Up Environment and Install Dependencies :
      conda env create -f environment.yml
    • 💥Mamba users :
      mamba env create -f environment.yml
    • Activate conda Environment :
      conda activate Py312_GA_env

🔍 Project Features

Learn about the unique aspects of this project and how they benefit its functionality.

  • Candlestick Patterns Generator
    • 📊 Need to update
  • Evaluation of Candlestick Pattern
    • 📊 Need to update
  • Genetic Algorithm for Data Mining Candlestick Patterns
    • 📊 Need to update
  • Example of Use on Bitcoin Dataset
    • 📊 Need to update

📈 How to Use

  • 📊 Need to update
    Run from the main file in project directory. Use yaml file to configure the genetic algorithm parameters.
    python main.py

💡 Discussion & Contributions

Contributions from the community are highly appreciated, especially as the project seeks to advance the analytical methods used in trading research. Pull requests are welcome if you identify opportunities for improvement in areas such as:

  • 🖋️Code Enhancements: Optimizing or refactoring code to improve performance and readability.
  • 🐛Bug Fixes: Identifying and resolving issues to increase the project's stability.
  • Feature Development: Proposing and implementing new features that align with the project’s objectives.
  • 📄Documentation: Improving documentation to ensure clarity and comprehensiveness.

Your ideas and alternative solutions are also valued. For any questions or to discuss contributions, feel free to contact me via email at martin.cadez0@gmail.com.

🏆 Acknowledgments & Credits

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published