Skip to main content
WSS
/
ws

Documentation Index

Fetch the complete documentation index at: https://api.alphainsider.com/llms.txt

Use this file to discover all available pages before exploring further.

Messages
Ping
type:string

Client heartbeat message to keep the connection alive.
We recommend sending a ping every 30 seconds.

Subscribe
type:object

Client request to subscribe to one or more channels.
A new subscribe request overwrites all previous subscriptions.

Ping Response
type:string

Server heartbeat response to a client ping.

Subscribe Response
type:array

Server confirmation of successful subscription.

Error Response
type:array

Server error response, which may include a specific channel.
We recommend reconnecting if an error occurs.

Stock Price
type:array

Real-time stock price update (every 1 second).
You can use either the internal stock ID or "stock:exchange" format (e.g. "AAPL:XNAS"). To lookup available stock_ids use the /searchstocks or /getallstocks endpoints.

Strategy Value
type:array

Real-time strategy value update (every 5 seconds).

Orders
type:array

Updates for open orders (instant).

Positions
type:array

Updates for strategy positions (instant).

Timelines
type:array

New strategy timeline events (instant).

Bot Status
type:array

Bot status changes (instant).

Bot Allocations
type:array

Bot allocation changes (instant).

Bot Activities
type:array

New bot activities (instant).