NursoftAI
schoolLearning Center
Sign InStart Trading Free

Learn

rocket_launchGetting StartedschoolTrading BasicspsychologyStrategieshistoryBacktestingsmart_toyPaper TradingshieldRisk Managementmenu_bookGlossary
Ready to Trade?

Put your knowledge into practice with $100K virtual capital.

Create Free Account
Learnchevron_rightBot Experiments
smart_toy

Bot Experiments

Create and monitor automated trading bots in real-time

schedule10 min readIntermediate

What Are Experiments?

Experiments are virtual trading simulations that run in real-time with fake money. You create trading bots, assign them strategies, and watch them trade live market data - without risking a single cent.

lightbulb

Think of it Like...

A flight simulator for trading. Pilots practice in simulators before flying real planes. Experiments let you practice trading strategies in real market conditions without financial risk.

Virtual Trading Explained

When you create an experiment, you get virtual capital (e.g., $10,000) to trade with. This money isn't real - it's simulated. But the market data and timing are 100% real.

check_circle

What's Real

  • • Live market prices
  • • Actual market hours
  • • Real-time price movements
  • • Trading signals and timing
science

What's Simulated

  • • Your money/capital
  • • Order execution
  • • Profits and losses
  • • Position tracking

How Bots Work

Each bot in your experiment runs on a loop, constantly checking market conditions and making trading decisions based on its assigned strategy.

syncThe Trading Loop (Every 30 Seconds)

1
Fetch Current Price - Get the latest market price for the stock
2
Calculate Indicators - Run strategy calculations (SMA, RSI, etc.)
3
Check for Signals - Does the strategy say buy, sell, or hold?
4
Execute Trade - If there's a signal, place the virtual order
5
Log Activity - Record the action for tracking and analysis
6
Wait - Sleep for 30 seconds, then repeat
info

Why 30 Seconds?

The 30-second interval balances responsiveness with API rate limits and system resources. It's fast enough to catch most moves while avoiding overloading the system.

Bot Trading Loop Visualizer

See how a trading bot operates in real-time

Bot Stopped
Cycles: 0
Price: $150.00
Fetch Price
Calculate Indicators
Check Signal
Execute Trade
Wait 30s

Last Signal

Waiting for signal...

Trade Count

0buys
0sells

Trade Log

No trades executed yet. Start the bot to see trades.

How It Works

This visualization shows the continuous loop that trading bots run every 30 seconds. Each cycle: fetch prices, calculate indicators, check for signals, execute trades if needed, then wait.

Experiment Components

science

Experiment

The container for your trading test. Has a name, virtual capital, and one or more bots. Can be started, stopped, and monitored.

smart_toy

Bot

The actual trader. Each bot trades one stock using one strategy. An experiment can have multiple bots testing different strategies simultaneously.

psychology

Strategy

The trading rules the bot follows. Each bot uses one strategy (SMA Crossover, RSI, etc.) with configurable parameters.

Choosing Strategies for Your Bots

When setting up bots, consider mixing different types of strategies to see which performs best in current market conditions.

Good Strategy Mix

  • • Bot 1: SMA Crossover (trend following)
  • • Bot 2: RSI (mean reversion)
  • • Bot 3: MACD (momentum)
  • Different approaches for comparison

Things to Consider

  • • Match strategy to market type
  • • Don't use all capital on one bot
  • • Test aggressive vs conservative
  • • Compare same strategy, different params

Reading Experiment Results

While your experiment runs, you can monitor its performance in real-time.

Total P&L

+$1,234.56

Combined profit/loss across all bots. Green = profit, red = loss.

Win Rate

65%

Percentage of trades that were profitable.

Active Positions

3

How many stocks your bots currently hold.

Trade History

47 trades

Complete log of every buy and sell, with timestamps and prices.

Comparing Bot Performance

One of the most powerful features is running multiple bots and comparing their performance.

Example Comparison

BotP&LWin RateTrades
SMA Bot+$53258%12
RSI Bot+$89171%24
MACD Bot-$15642%19

In this example, the RSI Bot is performing best with highest P&L and win rate.

When to Go Live

warning

Not Financial Advice

This is educational content. Going live means real money and real risk. Only trade what you can afford to lose and consider consulting a financial advisor.

After running experiments, you might consider transitioning to real trading. Here are some guidelines to consider:

check_circleStrategy is profitable over multiple weeks
check_circleConsistent performance across different market conditions
check_circleYou understand the max drawdown and can handle it
check_circleYou've tested with the capital you plan to use
check_circleYou've read and understood the risk management guide

Step-by-Step: Creating Your First Experiment

1

Go to Bot Experiments

Click "Bot Experiments" in the sidebar

2

Create New Experiment

Click the "Create Experiment" button

3

Name Your Experiment

Give it a descriptive name (e.g., "SMA vs RSI Test")

4

Set Virtual Capital

Choose how much fake money to start with (e.g., $10,000)

5

Add Your First Bot

Click "Add Bot" and configure it

6

Choose Stock & Strategy

Select a stock (AAPL) and strategy (SMA Crossover)

7

Set Bot Capital

Allocate a portion of capital to this bot (e.g., $5,000)

8

Add More Bots (Optional)

Repeat steps 5-7 to add comparison bots

9

Start Experiment

Click "Start" and watch your bots trade!

bookmarkKey Takeaways

  • check_circleExperiments use virtual money with real market data
  • check_circleEach bot runs on a 30-second trading loop
  • check_circleCompare multiple strategies by running multiple bots
  • check_circleRun experiments for weeks before considering real trading

Ready to Create an Experiment?

Start your first experiment and watch your bots trade in real-time.

scienceGo to Paper Trading
arrow_backBacktesting GuideNext: Risk Managementarrow_forward

Ready to Apply What You've Learned?

Start paper trading with real market data and test your strategies risk-free.

Get Started FreeExplore Strategies