SmartQuant Discussion
http://www.smartquant.com/forums/

Debug paper/live mode in Visual Studio
http://www.smartquant.com/forums/viewtopic.php?f=86&t=14729
Page 1 of 1

Author:  algotrader [ Sat Aug 05, 2017 1:05 pm ]
Post subject:  Debug paper/live mode in Visual Studio

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;
......

Author:  skuvv [ Tue Aug 08, 2017 5:09 pm ]
Post subject:  Re: Debug paper/live mode in Visual Studio

Hello,
can you please describe exception?
Usually there is no changes in strategy code for backtest/live trading, all differences placed in scenarios.

Author:  mikembb [ Thu Sep 07, 2017 4:31 pm ]
Post subject:  Re: Debug paper/live mode in Visual Studio

Maybe post the code here?

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

Author:  skuvv [ Fri Sep 08, 2017 1:43 pm ]
Post subject:  Re: Debug paper/live mode in Visual Studio

Yes, you can share example solution here.
Or send it me privately.

Page 1 of 1 All times are UTC + 3 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/