SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Tue Jun 19, 2018 7:15 pm

All times are UTC + 3 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: IsDone vs. IsFilled
PostPosted: Tue Aug 26, 2008 5:45 am 
Offline

Joined: Thu Apr 03, 2008 6:28 am
Posts: 49
I noticed here, in the (first) provided code example, that Order.IsDone was used. This post references using IsDone, IsFilled, and IsPartiallyFilled - all of the above.

Can anyone/several people comment on the difference between using Order.IsDone and Order.IsFilled to check and see if an order is truly completed? Are there times when you would use one instead of the other? I'm also curious about how those interact with Order.IsPartiallyFilled.

Thanks in advance :-)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 26, 2008 10:16 am 
Offline

Joined: Tue Aug 05, 2003 3:43 pm
Posts: 6802
IsDone = IsFilled or IsCancelled or IsRejected.

This indicates that the order is in it's final state, i.e. this state will not be changed and order lifecircle "is done".

Regards,
Anton


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