SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Thu Oct 22, 2020 3:16 am

All times are UTC + 3 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Tue Dec 31, 2013 1:11 pm 
Offline

Joined: Wed Aug 08, 2007 6:32 pm
Posts: 236
Does a partially filled IOC order fire of an OnOrderPartiallyFilled and OnOrderDone, OnOrderFilled?

Or does it fire OnOrderPartiallyFilled and OnOrderDone?

Also does it fire OnOrderCancelled?

or does it fire some other combination?


Top
 Profile  
 
PostPosted: Fri Jan 03, 2014 1:59 pm 
Offline
Site Admin

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

OnOrderDone event will be raised in any case, but other events depend of situation.
There are possible situations:
1. full fill at once - OnOrderFilled
2. with partial fills - OnOrderPartiallyFilled (N times), OnOrderFilled
3. non full fill - OnOrderPartiallyFilled (N times), OnOrderCancelled
4. no fills - OnOrderCancelled

_________________
SmartQuant Development Team


Top
 Profile  
 
PostPosted: Sat Jan 04, 2014 2:32 pm 
Offline

Joined: Wed Aug 08, 2007 6:32 pm
Posts: 236
But, in the case of IOC orders am I right in saying that it is not possible to have multiple partial fills, ie a partial fill occurs and the rest is cancelled.

So it should really only have the following situations:

1. Full fill at once - OnOrderFilled
2. Non Full fill - OnOrderPartiallyFilled(one time only), OnOrderCancelled
3. No Fills - OnOrderCancelled

Or am I missing something here?


Top
 Profile  
 
PostPosted: Sat Jan 04, 2014 5:11 pm 
Offline
Site Admin

Joined: Thu Jul 17, 2003 10:39 am
Posts: 1478
azuric wrote:
But, in the case of IOC orders am I right in saying that it is not possible to have multiple partial fills, ie a partial fill occurs and the rest is cancelled.


I'm not sure, but I think that the following situation is possible:
For example, the best asks are 5@21.0, 10@23.0, 7@25.0 etc
You send IOC buy limit order - 20@24.0
You get two partial fills, for 5 and 10 shares, but 5 is cancelled, because price does not meet the condition anymore.

_________________
SmartQuant Development Team


Top
 Profile  
 
PostPosted: Mon Jan 06, 2014 8:42 pm 
Offline

Joined: Wed Aug 08, 2007 6:32 pm
Posts: 236
Ahh I see your point, that is a possibility.


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