> For the complete documentation index, see [llms.txt](https://docs.stockhero.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stockhero.ai/getting-started/using-stockhero-as-a-signal-generator.md).

# Using StockHero as a Signal Generator

{% hint style="info" %}
We strongly recommend connecting your brokerage to StockHero for automated live trading. However, if your brokerage isn't supported, you can use StockHero as a signal generator instead.
{% endhint %}

StockHero can function as an automated Signal Generator. By pairing StockHero's risk-free Paper Exchangewith real-time notification alerts, you can receive precise trade signals on your phone or computer whenever your trading bot executes a simulated trade in the Paper account. This allows you to evaluate market conditions and manually execute the trade in your live brokerage account.<br>

### How Signal Generation Works

```
┌──────────────────────────────────────────────────────────┐
│                      StockHero                           │
│  [Market Data] ──► [Bot Strategy] ──► [Paper Exchange]   │
└───────────────────────────────────────────┬──────────────┘
                                            │
                                  Simulated Trade Signal
                                            │
                                            ▼
┌──────────────────────────────────────────────────────────┐
│                  Notification Alert                      │
│        (Email / Mobile Push / SMS / WhatsApp)            │
└───────────────────────────────────────────┬──────────────┘
                                            │
                                    User Alerted
                                            │
                                            ▼
┌──────────────────────────────────────────────────────────┐
│               Manual Brokerage Execution                 │
│      (Review alert ──► Open Brokerage ──► Execute)       │
└──────────────────────────────────────────────────────────┘
```

1. Market Simulation: The StockHero Paper Exchange tracks live market price movements in real time.<br>
2. Signal Trigger: Your configured trading bot triggers a buy or sell action based the strategy's conditions.<br>
3. Push Alert: StockHero sends an alert with trade details (ticker, price, quantity) via your configured alert channels. By default, alerts are pushed via email and mobile channels.<br>
4. Manual Execution: You decide whether to replicate the trade in your actual brokerage account.<br>

### Setup Steps

**I. Configure Your Notification Preferences**

Ensure instant receipt of trade alerts.Before deploying your bot, configure where trade alerts will be delivered.<br>

1. Log in to StockHero and open Settings -> Notifications.<br>
2. Choose your preferred alert channels:<br>
   * Email & Mobile Push Notifications: Available on all subscription plans.<br>
   * SMS & WhatsApp Alerts: Exclusively available to Professional plan subscribers. Select your country code and enter your phone number.\ <br>

**II. Configure Your Paper Exchange Wallet**

Set up your risk-free testing environment.Ensure your virtual Paper wallet has sufficient capital to simulate trading positions.<br>

1. Navigate to Portfolio.<br>
2. Review your virtual USD balance.<br>
3. Adjust or add virtual capital if necessary to accommodate your strategy's position sizing. \[[How to adjust your virtual USD?](/getting-started/paper-trading.md)]<br>

**III. Configure Your Trading Bot Strategy**

Define the logic for generating signals.Set up the parameters that determine when a buy or sell signal triggers.<br>

1. At the top of the page, make sure "Paper" is selected. This ensures that all bots that you create will run in our internal virtual Paper exchange.
2. Click Bots  -> Create Bot (or choose a pre-built strategy from the Strategy Marketplace). You can access your strategies in **My Strategies** page in our Web App(see image below). For Mobile app users, the strategies are located in the **Market** screen.

![](https://4210655246-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLsxcsmD5Q5mNFpKtGm0X%2Fuploads%2FmWtac2z8yL3xz0r8amGe%2FMyStrategies.png?alt=media\&token=af39bb43-5ff3-4170-9392-9cade3a4deb4)\ <br>

<br>

**IV. Deploy and Monitor**

Run the bot on simulated real-time data. Launch the bot to start generating continuous signal alerts.<br>

1. Review settings and click Create Bot. This bot will run in our Paper exchange.<br>
2. The bot continuously monitors real-time market data during trading hours.<br>
3. When conditions are met, the bot places a trade on the Paper Exchange and transmits an instant signal notification to your selected delivery channels.<br>

### Notification Channel Breakdown

| **Notification Method** | **Plan Requirement**   | **Typical Use Case**                                          |
| ----------------------- | ---------------------- | ------------------------------------------------------------- |
| Email                   | All Plans              | Desktop monitoring and trade audit history.                   |
| Mobile App Push         | All Plans              | Real-time smartphone alerts while on the go.                  |
| SMS                     | Professional Plan Only | Direct cellular text alerts in regions with cellular service. |
| WhatsApp                | Professional Plan Only | Instant messaging alerts delivered via Wi-Fi or mobile data.  |

### Executing Trades from Generated Signals

Upon receiving a notification:<br>

1. Review the Signal Details:<br>
   * Action Type: BUY / SELL<br>
   * Ticker Symbol: Target stock symbol<br>
   * Executed Price: Price trigger on the Paper Exchange<br>
   * Position Size: Share count<br>
2. Verify Live Market Conditions: Open your brokerage app to review current bid/ask spreads and market momentum.<br>
3. Execute Manually: Enter a market or limit order matching the signal parameters if you agree with the trade signal.<br>

**Important Considerations for Signal Execution**

* Execution Slippage: Simulated paper execution prices may differ slightly from live order execution prices in your brokerage account due to bid/ask spreads and market velocity.<br>
* Time Sensitivity: Signals should be reviewed and acted upon promptly. Delayed execution may lead to entry or exit prices far off from the bot's initial trigger point.<br>
* Capital Sizing: Ensure your live brokerage account risk management matches the position limits you configured on the Paper Exchange.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.stockhero.ai/getting-started/using-stockhero-as-a-signal-generator.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
