We apply the Ornstein-Uhlenbeck model to a pairs trading process to derive the optimal entry and exit values. Algorithm here: https://www.quantconnect.com/terminal...
Link to notes: https://docs.google.com/document/d/1w...
Link to paper: https://arxiv.org/pdf/1411.5062.pdf
Link to writeup on QC: https://www.quantconnect.com/tutorial...