Alpaca brings commission-free US stock, ETF, and crypto trading to a clean API — which makes it a natural home for automated TradingView strategies. Connecting TradingView to Alpaca lets your equities and crypto signals execute automatically during (and outside) regular market hours.
OmniTrade24 links your TradingView charts to Alpaca. You paste a strategy webhook URL into a TradingView alert, and we place the order on Alpaca using your API keys. Alpaca offers free paper trading with $100,000 in virtual cash, so you can validate the whole pipeline before risking a cent.
Four steps take you from a chart alert to a live Alpaca order — no code involved.
Sign in to OmniTrade24, open Settings → API credentials, and paste your Alpaca API key and secret key. Run the built-in connection test to confirm the credentials work. Everything is encrypted with AES-256 before it is stored — your secret is never kept in plain text.
In the dashboard, create a strategy, pick your Alpaca market and default order settings, and save it. OmniTrade24 generates a unique webhook URL just for that strategy:
https://omnitrade24.com/webhook/your-strategy-tokenOpen your strategy or indicator in TradingView, click Alerts → Create Alert, and paste the webhook URL into the Webhook URL field (under Notifications). Set the alert message to JSON that tells OmniTrade24 what to trade:
Save the alert. From now on, every time your strategy fires, the alert hits your webhook and OmniTrade24 places the matching order on Alpaca automatically — typically within 100–500ms depending on your plan.
Each TradingView alert message is a small JSON payload with an action, a symbol, and a quantity. Use dynamic TradingView placeholders (like {{ticker}}) to pass the traded symbol automatically.
{"action":"BUY","symbol":"AAPL","quantity":10}{"action":"SELL","symbol":"AAPL","quantity":10}{"action":"BUY","symbol":"BTCUSD","quantity":0.05}{"action":"SELL","symbol":"BTCUSD","quantity":0.05}Automation is only as safe as the way it is set up. OmniTrade24 is built so that a leaked or misused key still cannot cost you your funds:
Automating equities and crypto strategies from TradingView, and paper-testing a system before going live with real capital.
Common questions about automating Alpaca trades with TradingView and OmniTrade24