Giter Site home page Giter Site logo

ayushpanditmoto / trading-bot Goto Github PK

View Code? Open in Web Editor NEW
36.0 1.0 43.0 831.85 MB

Binary Trading AI Bot is a project idea aimed at developing an AI-powered bot for binary trading. The bot utilizes machine learning algorithms to predict the direction of the next candle (whether it will move up or down) with high accuracy.

Python 1.21% Jupyter Notebook 98.79%
gssoc24 machine-learning nlp python

trading-bot's Introduction

Binary Trading AI Bot

Project Description:

Binary Trading AI Bot is a project idea aimed at developing an AI-powered bot for binary trading. The bot utilizes machine learning algorithms to predict the direction of the next candle (whether it will move up or down) with high accuracy. Additionally, the bot incorporates Natural Language Processing (NLP) techniques to analyze trading outcomes and user feedback, continuously learning and improving its predictive capabilities over time.

Key Features :

  1. Predictive Modeling: Utilize machine learning algorithms to analyze historical trading data and forecast the direction of the next candle.

  2. Real-time Data Integration: Incorporate real-time market data feeds to ensure the bot has access to the latest information for making informed trading decisions.

  3. NLP Feedback Loop: Develop an NLP module to analyze trading outcomes and user feedback, enabling the bot to adjust its strategies based on sentiment analysis and reinforcement learning.

  4. User Interface: Design a user-friendly interface for traders to interact with the bot, providing visualization of trading signals, performance metrics, and customizable settings.

  5. Risk Management: Implement robust risk management features to mitigate potential losses, including options for setting stop-loss levels and risk tolerance parameters.

  6. Performance Monitoring: Enable comprehensive monitoring of the bot's performance through detailed analytics and reporting tools, tracking key performance indicators such as accuracy rates and profitability.

  7. Security and Compliance: Ensure data security and compliance with regulatory standards, implementing encryption protocols and adhering to best practices for privacy protection.

  8. Continuous Improvement: Foster a culture of continuous improvement through regular updates and enhancements based on user feedback and market dynamics.


Binary Trading AI Bot


How to Contribute ?

Contributions to the Binary Trading AI Bot project are welcome and encouraged! Here's how you can contribute:

  • Code Contributions: Help develop new features, improve existing functionality, or fix bugs by submitting pull requests.
  • Documentation: Contribute to the project's documentation by writing README files, tutorials, or API documentation.
  • Testing: Assist in testing the bot's functionality and providing feedback on its performance.
  • Feedback: Share your thoughts, suggestions, and ideas for improving the project by opening issues or participating in discussions.

Getting Started:

To get started with the Binary Trading AI Bot project, follow these steps:

  1. Clone the repository to your local machine:

    git clone https://github.com/Ayushpanditmoto/Trading-Bot.git
    
  2. Install the necessary dependencies:

    cd binary-trading-ai-bot
    pip install -r requirements.txt
    
  3. Start contributing by working on existing issues or proposing new features!


Open Source Programs

GSSOC Logo GSSOC 2024
This project is part of GirlScript Summer of Code. We enthusiastically invite community contributions to help refine and enhance Trading-Bot.

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.


License

This project is licensed under the MIT License.


Contributors

Thank you for contributing to our project! Your support is greatly appreciated in making Trading-Bot even better. ๐Ÿ˜Š

trading-bot's People

Contributors

aindree-2005 avatar ayushpanditmoto avatar hasmithagunda123 avatar jindalpriyanshu101 avatar meetjain1 avatar rishabtr avatar saksh8 avatar sakshi-sonii avatar shaziaakhan avatar shivani-sharma-23 avatar vidip-ghosh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

trading-bot's Issues

Auto commenting feature for new PR raised

This feature aims to address the problem of delayed and inconsistent communication following the raising of PRs. By automatically commenting on PRs as soon as they are raised, it ensures that contributors receive immediate feedback and acknowledgment for their efforts. This fosters a positive and supportive environment for collaboration, encouraging continued participation and engagement from contributors.

Could you please assign me this issue under GSSOC'24.

Making currency recommendation based on the country of residence

registration

Hello, on the registration page, I would like to make recommendation feature to suggest the currency based on the country of residence,
for example, if I select India , INR should be the default recommendation.

I would : Make country based recommendation for currency

Please assign this issue to me

Integration of Stock Price Prediction Using Facebook Prophet

