Skip to content

A DASCIENT, LLC proprietary project & fully autonomous application of robust technical indicators against publicly traded market data & cryptocurrency blockchain exchange platforms - en Pÿťħôň.

License

Notifications You must be signed in to change notification settings

DaScient/SuperTrendTradingBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Super Trend Trading Bot

Welcome to the @donutz.ai automated trading protocol! This bot leverages cutting-edge Reinforcement Learning ensembles, the SuperTrend indicator, Kalman Filter Forecasting, Simple & Exponential Moving Averages, Relative Strength Index (RSI), and other robust technical indicators to generate intelligent trade signals. It calculates and suggests profitable buy/sell orders for both Robinhood and Binance.US platforms using Python.

This project is an open-source playground for data scientists, quants, and trading enthusiasts alike. Fork, tweak, experiment, and enhance to your heart's content! The underlying decision science and forecasting principles here are widely applicable across predictive modeling, time-series analysis, and machine learning efforts well beyond trading and asset management. We only ask you to credit this repository and respect our community's guidelines.

For detailed insights into the bot's development and functionality, check out this Medium publication and this Kaggle Notebook, which showcases automated decision-making in action.


Current Development Goals

  1. Incorporate Social Sentiment Analysis: Bringing the pulse of the market to your trades.
  2. Add Advanced Indicators: Expanding our suite of technical tools.
  3. Pre-Built Trading Strategies: Allow users to select and deploy strategies tailored to their goals.
  4. Community Portfolio Mirroring: Users can create, share, and mirror peer portfolios for collective success.
  5. Autonomous Hyperparameter Tuning: Optimizing the bot’s decision-making as it learns and adapts over time.

We aim to optimize returns, minimize losses, and make trading as straightforward (and enjoyable) as possible. Join us in building a platform for traders of all levels—because making smarter trades shouldn’t be intimidating.


SuperTrend Features 💻

Trends

This unique feature lets users partially or fully mirror portfolio allocations of others in the community. Explore strategies, join public groups, or even create your own portfolios to share. When a group leader updates their allocations, all connected portfolios will automatically reflect the changes! It’s like being part of a live, dynamic investment team—designed for all risk appetites.


The Bot: SuperTrend in a Nutshell 🤖

The bot is organized into three main components:

  1. Data Class: Handles live market data, including candlestick (OHLC) feeds and key indicators.
  2. Trade Strategy Class: A modular system allowing users to experiment with various trading strategies.
  3. Execution Class: Converts trade signals into live orders on Binance.US via the CCXT library.

What You'll Need

Even though we’re working hard to release a fully user-friendly version, you can still test the bot locally. Fork the repo, give it a star, and follow our progress. If you have ideas to improve efficiency, scalability, or features—send them our way!

Requirements

  1. Python (3.9.7+)
  2. Jupyter Notebook/Anaconda (Miniconda works too)
  3. Binance.US account (Sign up here)
  4. Clone this repo to your local machine (e.g., ~/Desktop/GitHub).

Setting Up Binance.US API:

  1. Log in, navigate to API Management, and create a new API key.
  2. Safely store your API_KEY and API_SECRET in a config.py file. Use this format for reference.

How to Run

To execute the bot, navigate to its directory in your terminal and run:

$ python binance_bot.py  

# For the Reinforcement Learning Mod, follow these instructions.

Components Overview

Data Class

Connects to Binance.US via CCXT WebSocket for live candlestick (OHLC) data. Includes rolling averages, Bollinger Bands, and binary indicators for trend detection.

Trade Strategy Class

A modular framework that supports a variety of trading strategies. Plug in your custom strategy—if it generates buy/sell signals, it’s good to go!

Execution Class

Executes buy/sell orders on Binance.US based on trade signals using CCXT integration.

Resources & Repositories
	•	Part Time Larry’s SuperTrend Crypto Bot
	•	Part Time Larry’s Binance Tutorials
	•	CCXT Binance.US Integration
	•	Binance Full History Dataset (2017-2020)

Stay hydrated, have fun, and happy trading! :chart_with_upwards_trend:

About

A DASCIENT, LLC proprietary project & fully autonomous application of robust technical indicators against publicly traded market data & cryptocurrency blockchain exchange platforms - en Pÿťħôň.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published