View source: R/Websockets.R
Authorizes the websocket connection passed as the first argument
auth(self, live)
self
(websocket) The websocket to authorize
(websocket)
live
(logical) TRUE / FALSE if you are connecting to a live account. Default to FALSE, so it will use the paper url if nothing was provided.
(logical)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.