mcfriend99 / soltrade

Python trading bot using the Solana blockchain.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

soltrade_logo

Introduction

Soltrade is a Python-based, open source trading bot that I created in order to dive deeper into the workings of the blockchain and leap headfirst into the world of technical analysis. It integrates EMA, RSI, and Bollinger Band indicators into a fifteen-minute interval to predict the most profitable course of action. Jupiter has been integrated into Soltrade as well, allowing for near-instantaneous transactions with minimal fees. Soltrade is fairly customizable, with more user input to come in later versions. A ten-day chart demonstation of open and close positions with Soltrade's algorithm can be viewed below.

demo_chart

Disclaimer

This software was created for education purposes only and, like all trading bots, cannot predict the future. Please do not risk money you are not willing or cannot afford to lose. The creators and contributors of Soltrade are not responsible for any losses you might incur during trading.

Installation

In order to use Soltrade you will need a free CryptoCompare API key and access to a wallet application such as Phantom. Open the installation folder and create a file titled config.json with the following code block, replacing the placeholder values with your API key and wallet private key. Both keys are required to receive pricing data and perform trading transactions.

{
  "api_key": "yourapikeyhere",
  "private_key": "yourprivatekeyhere"
}

Next, install the dependencies for Soltrade by opening Python and running the following command. This will install automatically install the required modules and their respective versions.

python -m pip install -r requirements.txt

If the Soltrade is unable to open after following the installation process, try restarting your machine, as Python occassionally requires a reboot in order to successfully import modules.

Usage

Make sure you have deposited at least 1 $USDC in your connected wallet for Soltrade to begin trading, along with 0.1 $SOL to pay for gas. After the installation has been completed, begin Soltrade by running soltrade.py on your desktop or using Python commands. Then, use the designated inputs to pause, resume, or quit the program.

Contributions

if you have any interest in contributing, fork the repository and submit a pull request to have your improvements merged into the main repository. When opening an issue or feature request, be sure to provide a clear title and description of the issue you are experiencing or the feature you would like to suggest. Once submitted, I will review the issue and respond as soon as possible.

Donations

Soltrade does not include a platform fee and will remain free forever. If you're feeling a bit more generous however, please donate to my $SOL address below.

6XeQkUDZdsGsKBrhGWRuweHu4nbcv23t8r8vPt5xEsMv

About

Python trading bot using the Solana blockchain.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%