Hello,
i am writing a test app for .NET SDK. Have one user which can access to 2 accounts.
I can connect to .NET API and also my
TTAPI ApiInitializeHandler callback is called.
Unfortunately, i get no account information.
The TTAPI.Accounts is empty.
public void ttNetApiInitHandler(TTAPI api, ApiCreationException ex) {
...
IReadOnlyCollection<Account> accounts=api.Accounts; foreach (Account acc in accounts) { }How do i get correct account list ?
Thank you
Answer by swatijain · Jan 29, 2020 at 10:42 PM
@petermueller12341 You will have to Start the Api before you can use the API. For further details please refer to the documentation.
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