Description Value Public Methods Methods
This class manages WebSocket connections to polygon.io clusters.
A WebSocket template.
closeclose WebSocket connection.
connect_to_clusterconnect to a polygon WebSocket cluster.
authenticateAuthenticate connection.
subscribeSubscribe to stream.
unsubscribeUnsubscribe from a stream.
new()WebSocket$new(cluster)
close()WebSocket$close()
connect_to_cluster()WebSocket$connect_to_cluster(cluster)
authenticate()WebSocket$authenticate()
subscribe()WebSocket$subscribe(tickers)
unsubscribe()WebSocket$unsubscribe(tickers)
finalize()WebSocket$finalize()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.