SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Tue Sep 17, 2019 10:03 pm

All times are UTC + 3 hours




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: QauntRouter Order
PostPosted: Wed Apr 04, 2012 4:05 pm 
Offline

Joined: Sun Mar 25, 2012 2:01 am
Posts: 30
Hi,

I have some trouble to send order through QR with OQ.

I use currenex broker.

I use this code :

CNXorderBuy = BuyOrder(instrument1,100000);
CNXorderBuy.Route = OrderRoute.Currenex;
CNXorderBuy.Text = "Order send Currenex";
CNXorderBuy.Send();

In the fix log i have :

20120404-12:39:25.277 : 8=FIX.4.29=17835=D34=449=XXXXXXXfixtrd52=20120404-12:39:25.27756=CNX11=20120404143925 4315=USD21=138=-1.09885262476218e+27240=F44=054=155=EUR/USD59=060=20120404-14:39:2510=088

The tag 38 is strange ?! 38 is the quantity shares

Anyway i don't know where is the problem ?!

Someone have a way for correct this trouble ?


Top
 Profile  
 
 Post subject: Re: QauntRouter Order
PostPosted: Wed Apr 04, 2012 4:11 pm 
Offline

Joined: Wed Oct 08, 2003 1:06 pm
Posts: 833
Hi,

Which version of OQ and QR are you using?

Regards,
Sergey.


Top
 Profile  
 
 Post subject: Re: QauntRouter Order
PostPosted: Wed Apr 04, 2012 4:19 pm 
Offline

Joined: Sun Mar 25, 2012 2:01 am
Posts: 30
Baraz Sergey wrote:
Hi,

Which version of OQ and QR are you using?

Regards,
Sergey.

Hi,

I use OQ 3.4.1 32bits and QR 1.0.4 32bits.


Top
 Profile  
 
 Post subject: Re: QauntRouter Order
PostPosted: Wed Apr 04, 2012 4:46 pm 
Offline

Joined: Wed Oct 08, 2003 1:06 pm
Posts: 833
I have just tried your code and it works fine on my machine.

Is it happening all the time or only sometimes orders have strange Qty in CNX logs? Which Qty do you see in QR GUI for this order?

Regards,
Sergey.


Top
 Profile  
 
 Post subject: Re: QauntRouter Order
PostPosted: Wed Apr 04, 2012 5:21 pm 
Offline

Joined: Sun Mar 25, 2012 2:01 am
Posts: 30
I have the same trouble all time and also on Hotspot ..

I see the correct quantity in the OrderManager on OQ but i stay in status PendingNew and in the OrderManger of QR i have the bad quantity and status NotSent..


Top
 Profile  
 
 Post subject: Re: QauntRouter Order
PostPosted: Fri Apr 06, 2012 9:44 am 
Offline

Joined: Sun Mar 25, 2012 2:01 am
Posts: 30
Sergey no solution ?

I have the same problem on another Windows XP SP3


Top
 Profile  
 
 Post subject: Re: QauntRouter Order
PostPosted: Fri Apr 06, 2012 3:13 pm 
Offline

Joined: Wed Oct 08, 2003 1:06 pm
Posts: 833
Hi,

Could you please try to create an empty solution, add new project to it and paste your code in OnBar handler:
Code:
Order CNXorderBuy = BuyOrder(instrument1,100000);
CNXorderBuy.Route = OrderRoute.Currenex;
CNXorderBuy.Text = "Order send Currenex";
CNXorderBuy.Send();


Do you still see the error you mentioned?

Regards,
Sergey.


Top
 Profile  
 
 Post subject: Re: QauntRouter Order
PostPosted: Fri Apr 06, 2012 6:58 pm 
Offline

Joined: Sun Mar 25, 2012 2:01 am
Posts: 30
Baraz Sergey wrote:
Hi,

Could you please try to create an empty solution, add new project to it and paste your code in OnBar handler:
Code:
Order CNXorderBuy = BuyOrder(instrument1,100000);
CNXorderBuy.Route = OrderRoute.Currenex;
CNXorderBuy.Text = "Order send Currenex";
CNXorderBuy.Send();


Do you still see the error you mentioned?

Regards,
Sergey.

Hi Sergey,

Yes same error.


Top
 Profile  
 
 Post subject: Re: QauntRouter Order
PostPosted: Thu Apr 12, 2012 1:03 pm 
Offline

Joined: Sun Mar 25, 2012 2:01 am
Posts: 30
Any other help or idea for resolv mu problèm please ?


Top
 Profile  
 
 Post subject: Re: QauntRouter Order
PostPosted: Fri Apr 20, 2012 3:54 pm 
Offline

Joined: Wed Oct 08, 2003 1:06 pm
Posts: 833
Hi,

We are working on the new version of QR that should be available next week. The new version should fix this problem.

Regards,
Sergey.


Top
 Profile  
 
 Post subject: Re: QauntRouter Order
PostPosted: Mon Apr 23, 2012 8:06 pm 
Offline

Joined: Sun Mar 25, 2012 2:01 am
Posts: 30
Baraz Sergey wrote:
Hi,

We are working on the new version of QR that should be available next week. The new version should fix this problem.

Regards,
Sergey.

Do you think there are a final version soon ?

Regards
Ludo.


Top
 Profile  
 
 Post subject: Re: QauntRouter Order
PostPosted: Mon Apr 23, 2012 9:34 pm 
Offline

Joined: Tue Aug 05, 2003 3:43 pm
Posts: 6816
Hi,

we will publish a new beta tomorrow (both QuantRouter and QuantBase).

Cheers,
Anton


Top
 Profile  
 
 Post subject: Re: QauntRouter Order
PostPosted: Wed Apr 25, 2012 3:14 am 
Offline

Joined: Mon Feb 21, 2011 10:46 am
Posts: 48
Hi, Dr.Anton. Is the new beta published yet? Wish it includes compatibility with the old framework of broker providers!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 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