Description Value Public Methods Methods
This class manages WebSocket connections to polygon.io clusters.
A WebSocket template.
close
close WebSocket connection.
connect_to_cluster
connect to a polygon WebSocket cluster.
authenticate
Authenticate connection.
subscribe
Subscribe to stream.
unsubscribe
Unsubscribe 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.