======== ByPeriod ======== .. currentmodule:: backtest_lib.market .. autoclass:: ByPeriod :members: