{"message":"Stock and Options Data Publisher API","version":"1.0.0","endpoints":{"websocket":"/ws","rest_api":{"subscribe":"POST /api/options/subscribe","unsubscribe":"DELETE /api/options/unsubscribe/{option_id}","subscriptions":"GET /api/options/subscriptions","expirations":"GET /api/options/{ticker}/expirations","strikes":"GET /api/options/{ticker}/strikes"}},"environment_variables":{"AUTO_SUBSCRIBE_SYMBOLS":"Comma-separated list of stock symbols to auto-subscribe to (e.g., 'AAPL,GOOGL,TSLA')","AUTO_STRIKES_BELOW_PRICE":"Deprecated - no longer used (kept for backward compatibility)","AUTO_STRIKES_ABOVE_PRICE":"Deprecated - no longer used (kept for backward compatibility)","AUTH_TOKEN":"Bearer/query token for authentication. Header: 'Authorization: Bearer <token>' or 'X-API-Key: <token>', Query: '?token=<token>'"},"automatic_subscription_features":{"description":"Automatically subscribes to stock and at-the-money options based on environment configuration","selection_criteria":["Filters out expirations that are today or earlier (requires at least 1 day to expiry)","Uses options with the closest valid expiration date to current date","Selects at-the-money strike (closest to current stock price)","For the at-the-money strike: subscribes to both PUT and CALL options","Total options per symbol: 2 (one put and one call at-the-money)"]}}