Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Re: Duplicate Order ID
As you mentioned: "
I think the object "contract" out of the??is not correct used. I tried different ways but I'm not sure if i can use the complete object or if i have to take all the information out and put this in a new object.?" I do think the same as you.? You need to "extract" the information received to fill the new object for the order to be sent.? I think?the most important is this one, in my implementation which may differ from yours: (The object conDetails comes from the Contract detail request) ? ? Set contract = conDetails.contract ? ? Debug.print "Api contractDetails " & contract.localSymbol & "-" & contract.Exchange & "-" & contract.secType ? ? Debug.print " ? ? ?-----------> " & conDetails.lastTradeTime & ";" & conDetails.contractMonth & ";" & contract.lastTradeDateOrContractMonth & ";" & conDetails.timeZoneId & ";" & contract.conId & ";" & conDetails.priceMagnifier This above piece of code will display on your excel debugger log some of the information which sends your the TWS once the request of contract details is received. Hope that helps you to fill the proper information for the new order request Hope that helps El dom, 31 jul 2022 a las 18:58, Metrodus79 (<robert.metasch@...>) escribió: Hello Folks, |
to navigate to use esc to dismiss