SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Sun Jul 22, 2018 5:14 pm

All times are UTC + 3 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Wrong Account Name
PostPosted: Thu Feb 24, 2011 12:41 pm 
Offline

Joined: Wed Aug 08, 2007 6:32 pm
Posts: 218
Hi,

my default customer account setting for Eurex is PYN10 but OQ is trading Eurex markets under the default customer account for my CME or CBOT markets MSR9PYN10. This is causing problems for external risk systems, which are not picking up OQ trades. I assume this is because of:

TTOrderprofileClass op = new TTOrderprofileClass();
Array customers = (Array)oP.Customers;
string customer = (string)customers.GetValue(0);
TTOrderProfile p = newTTOrderProfile();
p.customers = customer;

0 should be 2

Since I have had this problem with my own separate system.

How can I resolve this?


Top
 Profile  
 
 Post subject: Re: Wrong Account Name
PostPosted: Thu Feb 24, 2011 4:24 pm 
Offline
Site Admin

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

TT API plugin uses the following algorithm:

1) if order.Account is set then this value is used
2) if order.Account is not set then the value of Customer property of plugin is used.
you can select desired default customer from drop-down list when provider is connected to XTrader

Regards,
Alex

_________________
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 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