SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Fri Dec 13, 2019 4:24 am

All times are UTC + 3 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sun Sep 22, 2019 7:23 pm 
Offline

Joined: Mon Aug 05, 2019 7:11 pm
Posts: 15
I can start strategy by
Code:
StartStrategy(strategy)
in Scenario.cs, but how can I stop strategy in MyStrategy.cs by code? thanks


Top
 Profile  
 
PostPosted: Wed Sep 25, 2019 9:23 am 
Offline

Joined: Wed May 05, 2010 9:49 pm
Posts: 562
You can try to use:
Code:
framework.StrategyManager.Stop()


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

All times are UTC + 3 hours


Who is online

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