Description Usage Arguments Value
Create a Tushare realtime websocket
| 1 | tushare_realtime_websocket(topic, code, callback, api = TushareApi())
 | 
| topic | realtime topic to subscribe | 
| code | code to subscribe | 
| callback | callback function to process data | 
| api | an tsapi object | 
a WebSocket
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.