SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Thu Nov 23, 2017 4:16 pm

All times are UTC + 3 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sat Aug 05, 2017 1:05 pm 
Offline

Joined: Mon Dec 01, 2008 6:45 am
Posts: 3
How could I debug a strategy in paper/live mode using Visual Studio?
I can debug a strategy in backtest mode without problem.
However, I always encounter a System NullReferenceException when StartStrategy() in paper/live mode.
Should I do any modification of the original strategy code to make paper/live mode work?
Such as:
Framework.Mode=FrameworkMode.Realtime;
......


Top
 Profile  
 
PostPosted: Tue Aug 08, 2017 5:09 pm 
Offline

Joined: Wed May 05, 2010 9:49 pm
Posts: 386
Hello,
can you please describe exception?
Usually there is no changes in strategy code for backtest/live trading, all differences placed in scenarios.


Top
 Profile  
 
PostPosted: Thu Sep 07, 2017 4:31 pm 
Offline

Joined: Tue Oct 13, 2009 12:19 pm
Posts: 203
Maybe post the code here?

Did you try to use a new empty solution, do you have the same problem?


Top
 Profile  
 
PostPosted: Fri Sep 08, 2017 1:43 pm 
Offline

Joined: Wed May 05, 2010 9:49 pm
Posts: 386
Yes, you can share example solution here.
Or send it me privately.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 3 hours


Who is online

Users browsing this forum: No registered users and 5 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