Getting Started

Set up EDISON in 5 minutes and start your first trade.

⚠️

Before proceeding: This software does NOT provide investment advice and does NOT manage your funds. Trading crypto involves substantial risk of total loss. Only use money you can afford to lose completely. You alone are responsible for all outcomes.

Always test on demo/testnet first. Do NOT use real funds until you've thoroughly validated the system.

Prerequisites

📋

Required

  • • Node.js 18+ installed
  • • npm 9+ installed
  • Bybit Account (Demo account recommended for testing)
  • • Bybit API keys (from your account settings)
  • • Basic command line knowledge

Important: EDISON currently supports Bybit Futures only. Other exchanges are not supported.

Step 1: Clone Repository

Clone EDISON from GitHub to your local machine:

git clone https://github.com/devstd2211/edison-smart-levels-trading-bot.git
cd edison-smart-levels-trading-bot

Step 2: Install Dependencies

Install required Node.js packages:

npm install

Step 3: Configure Environment

Create a .env file with your Bybit API credentials:

# Bybit API Credentials # Get your API keys from: https://www.bybit.com/app/user/api-management # IMPORTANT: Enable "Contract Trading" permissions for futures BYBIT_API_KEY=your_api_key_here BYBIT_API_SECRET=your_api_secret_here # Exchange Settings BYBIT_TESTNET=true # Set to false only when ready for live trading

⚠️ CRITICAL: Keep your .env file secret! Never commit it to version control. It's already in .gitignore. Always start with BYBIT_TESTNET=true for testing.

Step 4: Configure Trading Strategy

Copy the example configuration and customize it for your trading preferences:

cp config.example.json config.json

Edit config.json to set:

  • Trading pair - Which symbol to trade (e.g., XRPUSDT)
  • Timeframes - Entry, primary, and trend timeframes
  • Risk settings - Risk percentage, leverage, position size
  • Strategy parameters - Indicator thresholds and settings
  • Take profit / Stop loss - Your exit strategy

See the Configuration Guide for detailed parameter explanations.

Step 5: Backtest Your Configuration

Before trading, run a backtest to validate your configuration on historical data:

npm run backtest

This will:

  • • Run EDISON on historical price data
  • • Show win rate, profit/loss, and trading statistics
  • • Help you validate your strategy configuration
  • • Identify potential issues before live trading

Step 6: Trade on Bybit Testnet

Once backtest results look good, start EDISON in testnet mode. Your .env file has BYBIT_TESTNET=true which means you're trading on the Bybit testnet (no real money at risk):

npm run dev

Monitor the logs to ensure the bot:

  • • Connects successfully to Bybit
  • • Places test trades correctly
  • • Manages positions as expected
  • • Exits trades according to your configuration

⏳ Testnet Testing Duration: Run the bot on testnet for at least 1-2 weeks to verify behavior across different market conditions.

Step 7: Switch to Live Trading (Optional)

Once you're confident in testnet results, you can move to live trading. Change your .env file:

BYBIT_TESTNET=false

Then start the bot:

npm run start

⚠️ CRITICAL WARNING: This will trade with REAL MONEY. Only proceed if you have thoroughly tested on testnet and fully understand the risks. Start with minimal position sizes.

🔧 Having Issues?

If you encounter problems during setup, check the Troubleshooting guide for solutions.

View Troubleshooting Guide →