otp.Source.to_graph#

Source.to_graph(raw=None, symbols=None, start=None, end=None, *, add_passthrough=True)#

Construct an onetick.query.GraphQuery object.

Parameters
  • raw

    Deprecated since version 1.4.17: has no effect

  • symbols – symbols query to add to otq.GraphQuery

  • start (datetime) – start time of a query

  • end (datetime) – end time of a query

  • add_passthrough (bool) – add additional onetick.query.Passthrough event processor to the end of a resulted graph

Return type

otq.GraphQuery

See also

render()