DOC: Jupyter notebook showing how to optimize "d" and "window" params
Lmk if any changes need to be made @simaki. Thanks for taking a look 😃
Btw this is how it looks like https://github.com/replacementAI/fracdiff/blob/main/examples/Frac%20Diff%20Example.ipynb
I think in block 7, I need to elaborate that the frac diff model outperforms the 3 other models. I also want to reduce the search space window to 147 (21 days per month * 7 hours per trading day).
I still need some time to work on this, Ive been a bit busy
@simaki, sorry for the late commit, I've finished up the example. The target is the log return of a L/S portfolio where ETH is long and BTC is short. I picked crypto because it might have more alpha than equities, and I also constructed the portfolio this way in order to compensate for the market factor, which I believe bitcoin is a good proxy for.
All thats left is to figure out where to put this jupyter notebook. Its already in the examples folder, but should I just put a hyperlink on the readme? Or should I put the hyperlink, and some pictures from the notebook?