code: def _moving_avg(prices, days=10):
      if len(prices) < days:
          return [100]
      return (
          np.convolve(
              prices[-days:], np.ones(days, dtype=float), mode="valid"
          )
          / days
      )
  
file_path: bokeh/examples/server/app/ohlc/main.py
imports: import numpy
  from bokeh.driving import count
  from bokeh.layouts import column, gridplot, row
  from bokeh.models import ColumnDataSource, Select, Slider
  from bokeh.plotting import curdoc, figure
label_desc: Use image node_id 2 for calling a global function with example usage: _moving_avg(prices, days) and returns: unknown, list