SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Tue Jul 16, 2019 2:10 pm

All times are UTC + 3 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Order Ammend ExpireTime
PostPosted: Fri Mar 22, 2019 5:37 pm 
Offline

Joined: Tue Oct 13, 2009 12:19 pm
Posts: 249
Dear Team

when I place an order with expire time set, and then if I want to change the ExpireTime, how do you suggest to do this?

I tried:
order.ExpireTime = DateTime.UtcNow.AddSeconds(+66);
Replace(order, orderPriceNew);

But it does not work, since I cannot change the expire time after the order has been send.

Could you provide a appropriate Replace function maybe?

Regards
Mike


Top
 Profile  
 
PostPosted: Mon Mar 25, 2019 11:59 am 
Offline

Joined: Wed May 05, 2010 9:49 pm
Posts: 484
mikembb wrote:
Dear Team

when I place an order with expire time set, and then if I want to change the ExpireTime, how do you suggest to do this?

I tried:
order.ExpireTime = DateTime.UtcNow.AddSeconds(+66);
Replace(order, orderPriceNew);

But it does not work, since I cannot change the expire time after the order has been send.

Could you provide a appropriate Replace function maybe?

Regards
Mike

Hello Mike.
This feature is not supported.


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