the example project in quantconnect failed to load vix data
Algorithm.Initialize() Error: During the algorithm initialization, the following exception has occurred: Loader.TryCreatePythonAlgorithm(): Unable to import python module ./cache/algorithm/main.pyc. AlgorithmPythonWrapper(): ModuleNotFoundError : No module named 'QuantConnect.Data.Custom.CBOE'; 'QuantConnect.Data.Custom' is not a package at from QuantConnect.Data.Custom.CBOE import CBOE === at Python.Runtime.PythonException.ThrowIfIsNull(IntPtr ob) at Python.Runtime.PythonEngine.ImportModule(String name) at Python.Runtime.Py.Import(String name) at QuantConnect.AlgorithmFactory.Python.Wrappers.AlgorithmPythonWrapper..ctor(String moduleName) at /LeanCloud/CI.Builder/bin/Debug/src/QuantConnect/Lean/AlgorithmFactory/Python/Wrappers/AlgorithmPythonWrapper.cs:line 74 in main.py: line 1 ModuleNotFoundError : No module named 'QuantConnect.Data.Custom.CBOE'; 'QuantConnect.Data.Custom' is not a package Stack Trace: During the algorithm initialization, the following exception has occurred: Loader.TryCreatePythonAlgorithm(): Unable to import python module ./cache/algorithm/main.pyc. AlgorithmPythonWrapper(): ModuleNotFoundError : No module named 'QuantConnect.Data.Custom.CBOE'; 'QuantConnect.Data.Custom' is not a package at from QuantConnect.Data.Custom.CBOE import CBOE === at Python.Runtime.PythonException.ThrowIfIsNull(IntPtr ob) at Python.Runtime.PythonEngine.ImportModule(String name) at Python.Runtime.Py.Import(String name) at QuantConnect.AlgorithmFactory.Python.Wrappers.AlgorithmPythonWrapper..ctor(String moduleName) at /LeanCloud/CI.Builder/bin/Debug/src/QuantConnect/Lean/AlgorithmFactory/Python/Wrappers/AlgorithmPythonWrapper.cs:line 74 in main.py: line 1 ModuleNotFoundError : No module named 'QuantConnect.Data.Custom.CBOE'; 'QuantConnect.Data.Custom' is not a package
Mak K
Hi Replyxf,
Please refer to this thread https://www.quantconnect.com/forum/discussion/12817/can-039-t-use-vix-data-from-fread/p1
This should show you how to add VIX data, if you have any further questions please ask them here at that point.
Thanks!
Replyxf
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!