SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Thu Sep 24, 2020 9:12 pm

All times are UTC + 3 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Partial Cancel/Rejects
PostPosted: Thu Sep 23, 2010 10:50 am 
Offline

Joined: Sat Jun 06, 2009 11:23 pm
Posts: 35
Hi SQ Experts!!!

Has any one luck implementing following scenarios using the callbacks? This functionality isn't supported out of box in the current API of open quant, but I hope its included in the future releases.

Basically the OMS (order management system) we are working with has extended 'Partial' support from simply Partial Execution to both Partial Canceled and Partial Rejection messages.
These partials may have a variety of causes, but sequences like the following are now considered legal:

Scenario 1:
-> New Order (200 shares)
<- Ack (OMS)
<- Canceled (100 shares)
<- Filled (100 shares)

Scenario 2:
-> New Order (200 shares)
<- Ack (OMS)
<- Rejected (100 shares)
<- Canceled (100 shares)

We need to implement this functionality and then GO-Live...

Any suggestions/idea will be great.

Thanks
BR
NtireTech Team


Top
 Profile  
 
PostPosted: Thu Sep 23, 2010 11:17 am 
Offline

Joined: Sat Jun 06, 2009 11:23 pm
Posts: 35
Just to add some information...

Partial rejection is a real case that should be handled in a similar way. Certain cases that may generate partial rejections would include something like the following:

You have 100 shares IBM – which is hard to borrow

You sell 200 shares

You may get a rejection for 100 shares (security is hard to borrow), followed by an execution for 100 shares. There are others, they may not be common. Also partial cancel needs to be handled...

Although these scenarios wont be too frequent but we have to handle them to avoid any errors in real time trading.

Hoping to hear back soon...

BR
NtireTech Team


Last edited by NtireTech on Thu Sep 23, 2010 3:00 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Thu Sep 23, 2010 11:49 am 
Offline
Site Admin

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

I understand the problem, but by FIX spec, rejected and cancelled states of the
order are final states, so the broker should send fills first and next cancels
or rejects remaining shares. We have never encountered such sequence of events -
what the broker does that?

Regards,
Alex

_________________
SmartQuant Development Team


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:  
cron
Powered by phpBB® Forum Software © phpBB Group