https://github.com/hudson-and-thames/a-practitioners-guide-to-the-onc-algorithm
Code base for the practitioner's guide to the ONC algorithm paper published with the Journal of Financial Data Science
https://github.com/hudson-and-thames/a-practitioners-guide-to-the-onc-algorithm
Last synced: 4 months ago
JSON representation
Code base for the practitioner's guide to the ONC algorithm paper published with the Journal of Financial Data Science
- Host: GitHub
- URL: https://github.com/hudson-and-thames/a-practitioners-guide-to-the-onc-algorithm
- Owner: hudson-and-thames
- Created: 2023-06-04T12:35:07.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-08T06:59:46.000Z (over 2 years ago)
- Last Synced: 2025-05-07T03:42:46.225Z (8 months ago)
- Language: Jupyter Notebook
- Size: 17.2 MB
- Stars: 7
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A-Practitioners-Guide-to-the-ONC-Algorithm
Code base for the Practitioner's Guide to the ONC Algorithm paper published with the Journal of Financial Data Science.
Identifying profitable investment strategies has been a long-standing challenge for
finance practitioners. The Optimal Number of clusters (ONC) algorithm is a reliable tool
used to evaluate backtest results affected by multiple testing. The algorithm is
necessary to calculate the deflated Sharpe Ratio (DSR), a popular metric that detects
potential false positive investment strategies. These methods are based on the
Familywise Error Rate (FWER) approach, which provides stringent control over the
overall error rate, reducing the likelihood of false discoveries and increasing the
reliability of findings. However, the ONC algorithm's time complexity poses a significant
challenge for practitioners. This study proposes a practical solution to reduce the
number of clusters tested by the ONC algorithm while maintaining accuracy. Results
from simulated data sets demonstrate that the proposed solution significantly reduces
the algorithm's runtime. Additionally, this study addresses the impact of outliers on the
ONC algorithm, showing that they can lead to non-optimal solutions, and provides a
simple solution to mitigate their effects. These findings contribute to the literature on
finance by enhancing the usability of the ONC algorithm.