Static IP for WebSocket Trading

Static IP for WebSocket Trading

A whitelist match on REST is useless if the ticker connects direct. Brokers then see two origins. Put every socket on the same HOST:443 credentials.

Python

Export HTTPS_PROXY before starting KiteTicker / SmartAPI WS. A second thread that opens a raw socket will 403.

Node.js

Pass HttpsProxyAgent into the ws constructor. See /integrations/websocket.

WebSocket IP errors · Trading proxy