Python for Finance: Analyze Big Financial Data

(Elle) #1
Figure 14-5. Screenshot of real-time Bokeh plot via Bokeh Server (exchange rate)

Real-time stock price quotes


The second example uses real-time, high-frequency stock price data. First, make sure to


correctly direct the output (i.e., in this case to the Bokeh server for the real-time plot):


In  [ 68 ]: bp.output_notebook(“default”)
Out[68]: Using saved session configuration for http://localhost:5006/
To override, pass ‘load_from_config=False’ to Session
Free download pdf