Complete reference for integrating with Shadowstar's trading infrastructure. Direct access to institutional execution rails.
Caddy + Cloudflare enforcing TLS 1.3 and WAF rules.
Async Python engine dispatching orders with <1ms latency.
Prometheus streams powering mission control dashboards.
Sign up and retrieve your API key from the dashboard to authenticate your requests.
Authenticate with your broker using OAuth2 (Tradovate supported).
Navigate to:
Dashboard → Settings → Connect TradovateAdd this webhook URL to your TradingView alerts:
https://app.shadowstar.xyz/api/webhook/tradingviewAll API requests require authentication using your API key in the request body. This ensures secure, authorized access to your execution infrastructure.
POST /api/webhook/tradingviewContent-Type: application/json{ "api_key": "your_api_key_here", "symbol": "NQ", "action": "buy", "quantity": "1", "order_type": "market" }
Use this JSON structure in your TradingView alert message box. Variables in {{...}} are automatically populated by TradingView.
{
"api_key": "{{YOUR_API_KEY}}",
"symbol": "{{ticker}}",
"action": "{{strategy.order.action}}",
"quantity": "{{strategy.order.contracts}}",
"order_type": "market"
}Create an account, then open Mission Control → API Key. Copy both key + webhook URL; they authenticate every alert.
Dashboard → Settings → Connect Tradovate. OAuth tokens allow the execution engine to post fills in real time.
Emit alerts from TradingView with entry/exit context. Use {{strategy.order.action}} and {{strategy.order.contracts}} placeholders.
Set TradingView webhook URL to https://api.shadowstar.xyz/api/webhook/tradingview and drop the JSON payload below into the alert message.
POST /api/webhook/tradingview/test with the exact payload. You will get subscription + schema validation without touching the broker.
Every routed fill updates Trades, Analytics → Performance, and the public marketing metrics. Monitor Sharpe, win rate, and drawdowns in the dashboard.
TradingView Alert Payload
Every alert becomes a trade record. As soon as the broker confirms a fill, Shadowstar writes the realized P&L back to your account and surfaces it in Analytics, the dashboard StatCards, and the public marketing meter. No spreadsheets, no manual syncing—just keep the alert firing and the system handles attribution.
To ensure system stability, the following rate limits apply:
Subscribe for execution acknowledgements, latency telemetry, and broker heartbeat data.
const socket = new WebSocket('wss://api.shadowstar.xyz/ws/execution')
socket.onopen = () => console.log('connected')
socket.onmessage = (event) => {
const payload = JSON.parse(event.data)
// { type: 'fill', trade_id: 1042, latency_ms: 0.83 }
}Our engineering team is available 24/7 for technical support and integration assistance.