I try to run the sample code for kerasneuralnetwork on the "EURUSD" instead of the "SPY".
I got the Error:
During the algorithm initialization, the following exception has occurred: KeyNotFoundException : EURUSD not found in portfolio. Request this data when initializing the algorithm.at QuantConnect.Scheduling.TimeRules.GetSecurity (QuantConnect.Symbol symbol) [0x0001b] in :0
at QuantConnect.Scheduling.TimeRules.AfterMarketOpen (QuantConnect.Symbol symbol, System.Double minutesAfterOpen, System.Boolean extendedMarketOpen) [0x0000d] in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in :0
at Initialize in main.py:line 53
KeyNotFoundException : EURUSD not found in portfolio. Request this data when initializing the algorithm.
at QuantConnect.Scheduling.TimeRules.GetSecurity (QuantConnect.Symbol symbol) [0x0001b] in :0
at QuantConnect.Scheduling.TimeRules.AfterMarketOpen (QuantConnect.Symbol symbol, System.Double minutesAfterOpen, System.Boolean extendedMarketOpen) [0x0000d] in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in :0