SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Tue Sep 25, 2018 4:46 am

All times are UTC + 3 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Apr 03, 2018 3:25 pm 
Offline

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

could you please let me know, how I could set the defaultAllocation for the IB provider in above situation programatically for an FA account?

Code:
            SmartQuant.IB.IBTWS p = (SmartQuant.IB.IBTWS)ProviderManager.GetProvider(ProviderId.IB);
            p.Port = 7482;           
            p.ClientId = 42;
            p.DefaultAllocation = ???  //set Manual Allocation to an Allocation Profile
            p.Connect();


Thanks
Mike


Top
 Profile  
 
PostPosted: Tue Apr 03, 2018 3:36 pm 
Offline

Joined: Wed May 05, 2010 9:49 pm
Posts: 438
Unfortunately you cannot set DefaultAllocation for IB programmatically.
Setter is closed and the type converter/type editor used for edit value using controls.


Top
 Profile  
 
PostPosted: Tue Apr 03, 2018 3:50 pm 
Offline

Joined: Tue Oct 13, 2009 12:19 pm
Posts: 233
Thanks.

Can this be amended somehow, that I could set the a Manual Allocation to an Allocation Profile.

Regards
Mike


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 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:  
Powered by phpBB® Forum Software © phpBB Group