SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Wed Dec 13, 2017 2:49 am

All times are UTC + 3 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Oct 08, 2014 8:03 pm 
Offline

Joined: Tue Oct 13, 2009 12:19 pm
Posts: 208
Dear Team,

can you let me know when this BrokerPositionList.IsSynchronized is set to true.

Should I post my DataManager.GetBrokerInfo request into ThredPool - and then have it timed out or wait for issynchronized to be true?

Regards
Mike


Top
 Profile  
 
PostPosted: Wed Oct 08, 2014 9:23 pm 
Offline
Site Admin

Joined: Thu Jul 17, 2003 10:39 am
Posts: 1478
Hi,

It will never set to true. Since BrokerPositionList implements ICollection interface, these properties (IsSynchronized, SyncRoot) and CopyTo method need to be implemented, but they do not make sense in this collection.
The BrokerInfo data is a snapshot and cannot be modified after you received it from the DataManager.GetBrokerInfo call.
So, it is not needed to sync an access to the BrokerInfo data.

_________________
SmartQuant Development Team


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