开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Unable to get tick for non-US exchange listed symbols


 

As suggested in the TWS api pages I tried getting the tick for a symbol listed on Toronto Stock Exchange, specifying it in the Contract "Primary Exchange" as well as "Exchange" fields:

? ? ? ? ? ?Contract contract = new Contract();
? ? ? ? ? ? contract.Symbol = "ITM";
? ? ? ? ? ? contract.SecType = "STK";
? ? ? ? ? ? contract.Currency = "CAD";
? ? ? ? ? ? contract.Exchange = "TSE";
? ? ? ? ? ? contract.PrimaryExch = "TSE";

and pass it to ESocket api for getting the tick but I never get any callback. I have also tried specifying the Exchange as SMART and omitting specifying the currency, with the same result. Can someone please help?

Join [email protected] to automatically receive all group messages.