The Binary Trading AI Bot project aims to develop an AI-powered bot for binary trading, leveraging machine learning algorithms to predict market movements. To enhance the bot's predictive capabilities, I propose adding a stock price prediction feature using Facebook Prophet.

I am Participating in GSSOC'24.

Missing LEARN.md file

Learn.md file is missing in our current repository

The learn.md file in GitHub is typically used as a resource to provide guidance, tutorials, or educational content related to a specific repository. This file can serve various purposes, such as introducing new users to the project, providing detailed instructions for using the codebase, or offering learning pathways for different topics covered by the repository.

@Ayushpanditmoto assign this issue to me I will add it, I am working under gssoc

Update Contribute.md

I want to update the contribute.md file with adding instructions of creating contribution like fork, starring and the similar processes and using a github desktop for collaboration which is much easier. Kindly assign me this issue under GSSOC'24 such that I can start contributing.

ARIMA modelling

For the prediction of future trends and datasets, Arima modeling can be considered in action
Under Gssoc'24, assign this issue to me

Optimize: main.py

Optimization and Changes Request

Description:
I would like to optimize and make the following changes to the code:

  1. Use Standard Tkinter: Replace customtkinter with standard Tkinter.
  2. Improve Variable Names: Rename variables for better readability (e.g., username_label to lbl_username).
  3. Grid Geometry Manager: Use a common padding value for all widgets.
  4. Organize Code Into Functions: Create functions to improve code structure.
  5. Avoid Using show="*": Use the Entry widget's show attribute instead.

Changes to be Made:

  • Replace customtkinter with standard Tkinter.
  • Rename variables for better readability.
  • Use a common padding value for all widgets.
  • Organize code into functions.
  • Use the Entry widget's show attribute instead of show="*".

Additional Notes:

  • This optimization is aimed at improving code readability and maintainability.

Name: Aditya Sachin Khamitkar
GitHub Username: TheNaiveSamosa
Email: [email protected]
GSSoC Contributor in 2024

Tasks:

  • Replace customtkinter with standard Tkinter.
  • Rename variables for better readability.
  • Use a common padding value for all widgets.
  • Organize code into functions.
  • Use the Entry widget's show attribute instead of show="*".

Please assign me this. I am a beginner but I will try to do this.

Auto Commenting when a PR is merged

This feature aims to solve the problem of inconsistent and delayed communication following the merging of PRs. By automating the commenting process, it ensures that contributors receive timely feedback and acknowledgments. It also reduces the administrative burden on maintainers, allowing them to focus more on code reviews and other critical tasks.

Could you please assign me this issue under GSSOC'24.

Implementing Machine Learning for Trading Pattern Recognition using Technical Analysis

Approach:

Identify Support and Resistance Levels:

  1. Implement a method to mark previous support and resistance levels.
  2. Store these levels in a stack to track the last resistance or support level.

Pattern Recognition:

  1. Recognize important candlestick patterns such as double tops, double bottoms, dojis, hammers, inverted hammers, etc.

Prediction:

  1. Utilize the identified patterns and support/resistance levels to predict the direction of the next candle.

Implement Backtesting Framework for Binary Trading AI Bot

Description:
As part of enhancing the functionality and usability of the Binary Trading AI Bot, I propose the implementation of a backtesting framework. This feature will allow users to evaluate the performance of trading strategies using historical data, providing valuable insights into strategy effectiveness, risk management, and profitability.

Key Benefits:

  1. Performance Evaluation: Users can assess the effectiveness of trading strategies under various market conditions, enabling them to identify profitable approaches and refine their strategies accordingly.

  2. Risk Management: Backtesting helps users understand potential risks associated with their strategies, such as maximum drawdowns and worst-case scenarios, allowing them to implement effective risk management techniques.

  3. Strategy Optimization: Through iterative testing and parameter optimization, users can fine-tune their trading strategies to maximize profitability and minimize risk.

  4. Educational Tool: The backtesting framework serves as an educational tool, allowing users to learn about trading concepts, strategy development, and market dynamics while gaining practical experience in algorithmic trading.

Implementation Plan:

  1. Research and select a suitable backtesting library or develop a custom solution tailored to the project's requirements.
  2. Design and implement the backtesting framework, focusing on scalability, performance, and ease of use.
  3. Integrate the backtesting functionality into the existing Binary Trading AI Bot interface, ensuring seamless user experience.
  4. Conduct thorough testing and validation to verify the accuracy and reliability of backtesting results.

