I have an application that subscribes to prices for multiple instruments.
The app is working fine, getting the prices for all the subscribed instruments.
The app is currently working without universal login.
I recently changed the app to use Universal login and subscribe to prices.
But I am getting price updates only for the first instrument.
Is there any sample code that fixes my problem?
Thank you for your help.
Kedar.
Answer by Zack · Aug 23, 2017 at 02:39 PM
Hello Kedar,
There should not be a difference between the two logins as far as getting prices goes. It is possible a small unrelated change may have caused this.
How far does your application get with the other instruments? Is it able to look them up and start a price subscription? If you make one of the other instruments first does it only look up that one?
Thanks,
Zack
Answer by kedarnath97 · Aug 29, 2017 at 05:44 AM
Hi Zack
Thank you for your response.
I am not explicitly subscribing prices for the products.
I am using XTAPI and creating a instance of TTInstrNotify and TTInstrObj and subscribing to events such as OnNotifyUpdate and OnNotifyFound.
And I am doing TTInstrObj.Open() for every product for which I am creating these instances for.
I have a TTGate instance on a global level, I need this because I need to EnableServerMode() before setting UniversalLogin(,).
I tried to make it clear, please let me know if you face difficulty in understanding above sentences.
Thank you
Kedar
I am getting callback thro the NotifyFound only for some of the legs.
Ask questions and share ideas about the TT® and X_TRADER® platforms.
First time here? See our Getting Started Guide and FAQs.
© 2017 Trading Technologies International, Inc. All rights reserved.
Powered by AnswerHub