SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Wed Dec 11, 2019 4:00 pm

All times are UTC + 3 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: IB exception on order
PostPosted: Tue Dec 11, 2018 3:51 am 
Offline

Joined: Thu Dec 06, 2018 1:57 am
Posts: 28
While trading live with IB I get this error.

DateTime: 12/10/2018 22:27:00.408
Provider: 4
Id: -1
Code: -1
System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at SmartQuant.IB.IBTWS.ProcessNew(Int32 orderId)
at SmartQuant.IB.IBTWS.OnMessage(MsgOrderStatus message)
at SmartQuant.IB.Socket.ProcessIncomingMessages()

How this exception occurred:
On arrival of a bar with this time [12/10/2018 22:26:00.000 - 12/10/2018 22:27:00.000], my strategy was triggered to send an order to sell AUDUSD at market. The order executed with IB with no problems, however the order was not added to the strategy portfolio view. The strategy then stopped running.


Top
 Profile  
 
PostPosted: Wed Dec 12, 2018 4:03 am 
Offline

Joined: Thu Dec 06, 2018 1:57 am
Posts: 28
This happens to me everyday. What can I do about it?


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