SmartQuant Discussion

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

All times are UTC + 3 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sat Mar 28, 2015 1:04 am 
Offline

Joined: Mon Jan 05, 2015 11:03 pm
Posts: 7
Location: Hungary
Dear Support,

I am using Xtrader with TTapi and I have 3 client account wiht 3 order routing gateway. To reach the right account the riskAccount parameter is not enough. I attached my screen where you could see the set up of the customers within the Xtrader. Also could see the OpenQuant TTEx Class members. Could you please give me detailed description about the class members?

My code for sumbitting an order:
Code:
   public Order limitKotes(Instrument inst, OrderSide irany, int db, double limitAr, string szoveg, string RiskAccount) {
      Order limitAd;
      limitAd=LimitOrder(inst, irany, Math.Abs(db), limitAr, szoveg);   
      limitAd.Account=RiskAccount;
      limitAd.PositionEffect=PositionEffect.Open;
      limitAd.TT.ClearingAccount=RiskAccount;
      limitAd.TT.TTUserTag=limitAd.Text;
      limitAd.TT.TTExchangeGateway="10706";
      return limitAd;
   }


I tried to use the TTExchangeGateway property but no success.

thank you

Gábor


Attachments:
screen.jpg
screen.jpg [ 388.72 KiB | Viewed 1749 times ]
Top
 Profile  
 
PostPosted: Sat Mar 28, 2015 5:57 pm 
Offline
Site Admin

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

The fields of TTEx extension of Order class are mapped to XTrader properties as:

ClearingAccount=GiveUp
FFT2=FFT2
FFT3=FFT3
TTAccountType=AcctType
TTUserTag=UserTag

All other fields are used in a case of TT FIX plugin only.

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