GSSoC24: Re-Writing GUI, Implementing more features

Hey there, i intend to rewrite the GUI using customtkinter library, which nearly boosts the GUI experience by 200%, along with that. i will be implementing more features after the login page, here's the details:

  • Removal of sign-up feature (as per project needs)
  • Re-Writing whole GUI using customtkinter
  • Converting Demo Balance and Real Balance texts to clickable buttons
  • Once any of them is clicked, there will be other two buttons called "Compounding" and "Martingale"

Here's the demo look of the rewritten GUI:

  • image

==> I would like to work on it, please assign it to me ==<

Run time error after running code in pycharm for this project

``import ccxt # Or platform-specific API library
import pandas as pd
from sklearn.model_selection import train_test_split
from sklearn.linear_model import LogisticRegression # Example model
from tkinter import Tk, Label, Button # Example UI elements (replace with preferred library)

Data acquisition and feature engineering

def get_data(symbol, timeframe):
exchange = ccxt.binance() # Replace with your preferred exchange
data = exchange.fetch_ohlcv(symbol, timeframe)
df = pd.DataFrame(data, columns=['Open', 'High', 'Low', 'Close', 'Volume'])
# Add technical indicators or other features as needed
return df

def prepare_features(df):
# Feature engineering logic
features = df[['Open', 'Close', 'RSI']] # Example features
target = df['Close'].shift(-1) > df['Close'] # Predicting next candle direction (up or down)
return features, target

Model training and prediction

def train_model(features, target):
X_train, X_test, y_train, y_test = train_test_split(features, target, test_size=0.2)
model = LogisticRegression() # Example model
model.fit(X_train, y_train)
return model

def predict(model, features):
predictions = model.predict(features)
return predictions

NLP integration (optional)

def analyze_sentiment(text):
# Implement NLP logic using a suitable library (e.g., NLTK)
sentiment = ... # Return sentiment score (positive, negative, or neutral)

Trading execution (replace with platform-specific logic)

