I am having the issue while calling orderbookSyanced and profitLossChanged Method.
I am calling both methods on ttNetApiInitHandler and What I wanted is first to call orderbookSynced and then profitLossChanged. I tried to handle this by using async await but nothing changed on result. Can anyone help me on this.
Answer by swatijain · May 22, 2020 at 12:11 PM
@guptayash1630
orderBookSynced and profitLossChanged are callbacks. You can hookup these callbacks, and when there is an event , the API will call you back on these.
You can take a look at these samples for furthere help:
https://github.com/tradingtechnologies/TT_Samples/tree/master/TT_NET_CLIENT_SIDE
Let us know if you have any other questions.
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