A bot for accumulating alpha in the Bittensor Alpha Group.
⚠️ Warning: Use at your own risk! There are no guarantees! Try with small amounts first!!
Caution
HIGHLY RECOMMENDED TO JOIN THE BITTENSOR ALPHA GROUP FOR HELP WITH USE AND STRATEGY
Follow these steps to set up and run Bagbot:
-
Clone the Repository
git clone https://github.com/taotemplar/bagbot.git
-
Navigate to the Bagbot Directory
cd bagbot -
Set Up a Python Virtual Environment
Install, create, and activate a Python virtual environment on Windows:
pip3 install virtualenv virtualenv ~/.bagbotvirtualenv/ source ~/.bagbotvirtualenv/bin/activate
on MacOS:
pip3 install virtualenv python3.10 venv .bagbotvirtualenv source .bagbotvirtualenv/bin/activateNote: At the time of writing, Bittensor CLI is compatible with python versions from 3.9.0 to 3.12.0.
Check the python version:
python3 --version
Install compatible python version and pip3 on windows wsl:
sudo apt install python3.10
on MacOS:
brew install python3.10 echo 'export PATH="/opt/homebrew/opt/python@3.10/bin:$PATH"' >> ~/.zshrc
-
Install Requirements
pip3 install -r requirements.txt
-
Create a New Wallet
btcli w create --wallet.name bagbot
-
Fund the Wallet
Send a small amount to the wallet address. To find the address, run the following command and look for thess58_address(e.g.,5Dso...xAi3):btcli w list
-
Configure Buy/Sell Settings
Copy the top part of thebagbot_settings.pyfile to a new file namedbagbot_settings_overrides.py.
Note: Do not copy the bottom 4 lines. -
Edit the Settings File
Inbagbot_settings_overrides.py:- Update the
WALLET_PWvariable with your wallet's password. - Modify other settings as desired. The file includes notes explaining each variable.
- Update the
To start the bot, activate the virtual environment and run the script:
source ~/.bagbotvirtualenv/bin/activate
python3 bagbot.py