Why two TradingView alerts?
One alert records what your strategy signaled. The other asks your execution platform to place the trade order. Your broker reports what actually filled. Algo Trade Analytics compares those two records.
Set up both alerts from one script
Section titled “Set up both alerts from one script”- Use one saved Pine strategy. Keep the symbol, timeframe, strategy version, and trading settings the same for both alerts.
- Create the analytics alert. Choose the Algo Trade Analytics message format and use the webhook URL and authentication key from Webhook Management.
- Create the execution alert. Select your execution platform’s message format and webhook URL. If you already have a matching execution alert, keep it running. TradingView saves the script and settings with each alert, so changing the dropdown for the second alert leaves the first one configured. Recreate an alert when you want it to use updated settings.
- Compare the results. Connect the same paper or live account your execution platform uses for these orders. Alerts vs Fills currently retrieves fills only from Alpaca accounts. Open Alerts vs Fills for the same symbol and time window to compare timing, price, and quantity. An alert can have no matching fill or fill in parts.
You can write each destination’s payload yourself. Algo Agent or your MCP assistant can also prepare a single script with a Webhook Platform dropdown. Select the destination before creating each alert and pair it with the matching URL. The built-in execution preset is for TradersPost.
Verify the route with Alpaca Paper
Section titled “Verify the route with Alpaca Paper”Before activating an execution alert for a paper test, review every enabled subscription on its TradersPost strategy. Use the intended Alpaca paper account as the only enabled subscription for that test. Connect that same account in Account Integrations. Start with a strategy that uses a fixed whole-share quantity, market entries, and market exits so you can follow the order and fill independently.
- Find a TradingView signal in the alert log and in Webhook Management → Events Log. This confirms the analytics path received it.
- In TradersPost, open the execution strategy’s Signals, find the corresponding signal, and check the associated trade and broker response.
- Verify that Alpaca Paper reports a fill. Compare the alert and paper fill in Alerts vs Fills using the same dates and symbol. Check the side, quantity, and timing.
TradingView sends a strategy order-fill alert after its simulated fill. When an execution payload includes a limit or stop, the order it creates at the broker is a separate order that may fill later or remain pending.
For fractional stocks, use simple day market orders and enable Use fractional quantity on the TradersPost subscription. Fractional short orders are unsupported. See TradersPost fractional share rules.
TradersPost subscriptions · Alpaca connection in TradersPost
Only comparing backtests and alerts? One analytics alert is enough for live capture. You can also import an alert-history file. See Backtest vs Alerts.
Set up your analytics webhook · Run an Alerts vs Fills comparison