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 (
otp.datetime
) – start time of a queryend (
otp.datetime
) – end time of a queryadd_passthrough (bool) – add additional
onetick.query.Passthrough
event processor to the end of a resulted graph
- Return type
otq.GraphQuery
See also