5-minute setup for your Hyperliquid trading bot
git clone git@repo.codeskraps.com:codeskraps/ManualTrader.git
cd ManualTrader
python3 -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
/newbot
mytradingbot_123_bot
123456789:ABCdefGHIjklMNOPqrs
)python utils/get_telegram_chat_id.py
cp config/env.example .env
nano .env # Or use your preferred editor
Required settings:
# Use API Generator Key from https://app.hyperliquid.xyz/API (NOT your wallet private key)
HYPERLIQUID_PRIVATE_KEY=your_api_generator_key_here
HYPERLIQUID_SECRET_KEY=your_secret_key_here
HYPERLIQUID_TESTNET=true
# From steps above
TELEGRAM_BOT_TOKEN=your_bot_token_here
TELEGRAM_CHAT_ID=your_chat_id_here
TELEGRAM_ENABLED=true
python trading_bot.py
📱 Open Telegram → Send /start
to your bot
.env
file⚠️ Security Best Practices:
# Test configuration
python -c "import sys; sys.path.insert(0, 'src'); from config import Config; Config.validate()"
# See sample statistics
python utils/demo_stats.py
.env
TELEGRAM_ENABLED=true
source venv/bin/activate
pip install -r requirements.txt
Once setup is complete:
Setup complete! Your bot is ready for phone trading 🚀📱