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
twsapi: ANNOYING Missed events in Excel/VB
Brendon Cheves
Chas,
OK have happily created my App in Excel but every now and then IBI had the same problems and redesigned the whole thing in DDE and everything works well now. IB has specifically recommended against using VB with Excel for TWS because of the dropped events. Brendon |
Chas_watkins
Thanks Brendon
Wish I had checked it more carefully to start with. I have ben looking at the DDE and it seems to be reasonably straight forward. I have a couple of questions if you or someone else would n't mind helping. I see that to get errors. You have to use ="cdemo|error!error however when I do that I get the result invalid topic? Any ideas on how I can track errors. Also I use STP LMT orders and using the demo I can't seem to send STP LMT orders. I have used both "STP_LMT" and also "STP LMT" but the resulting DDE links all just show 0s. Any thoughts. Thanks for the help. Regards Chas --- In twsapi@y..., Brendon Cheves <brendon@h...> wrote: Chas,ifOK have happily created my App in Excel but every now and then IB beginingI have multiple orders being filled at the same time. Is there everythingand redesign it useing DDE??I had the same problems and redesigned the whole thing in DDE and works well now. IB has specifically recommended against using VBwith Excel for TWS because of the dropped events. |
Brendon Cheves
Chas,
Also I use STP LMT orders and using the demo I can't seem to send STPI had endless problems when using the demo account. I switched to my real account and only traded small lots in a slow moving stock for testing purposes and things went much smoother. Brendon |
Chas_watkins
Yes I guess I have had the same issues with coding against the demo.
I will go as far as I can with the demo and then try it live. Trouble is I only trade Futures so that is a little dificult <grin> Is that syntax for the error correct? thanks For your help. regards Chas --- In twsapi@y..., Brendon Cheves <brendon@h...> wrote: Chas,STPAlso I use STP LMT orders and using the demo I can't seem to send my realLMT orders. I have used both "STP_LMT" and also "STP LMT" but theI had endless problems when using the demo account. I switched to account and only traded small lots in a slow moving stock fortesting purposes and things went much smoother. |
toggle quoted message
Show quoted text
|
to navigate to use esc to dismiss