Py Crypto Bot
Using Binance WebSocket API to get real-time price data for cryptocurrencies. Using the TA-Lib library to calculate the RSI and execute buy/sell orders.
Table of Contents
About The Project
Here's a blank template to get started: To avoid retyping too much info. Do a search and replace with your text editor for the following: KenMwaura1
, py-crypto-bot
, Ken_Mwaura1
, kennedy-mwaura
, kemwaura
, gmail.com
, py-crypo-bot
,
Built With
Getting Started
To get started, you'll need to install the following:
Prerequisites
This is an example of how to list things you need to use the software and how to install them.
Installation
- Get a free API Key at Binance.
- Clone the repo
git clone https://github.com/KenMwaura1/py-crypto-bot.git
- Create a virtual environment
python -m venv venv
- Activate the virtual environment
source venv/bin/activate
- Install the dependencies
pip install -r requirements.txt
- Add your credentials to a .env file
" >> .env echo "BINANCE_API_SECRET=OR Copy the provided example file to your .env file
" >> .env "> echo "BINANCE_API_KEY=
" >> .env echo "BINANCE_API_SECRET=" >> .envcp .env.example .env
- Run the bot
python bot.py
See the open issues for a full list of proposed features (and known issues).
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE.txt
for more information.
Contact
@Ken_Mwaura1 - [email protected]
Project Link: https://github.com/KenMwaura1/py-crypto-bot