SmartQuant Discussion

DataSeriesObject synch error with Custom DataProvider
Page 1 of 1

Author:  ambl [ Wed Oct 02, 2019 5:34 pm ]
Post subject:  DataSeriesObject synch error with Custom DataProvider

Following this discussion viewtopic.php?f=60&t=14960,
I am trying to call AddInstrument(instrument, myCustomDataProvider) after OnStrategyStart has been called. This avoids the error discussed ealier but produces many DataSeriesObject synch errors and then eventually throws a NullPointerException from somewhere within SmartQuant.dll and the program crashes.

I have attatched a test case strategy to replicate. I have tried adding various instruments with different datetime's and all have failed so I'm confident you can replicate the bug with your own instruments, if not I can also provide a data sample.

File comment: A visual studio project to replicate a bug. [166.15 KiB]
Downloaded 233 times

Page 1 of 1 All times are UTC + 3 hours
Powered by phpBB® Forum Software © phpBB Group