https://www.quantconnect.com/lean/documentation/topic16.html

 

is there a python version of this? sorry if I missed it.

Author