StockHero Guide
  • Setting Up Your Stock Trading Bot
  • Quick Start Bots
  • Video Gallery
  • Major Updates
    • Achieving ISO27001 Certification
    • StockHero Version 3
    • StockHero V2, The Best Is Not Enough
      • StockHero V2.5
    • StockHero Release Notes
  • Getting started
    • Paper Trading
    • Backtesting
    • Dashboard
    • Portfolio
    • Bots and Deals
    • Bots Processing Priority
    • Strategy Marketplace
    • Deploying A Marketplace Bot
    • SMS Notifications
  • Futures Trading
  • Bot Settings
    • Strategies
    • Trading Parameters
    • Entry / Exit Conditions
    • Advanced Bots
    • DCA Bots
    • Exit Bot
    • Price Bot
    • Grid Bot
    • Sell Bot
    • Momentum Bot
    • Trailing Stoploss
    • Trailing Take Profit
    • Bot's Performance Stats
    • Strategy Designer
  • Technical Indicators
    • Bollinger Band
    • EMA
    • RSI
    • Stoch RSI
    • MACD
    • Volume
    • TradingView
    • Mandatory Indicators
  • Connecting Your Brokerage
    • Supported Brokerages
    • Trading Account Connection
    • TradeStation
    • Webull
  • Wealthsimple
  • FAQ
    • Terminology
    • Frequently Asked Questions
  • Housekeeping
    • Release Notes
    • Terms of Use
    • Official Communities
Powered by GitBook
On this page
  • Waiting For Entry
  • In Progress
  • Color Codes For Each State
  • Liquidate
  • Turning off a Bot
  1. Getting started

Bots and Deals

Bots and Deals are central to how StockHero operates. Please read this section.

PreviousPortfolioNextBots Processing Priority

Last updated 7 months ago

Trades on StockHero bots are consolidated as Deals. Each Deal contains orders based on the trade signals generated by Entry Conditions, Stop loss, Take Profit, Exit Condition and Extra Orders. Deals will also execute orders in that same order of priority, whichever comes first.

Waiting For Entry

A bot that is waiting for entry is running. It is actively monitoring the real-time market data for the stock.

There is nothing to be done at this stage. Users may delete or pause the bot without any issues as no orders have been made.

Once the bot receives the first signal to execute a trade, a Deal will be created. This Deal can be found in the section Open Deals. After this, the bot's status will show "In Progress." The Deal's status will also show "Deal In Progress."

In Progress

When Entry Conditions are met, the first order and any subsequent orders, if applicable, are executed and a Deal is considered to be in progress at this point in time. The bot will send the trade signal to the connected brokerage, which will automatically execute the trade. Users can see the trade details on the Open Deals page.

Color Codes For Each State

Liquidate

If a user liquidates a Deal, all positions taken in the same Deal are exited through a market order on the brokerage immediately. This is to ensure orders go through as quickly as possible. As soon as a user liquidates a Deal, the bot will revert to the "waiting for entry" state. To stop a bot from running, the user must turn off (deactivate) the bot.

Turning off a Bot

An Open Deal is paused when a Bot is set to the inactive state. In a paused state, a bot will not act on any trade signals generated. All trade signals will resume once a Bot's status is set to active again. The Bot will start a new order based on the next trade signal. If a Deal is already opened when a user deactivates a bot, that same Deal will remain as it is, i.e., all stocks bought or sold by the bot will remain intact. If the Bot has already executed a Base Order, it will resume with an Extra Order next, if applicable.

A bot that has started a trade will display "deal in progress"