SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Sat Dec 07, 2019 8:10 am

All times are UTC + 3 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Wed Oct 02, 2019 5:34 pm 
Offline

Joined: Wed Aug 07, 2019 7:49 am
Posts: 20
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.


Attachments:
File comment: A visual studio project to replicate a bug.
SyncErrorTest.zip [166.15 KiB]
Downloaded 13 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 3 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group