from datetime import datetime, timedelta

Code such as the above works for external libraries. But doesn't seem to allow me to pull additional files I've defined in the web editor, such as pivots.py, into main.py.

Previous discussion question suggests an answer, but unsure how to "add to root level" as he discusses here. Assuming he is running the desktop implementation:

https://www.quantconnect.com/forum/discussion/3708/python-libraries-and-directories/p1

How does one go about doing this, or is it even possible? Previously the capability has been shut down:

https://www.quantconnect.com/forum/discussion/1920/can-python-projects-can-only-use-main-py-now/p1

 

Author