Topics
12 Dec 2019, 04:57
 2560
 12
10 Nov 2019, 06:49
 1066
 1
Replies

kahsa
12 Dec 2019, 11:35

RE:

There is no example using ProtoOATraderReq and getting trader account id in openapi2-example directory.

OK, so you mean BEFORE running those examples, we need to obtain trading account id somehow using ProtoOATraderReq by myself, to run the AuthorizationExample, and then, the AuthorizationExamle works, right?

Where can I find that example?

 

By the way in my Playground page, when I click the "Trading Accounts" button, it returns 403 Forbidden.

And the "cTID Profice" button too.

Is this no problem?

 

 


@kahsa

kahsa
12 Dec 2019, 10:18

RE:

I know it, is it ALL??

Then, the Java Example doesn't work, it is incomplete isn't it?

 


@kahsa

kahsa
12 Dec 2019, 10:04

RE: RE: RE:

Oh..OK, then.....

Excuse me....How can I get the ProtoOATrader.ctidTraderAccountId?

 

I've just run this example https://github.com/spotware/ctrader-open-api-v2-java-example/blob/master/openapi2-example/src/main/java/com/spotware/example/AuthorizationExample.java

 

along with this "How to start" section https://github.com/spotware/ctrader-open-api-v2-java-example/blob/master/README.md ,

and I can not find how to get the ProtoOATrader.ctidTraderAccountId in it,

but it says "CTID_TRADER_ACCOUNT_ID (number) It is data.accountId from "Trading Accounts" in Playground of your application".

 

Where is the complete manual??

 

 


@kahsa

kahsa
12 Dec 2019, 09:27

RE:

Thank you, Panagiotis

Then, What is trading account id??

Where can I get it??

 

 


@kahsa