A DaScient Capital, LP proprietary program & non-ML approach to the application of the SuperTrend indicator designed to execute buy & sell orders to Binance.US using python.
Our ultimate mission is to leverage mathematical modeling, data science, business & strategic intelligence, and ml to provide reliable, intellectually resourceful, and totally open source user-friendly products.
Find value in our project? Want to help us expand or contribute to code? Even if it's just to say thanks - please feel free to contact us.
The purpose of this repository is to document the development of our very first trading bot. The bot will be broken out into 3 broad classes:
- Data Class
- Trade Strategy Class
- Execution Class
Although our team is working very hard to get the fully user-friendly app developed & deployed, there will still be plenty of time to test the bot on your own as we work through our goals and plans for the future. Feel free to fork, star, and/or watch for any of our updates here on GitHub.
Here's what you'll currently need in order to execute the bot locally on your machine. (An introductory Python crash course probably wouldn't hurt.) If you do run with it we seek your inputs, suggestions, and ideas that you can prove have a place in our code. Whether it's to help the bot run more efficiently or how we can better scale our project. Your thoughts are welcome! This program is far from perfect, but your support and growing interest we give us the encouragement we need to get this released and trading as smoothly as we possibly can. Don't hesitate to send us an email if there's anything we can do to help: [email protected]
- Python (Latest +3.9.7)
- Jupyter Notebook - Anaconda (mini-conda will certainly suffice)
- Binance.US crypto brokerage account. (API_KEY, API_SECRET)
- Lastly, you'll need this repository cloned somewhere easy to find. (i.e ./Desktop/GitHub will do.)
Don't have Binance.US? Sign up here!
- After login, go to the menu settings and find API MANAGEMENT.
- Create an API and follow approval directives.
- Save and KEEP ULTRA SAFE your api.key & api.secret (in a config.py, follow format.)
- Then go into your terminal, locate binance_bot.py, then execute by typing: >>python binance_bot.py
This class will consist of a CCXT connection into Binance.US WebSocket interface that will feed live cryptocurrency data in the form of candle sticks; Open, High, Low, Close (OHLC).
We also apply rolling averages, upper/lower Bollinger bands, and binary variables that evaluates uptrend/downtrend intervals.
Like many things in life, sometimes one needs a little variety. There is no shortage of trade strategies to apply to our bot. With this in mind, the strategy class will be designed to be modular. That is, it is to be developed with "plug-and-play" design in order to develop different trading strategies over time. As long as the strategy sends a buy/sell signal for the execution, it will function properly.
Once the trade signal is sent, the execution class will send the order to Binance.US via ccxt.exchange.
Relax, have fun, and don't forget to drink plenty of water! 🎉🚀🌕
Part Time Larrys (hackingthemarkets)'s supertrend-crypto-bot