Skip to content

Latest commit

 

History

History
89 lines (70 loc) · 2.46 KB

File metadata and controls

89 lines (70 loc) · 2.46 KB

📦 Installation Guide

System Requirements

  • Python 3.10 or higher
  • pip package manager
  • Ethereum private keys
  • Proxies (one per account)
  • USDC on Arbitrum for each wallet

Step 1: Clone Repository

git clone https://github.com/Sviche/Variational-Trading-Bot.git
cd Variational-Trading-Bot

Step 2: Install Dependencies

pip install -r requirements.txt

Or use a virtual environment (recommended):

python -m venv venv
.\venv\Scripts\activate.bat  # Windows
pip install -r requirements.txt

Step 3: Configuration

3.1 Add Your Private Keys

Open the file user_data/private_keys.txt and add your Ethereum private keys (one per line):

0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef
0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890

Note: The file is already created in the repository, just add your keys.

3.2 Add Your Proxies

Open the file user_data/proxies.txt and add your proxies (one per line):

http://user:[email protected]:8080
socks5://user:[email protected]:1080

Note: The file is already created in the repository, just add your proxies.

3.3 Configure Trading Parameters (Optional)

Edit settings.py if you need to change:

  • Trading markets (markets)
  • Batch size (batch_size_usd)
  • Order mode (order_type: LIMIT or MARKET)
  • Leverage settings
  • Other parameters

Step 4: Deposit Funds

Deposit USDC to each wallet address on Variational (Arbitrum network) before launching the bot.

Step 5: Run

python main.py

On first run, the following will happen automatically:

  1. Automatic key synchronization with database
  2. Automatic onboarding of accounts on Variational Protocol (SIWE auth)
  3. Cloudflare challenge solving (if captcha service configured)
  4. Referral code application
  5. Trading starts

Troubleshooting

"Module not found" Error

Make sure all dependencies are installed:

pip install -r requirements.txt --upgrade

"Invalid private key format" Error

Private keys must be in 0x... format (66 characters). Check the user_data/private_keys.txt file.

"Proxy connection failed" Error

Check the proxy format in user_data/proxies.txt. Make sure the proxies are working.

"Cloudflare challenge" Error

Variational uses Cloudflare protection. Make sure your captcha service API key is configured, or try using a different proxy.

Other Questions

Join our Telegram chat for support: https://t.me/Sviche_Crypto_Chat