factor_agent.aggregations.WithinSession#
- class WithinSession(x, position, bars)[source]#
Bases:
CompositiveOpxon the bars at leastbarsbars into their session, NaN on the session’s firstbars.positionis the bar’s position in its session (quantlab’sSESSION_POSITION). The stage split (factor_agent.gate.stages) wraps each window of the intraday stage in it,barsthe bars the window reaches back, its inputs’ windows included, so the window is missing until it fits in the session; KunQuant decomposes it into aSelect. Candidate code never calls it.
Inherited methods and attributes are documented on the base classes linked above.