def execute_trade(symbol,

[Data] Collect Data

Requirements-

Candlesticks chart
1 candle is supposed to be of 1 min

Columns-

  1. High price
  2. Low price
  3. Closing price
  4. Opening price
  5. Time

Feature for auto commenting on a new issue creation

I would like an automated feature that posts a predefined comment on an issue as soon as it is created. This feature aims to address the problem of delayed and inconsistent communication following the creation of issues. By automatically commenting on issues as soon as they are created, it ensures that contributors receive immediate feedback and acknowledgment for their efforts. This fosters a positive and supportive environment for collaboration, encouraging continued participation and engagement from contributors.

Could you please assign me this issue under GSSOC'24.

writing README files or tutorials#gssoc24

Keeping in mind that the most important part of a project is its README file, I would like to write README files or tutorials which will help others to get into the project easily.The better the readme file,the better other participants can understand the project

Reinforcement Learning for Strategy Optimization

we can Implement reinforcement learning algorithms to optimize the trading strategy over time.
and Use historical trading data to train a reinforcement learning agent to learn optimal trading actions based on rewards and penalties.

Cross-Validation for Predictive Models

Implement cross-validation techniques to assess the robustness of the predictive models by partitioning historical trading data into subsets, training models on different combinations, and evaluating performance on unseen data.

Aim:Enhance model reliability and reduce overfitting by ensuring models generalize well to diverse market conditions, improving the accuracy of trading predictions.

Hi @Ayushpanditmoto ,please assign this to me?

working on LSTM RNNs

I think it would be great to consider Long Short Term Recurral Neural Networks to get real-time info about the stock markets as it is a very powerful sequence model
please assign any issue related to this to me under gssoc 2024
I have a good knowledge over machine learning and deep learning

Finding accuracy using different ML algo

I can try to find accuracy using different ML algorithms like Linear Regression, Decision Tree, Random forest and considering that algorithm having highest accuracy.

GSSoC'24: New features & functions in GUI

Hey, i plan to improve GUI, so that we can achieve the shape of actual Trading Bot. for that purpose, i will be introducing new GUI pages and functions with which a lot of works can be adapted. Here's the list of updates i plan to implement in GUI:

  • When user clicks on compounding it'll ask for number of step entries needed.
  • Now, according to number passed, take step values as input from user.
  • Then, ask for profit and loss target.
  • SAME goes for martingale

Now after all the inputs, actual function for calculations will start, i'll leave a spot and failsafe for that stuff. so that it can be handled later on.


I would like to work on this issue, can you please assign it to me?

ML in Medical field

hey we can use this this method to predict Heart attack by utilizing dataset and train for further prediction by using logistic regression this method always give good results .

Readme.md Can me more fascinating .

Currently Our readme.md file is not looking good
It is looking like a learn.md file I would suggest to @Ayushpanditmoto assign me this issue I will create a fully new version of readme file , have created the same in many repository , I am working under gssoc

changes required are missing video of our project , allignment of text , open source section , contributors section , code of conduct, license section , features section and many more I will create a beautiful attracting readme file .

Adding Commodities - Crude Oil Dataset

Adding Crude Oil Dataset as Commodities for Trading
I would like to contribute as a contributor under GSSOC ' 24

Please assign this to me.
Please assign this issue to the appropriate GSSOC labels .

Please check this PR Link : #16

Feat: Automate greeting using Github bot ๐Ÿค–

Describe the feature

As the contributor count rises on the repo, it becomes increasingly challenging for maintainers to personally greet and encourage each contributor for their valuable input. Equally important is the reminder for them to review the project's contribution guidelines.

Add ScreenShots

PR greeting message โฌ‡๏ธ

CleanShot_2024-05-11_at_14 39 402x

ISSUE greeting message โฌ‡๏ธ

CleanShot_2024-05-11_at_14 40 482x

Record

  • I agree to follow this project's Code of Conduct
  • I'm a GSSoC'24 contributor
  • I want to work on this issue

Add GitHub Desktop Contribution Instructions

I am interested in contributing to the project by adding detailed instructions on how to contribute using GitHub Desktop.

I believe that by providing clear and comprehensive guidance, we can encourage more contributors to participate in the project, especially those who prefer using GitHub Desktop for their contributions.

Could you please assign me the issue related to adding GitHub Desktop contribution instructions under gssoc24? I am excited about the opportunity to contribute to the project and help streamline the contribution process for others.

Requirements section

We can add requirements section to your project . Assign this issue to me . I will make it in better way

Add GitHub Desktop Contribution Instructions

I am interested in contributing to the project by adding detailed instructions on how to contribute using GitHub Desktop.

I believe that by providing clear and comprehensive guidance, we can encourage more contributors to participate in the project, especially those who prefer using GitHub Desktop for their contributions.

Could you please assign me the issue related to adding GitHub Desktop contribution instructions under gssoc24? I am excited about the opportunity to contribute to the project and help streamline the contribution process for others.

Add GPL License for Open Source Compilance

Description

I propose adding a GPL (GNU General Public License) to this repository to ensure it adheres to open source licensing standards.

Issue Details:

๐Ÿ“ Lack of License: Currently, this repository does not have a license specified.
๐Ÿ“œ Open Source Compliance: Adding a GPL license will make the project legally compliant with open source requirements and clearly define usage terms.

Proposed Solution:

๐Ÿท๏ธ Add GPL License: Implement the GNU General Public License (GPL) to protect both contributors and users, ensuring the project remains free and open source.
๐Ÿ“‚ License File: Create a LICENSE file in the repository root with the full text of the GPL.

I am Participating in GSSOC'24

Add PR template

I would like to add a pull request template for this repository. I believe that having a standardized template will help streamline the contribution process, ensuring that all necessary information is included and making it easier for maintainers to review and merge pull requests.

Could you please assign this issue to me under GSSOC'24.

Frontend of App

Would like to use React for frontend of the app, with About Us section, About the Project Section, SignUp features
@Ayushpanditmoto can I work on this? For GSSOC 2024

Update the Code of Conduct

I want to update the code of conduct file in your project adding the actions or bans which can take place not abiding to the rules thus ensuring a smooth contribution and collaboration without any dissent.

GSSoC24: Bugs and New Feat for GUI

Hey there, while reviewing this repo, i found some bugs in login.py (The GUI) and also found scopes for improvement. Therefore, here's the thing i can fix and implement in the GUI:

  • BUG: there are a few uncommented characters in login.py causing errors. I will fix them.

  • New Feature: i found this GUI lacks sign-up feature, where users can simply register themselves. As project isn't using any kind of Database, i propose this implementation:

  • Usage of .csv file to store and fetch users password and email
  • Existing email verification during registration to avoid duplicate emails.

==> I would like to work on this, can you assign it to me? <==

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.