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 customizable trading 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.
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.
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": "<CryptoCompare API key>",
"private_key": "<wallet_private_key>",
"custom_rpc_https": "",
"other_mint": "",
"other_mint_symbol": "",
"price_update_seconds": "",
"trading_interval_minutes": ""
}
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.
Alternatively, you can install using poetry:
python -m pip install poetry
poetry install
Before starting Soltrade, make sure you have deposited at least 1 of the selected $TOKEN in your connected wallet, along with ~0.1 $SOL to cover any additional transaction fees.
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.
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.
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