SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Sun Apr 02, 2023 9:41 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: 583
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 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