A python module for algorithmic trading and strategy validation