{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.11.13","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"},"kaggle":{"accelerator":"none","dataSources":[{"sourceId":96164,"databundleVersionId":11418275,"sourceType":"competition"},{"sourceId":12405352,"sourceType":"datasetVersion","datasetId":7823194}],"dockerImageVersionId":31089,"isInternetEnabled":true,"language":"python","sourceType":"notebook","isGpuEnabled":false}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"markdown","source":"> ⚠️ **Notebook Update (July 9, 2025):**  \n> This notebook was originally created as a simple demonstration to explore how restoring time order could impact model performance. However, after further reflection and review of the competition rules, I’ve decided to remove the previous version of the notebook as it unintentionally included **future-looking features**, which are **not allowed** in this competition and are not realistic in real-world settings.\n> \n> I want to be clear that I do **not** support or encourage any use of data leakage or features that rely on future information. This update is made out of respect for the competition rules and to ensure fair play for all participants.\n> \n> Thank you to the community members who flagged this, and I appreciate your understanding.\n","metadata":{}},{"cell_type":"markdown","source":"---\n# Credits to [DRW - Crypto Market Prediction](https://www.kaggle.com/competitions/drw-crypto-market-prediction/discussion/588610) and all related discussions\n\n- I’m simply implementing one of the most basic models to validate the idea — feel free to try this strategy with more advanced models, and you’ll likely achieve better performance.  \n- Knowing the time order gives us the opportunity to apply time-series techniques. In the example below, I used simple lead/lag variables, but more sophisticated technical indicators could further enhance performance.  \n- Not many days left — enjoy the playing field!","metadata":{}},{"cell_type":"code","source":"","metadata":{"trusted":true},"outputs":[],"execution_count":null}]}