quantlab.factor.predefined.intraday.IntradayParameters#
- class quantlab.factor.predefined.intraday.IntradayParameters(session_bars=390, edge_bars=30, min_returns=60)[source]#
Bases:
objectParameters of
IntradayStats, read fromconfig.kwargs.- Parameters:
- session_barsint, default 390
Bars of the longest session (390 one-minute bars, 09:30-16:00); a longer session is refused, and the first
session_bars - 1bars computed are NaN.- edge_barsint, default 30
Bars of the opening and closing part of the session in
ret_open30,ret_close30andvolume_close30.- min_returnsint, default 60
Fewest bars with a trade a session needs for its statistics.
Examples
>>> IntradayParameters.from_kwargs({"min_returns": 120}).min_returns 120