SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Sat Dec 04, 2021 10:41 pm

All times are UTC + 3 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Jan 19, 2016 6:15 am 
Offline

Joined: Fri Sep 28, 2012 8:16 am
Posts: 144
Hi,

I modify the SMACrossoverLoadOnStart,add OnTrade in MyStrategy.
and run the Realtime project.
I found I can receive OnBar,but I can NOT receive OnTrade

If I comment StartStrategy(StrategyMode.Backtest); run live directly, I can receive OnTrade.

Regards,
wukan


Top
 Profile  
 
PostPosted: Thu Apr 14, 2016 8:03 am 
Offline

Joined: Wed Jul 22, 2015 10:17 am
Posts: 2
Met the same problem ,did not work around. can anyone help
thanks


Top
 Profile  
 
PostPosted: Thu Apr 14, 2016 11:53 am 
Offline

Joined: Wed May 05, 2010 9:49 pm
Posts: 583
We know about this problem.
Currently you can avoid it by changing type Strategy to type Strategy_
I prepared updated solution for SMACrossoverLoadOnStart.
PS Strategy_ is new and will work more faster.


Attachments:
SMACrossoverLoadOnStart2.zip [16.68 KiB]
Downloaded 334 times
Top
 Profile  
 
PostPosted: Fri Apr 15, 2016 11:59 am 
Offline

Joined: Wed Jul 22, 2015 10:17 am
Posts: 2
Thanks so much! :)


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 1 guest


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