- ago
Noticed a few weeks a go that when I want to enable TQQQ chart streaming on an intraday scale via IB, I always get the same FormatException error. Any ideas what could be the issue here?


CODE:
System.FormatException: String '20180608,14.73625,14.985,14.63125,14.915,140000' was not recognized as a valid DateTime. at WealthLab.Data.AsciiFormatBase.ParseDate(String token) at WealthLab.Data.AsciiFormat.LoadDataFromFile(String fileName, DateTime startDate, DateTime endDate, Int32 maxBars, Boolean isDataSetWizard, HistoryScale assumedScale) at WealthLab.Data.AsciiProvider.GetBaseScaleData(String symbol) at WealthLab.Data.HistoricalDataValet.CalcSchema(DataProviderBase asset, String visitor, HistoryScale state, DateTime var12, DateTime reg3, Int32 end_ident4, DataRequestOptions last5) at WealthLab.Data.HistoricalDataValet.CalculateSchema(String value, HistoryScale connection, DateTime res, DateTime setup2, Int32 indexOf_def3, IHistoryProvider item4, DataRequestOptions init5) at WealthLab.Data.HistoricalDataValet.GetHistory(String symbol, HistoryScale scale, DateTime start, DateTime end, Int32 maxBars, DataRequestOptions cb) at WealthLab8.MainController.GetHistory(String symbol, HistoryScale scale, DateTime startDate, DateTime endDate, Int32 maxBars, DataRequestOptions cb) at WealthLab.ChartWPF.Chart.<>c__DisplayClass130_0.SetupWorker() at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at WealthLab.ChartWPF.Chart.FillStub(Boolean islast, DataSet selection) at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
0
354
Solved
2 Replies

Reply

Bookmark

Sort
Glitch8
 ( 12.08% )
- ago
#1
This is an ASCII parsing error, indicating WL is trying and filing to fulfill the historical request using an ASCII DataSet you previously created. Can you check your Data Manager, Historical Providers, and make sure IB has priority?
1
Best Answer
- ago
#2
QUOTE:
and make sure IB has priority?

i.e. drag IB on top of ASCII.
0

Reply

Bookmark

Sort