Hi Guy,
While creating my algo. I had been learning a lot. So decide my algo needs to be refactored. So create a new file called it “notes”. Did not add the dot "py" extension. Cut and Pasted in some of the code. That I wanted to refactor.
Had to leave the computer. The computer hibernated. When come back the and restarted the computer the session had closed. When I reopened the session the “notes” file was missing.
after experimenting discovered that if I create a file with no extension. It remains visible in the explorer pane on the right until I close the strategy editor and reopen. After reopening the files with no extension are not listed. As a side note: Pressing F5 to reload browser table the strategy editor does not cause files with out the py extension to vanish.
Are the files still there but hidden?
If yes how to I show files without the dot “py” extension.
If no is there a way to recover the vanished files?
If there is not way to recover the vanished files. Does the editor some where record previous version of files. So I can go back to an old version of the main code before I cut the code to refactor out?
Thank you for your help in advance.
Derek Melchin
Hi Jackson,
The IDE doesn't save files that have no extension. If the code you added to the file was from one of your project files in an earlier backtest, you can check the backtest history to see if the code is still accessible. To view all the backtests of a project, see View All Backtests. To view the code files of a backtest, see Project Files.
We notified the UX team of the issue. They will make it so that only Supported File Types are allowed in the IDE.
Best,
Derek Melchin
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Jackson Dude
Thank you very much.
Jackson Dude
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!