Skip to content

taotemplar/bagbot

Repository files navigation

Bagbot

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

Setup Instructions

Follow these steps to set up and run Bagbot:

  1. Clone the Repository

    git clone https://github.com/taotemplar/bagbot.git
  2. Navigate to the Bagbot Directory

    cd bagbot
  3. 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/activate

    Note: 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
  4. Install Requirements

    pip3 install -r requirements.txt
  5. Create a New Wallet

    btcli w create --wallet.name bagbot
  6. Fund the Wallet
    Send a small amount to the wallet address. To find the address, run the following command and look for the ss58_address (e.g., 5Dso...xAi3):

    btcli w list
  7. Configure Buy/Sell Settings
    Copy the top part of the bagbot_settings.py file to a new file named bagbot_settings_overrides.py.
    Note: Do not copy the bottom 4 lines.

  8. Edit the Settings File
    In bagbot_settings_overrides.py:

    • Update the WALLET_PW variable with your wallet's password.
    • Modify other settings as desired. The file includes notes explaining each variable.

Running the Bot

To start the bot, activate the virtual environment and run the script:

source ~/.bagbotvirtualenv/bin/activate
python3 bagbot.py

About

Bittensor Bot for accumulating alpha

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages