I am trying to write code for 5 minute data and I get the following error at the bottom of the editor after having downloaded 5 minute data for a ticker
Runtime error: Attempting to Deserialize an empty stream.
etc
etc
CODE:
Please log in to see this code.
Thanks Eugene or Cone.
Size:
Color:
The code is not to blame. The key are the active static and streaming providers. What are they? And what are the symbols?
Size:
Color:
The symbol is UNXL and update data on demand is on.
Size:
Color:
Perhaps there is some error with the Fidelity data (since it's assumed that I know which providers you're using).
Size:
Color:
Size:
Color:
We could have reached resolution 3 days ago if topic starter did not choose to cut down the error message:
QUOTE:
Runtime error: Attempting to Deserialize an empty stream.
etc
etc
I know it must be a drag to type it in by hand, but what's left behind those "etc etc" is the key here, so I'd appreciate your effort to bring to light the missing piece of this puzzle. ;)
Size:
Color:
Sorry just saw this request.
Here goes. Problem exists w/ MSFT as a ticker too.
Errors:
Runtime Error. Attempting to Deserialize an empty stream
at WealthLabPro.ChartForm.a(ObjectA_0, LoadSymbolEventArgs A_1)
at WealthLabPro.MainModule.LoadExternalSymbol(String symbol, BarScale scale, Int 32 barInterval, Boolean IncludePartialBar)
at WealthLab.DataProviders.DBStatic.RequestData(DataSourse ds, String Symbol, DateTime startDate, DateTime endDate, Int32 maxBars, Boolean includePartialBar)
at WealthLab.DatProviders.Database,DBStaticSettings,DeserializeFromString(String soapString)
at System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Desearilze(Stream serializationStream, HeaderHAndler handler)
phew.........
Thanks.
Size:
Color:
Just unclicked Buy and Hold.
Thanks Cone... sorry gentlemen....
makes obvious sense (post facto) of why there would be an error. Buy and hold security is not in 5 min interval... Thanks
Size:
Color:
That's the same signature as in the previous case that I linked. You're using the DBStatic provider, not the Fidelity Provider.
Edit: Roger! Just to check, what was the Buy & Hold symbol?
Size:
Color:
Topic starter is probably not using the Database provider - just has it installed. When Wealth-Lab makes a request for the external symbol's (B&H) data, it happens that the DB provider is served first because its class name is first in alphabetical order. Since the B&H symbol is not present in gbullr's DBProvider DataSets (if there are any), here comes the error.
Size:
Color:
external Symbol was yahoo index ^GSPC (above)
addittional question re errors:
I have a strategy for trading the months from May through Nov, worked last summer in terms of compiling and backtesting.
I have tried looking at it for the first time this year and I get the following error:
Runtime Error. Attempting to Deserialize an empty stream
at WealthLab.Strategies.CooledOffDemo.Execute()
at WealthLab.WealthScript.SetContext(String Symbol, Boolean Synchronize)
at WealthLabPro.ChartForm.a(Object A_0,LoadSymbolEventArgs A_1)
at WealthLabPro.MainModule.LoadExternalSymbol (String Symbol, BarScale, Int32 barInterval, Boolean includePartialBar)
at WealthLab.DataProviders.Database.DBStratic.RequestData(DataSource ds. String Symbol, DateTime startDate, DateTime endDate Int32 maxBars, Boolean include PartialBar)
at WealthLab.DataProviders.Database.DBStratic.DeserializeFromString(String soapString)
At System.Runtime.Serialization. Formatters.Soap.SoapFormatter.Deserialize(Stream SerializationStream, HeagerHandler handler)
Thanks.
Any chance you can make the error window cut and paste?
Thanks again for your help.
Size:
Color:
The symbol behind SetContext must be missing, could not be found, or isn't present in the chart's bar scale.
Size:
Color: