Integration Ready for Use • US Equities, Options & Crypto • Paper & Live Auto-Detect

Automate TradingView & Pine Script Webhooks to Alpaca Markets.

Convert TradingView, TrendSpider, Zapier, and Python alerts directly into live or paper orders on Alpaca Markets in under 50 milliseconds. Route fractional US stocks, OCC options, multi-leg spreads, and 24/7 crypto pairs with built-in OTO/Bracket protection and zero server maintenance.

Dedicated Alpaca Markets Execution Pipeline

Every Alert PlatformAlgor SwitchboardAlpaca Markets.

Every inbound webhook from TradingView, TrendSpider, Zapier, or Python is validated against Alpaca Markets's exact order constraints, checked against your risk guardrails, and dispatched in under 50 milliseconds.

1. Any Alert Source
TV
TradingView
Pine Alerts & Strategies
Webhook
TrendSpider
Multi-Factor Chart Alerts
Webhook
Zapier & IFTTT
No-Code App Triggers
App Trigger
Python & Custom Bots
Custom Scripts & Bots
Custom Alert
AutoView & PineConnector
Zero-Rewrite Legacy Syntax
Auto-Parsed
2. Cloud Switchboard Core

Algor Terminal

Ultra-Fast < 50ms Alpaca Dispatch

Alpaca v2 REST Adapter • 200 Req/Min Dual-Bucket Guard

3. Dedicated Alpaca Markets Fills
US Equities & ETFs
Whole & Fractional Share Routing
Equities
Notional Cash ($) Orders
Trade Exact Dollar Allocations
Notional $
Bracket & OTO Orders
Attached Take-Profit & Stop-Loss
Brackets
Single & Multi-Leg Options
OCC Contracts & mleg Spreads
Options
24/7 Alpaca Crypto Spot
BTC/USD, ETH/USD & SOL/USD
Crypto
How It Works

Go Live on Alpaca in 3 Steps.

Start with unlimited Paper Sandbox testing on our Free Plan ($0 forever) plus 5 live market signals every rolling 30-day cycle.

01

Activate Your Algor Account

Create your free Algor Terminal account in 30 seconds. Every account includes unlimited (∞) Paper Sandbox signals, unlimited active webhook routes, and 5 free live signals per month.

02

Connect Alpaca Paper or Live API Keys

Paste your Alpaca API Key ID and Secret Key into the AES-256-GCM Broker Vault. Algor automatically detects PK-prefixed Paper Sandbox keys versus Live Market keys and routes to the correct Alpaca endpoint.

03

Point Your TradingView Alerts

Copy your unique Algor Webhook URL and auto-generated JSON payload from the Integration Studio into your TradingView alert box. Inspect every fill in real time inside System Logs.

Ready-to-Use Webhook Payloads

TradingView to Alpaca Markets JSON Templates.

Use our visual Integration Studio inside the dashboard to generate payloads automatically, or copy these verified Alpaca Markets JSON templates directly into your TradingView alert message box.

Template 01 • Dynamic Strategybroker: "alpaca"

US Equity Strategy Webhook + Take-Profit / Stop-Loss Bracket

Drop this JSON template into your TradingView Strategy Alert message box to route automated stock entries with attached bracket exit prices to Alpaca.

{
  "action": "{{strategy.order.action}}",
  "symbol": "{{ticker}}",
  "price": "{{close}}",
  "broker": "alpaca",
  "order_type": "market",
  "time_in_force": "day",
  "contracts": "{{strategy.order.contracts}}",
  "take_profit": {
    "price": "{{plot(\"Take_Profit\")}}"
  },
  "stop_loss": {
    "price": "{{plot(\"Stop_Loss\")}}"
  }
}
Template 02 • Specialized Executionbroker: "alpaca"

Notional Dollar ($) Fractional Equity or Crypto Alert

Route a fixed USD cash allocation (such as $500 per trade) on US stocks or Alpaca crypto pairs like BTC/USD without calculating share quantities manually.

{
  "action": "buy",
  "symbol": "{{ticker}}",
  "broker": "alpaca",
  "order_type": "market",
  "time_in_force": "gtc",
  "notional": 500
}
Switchboard Adapter Specifications

Alpaca MarketsExecution & Security Parameters

Zero Trade Commissions ($0 / 0%)
Vault Authentication
Encrypted API Key & Secret (Auto-Detects PK Paper vs. Live Keys)
Supported Asset Classes
US Equities, Fractional Shares, Single/Multi-Leg Options, Crypto Spot
Supported Order Types
Market, Limit, Stop, Stop-Limit, Bracket (TP + SL), OTO
Position Sizing Modes
Fixed Shares/Contracts, Fractional Quantities, Notional Dollar ($)
Rate-Limit & 429 Guard
200 req/60s Sliding Window + Automatic HTTP 429 Re-Queue Backoff
Sandbox & Telemetry
Unlimited Free Alpaca Paper Trading Sandbox Signals
Alpaca Markets Webhook FAQ

Frequently Asked Questions

How do I connect TradingView alerts to Alpaca Paper Trading first?

Generate a Paper API Key (starting with "PK") inside your Alpaca dashboard and save it in the Algor Universal Broker Vault. Algor automatically recognizes the PK prefix, routes your alerts to paper-api.alpaca.markets, and gives you unlimited free Paper Sandbox signals on every plan.

Does Algor support Alpaca Bracket Orders (Take-Profit and Stop-Loss)?

Yes. When your webhook payload includes take_profit and stop_loss price objects on US equities, Algor automatically formats an Alpaca order_class: "bracket" (or "oto" if only one exit leg is specified) in a single atomic API call.

What happens if my strategy fires multiple alerts at once and hits Alpaca rate limits?

Algor enforces an Upstash Redis dual-bucket rate limiter (200 requests/minute) and inspects Alpaca x-ratelimit-reset headers. If a burst triggers an HTTP 429 response, your trade is never dropped—Algor automatically re-queues the order and dispatches it as soon as the cooldown window clears.

Can I migrate from TradersPost, SignalStack, or AutoView without rewriting my alerts?

Yes. Algor natively translates standard TradersPost/SignalStack JSON payloads as well as legacy AutoView (s=AAPL b=buy q=10) and PineConnector CSV syntax automatically.