Topics
26 May 2022, 07:47
 1013
 4
Replies

vadakoff
05 Jan 2024, 13:04 ( Updated at: 06 Jan 2024, 08:16 )

RE: Access to renko charts data in cBot

PanagiotisCharalampous said: 

Hi there,

Yes, you can use GetBars() to achieve this

Best regards,

Panagiotis

but GetBars it is OHLC items as i know, aren't?


@vadakoff

vadakoff
05 Jan 2024, 13:04 ( Updated at: 06 Jan 2024, 08:16 )

RE: Access to renko charts data in cBot

PanagiotisCharalampous said: 

Hi there,

Yes, you can use GetBars() to achieve this

Best regards,

Panagiotis

I see thanks for reply!


@vadakoff

vadakoff
25 Jun 2022, 15:00

RE:

vadakoff said:

I used ProtoOAApplicationAuthReq with arguments are clientId and clientSecret, these credentials are used to login in ctrader account.

But i got ProtoOAErrorRes

errorCode: "CH_CLIENT_AUTH_FAILURE"
description: "clientId or clientSecret is incorrect"

May i authorized my application with access_token where i got in tab Applications?

Ok i found it openapi.ctrader.com > Applications > View (button on column credentials)


@vadakoff

vadakoff
25 Jun 2022, 14:24

I used ProtoOAApplicationAuthReq with arguments are clientId and clientSecret, these credentials are used to login in ctrader account.

But i got ProtoOAErrorRes

errorCode: "CH_CLIENT_AUTH_FAILURE"
description: "clientId or clientSecret is incorrect"

May i authorized my application with access_token where i got in tab Applications?


@vadakoff

vadakoff
20 Jun 2022, 13:12

RE:

amusleh said:

Hi,

The first request you send to server should be application authentication request not account auth request.

You can find the guide at: Connection - cTrader Open API

For sending and receiving data read: Sending/Receiving - cTrader Open API

For Python specific guide check the comments section at Sending / Receiving Messages tutorial page.

And it's not gRPC, it's just plain direct TCP client connection.

Ok, seem i understood, i need ProtoOAApplicationAuthReq to auth my application, firstly


@vadakoff

vadakoff
19 Jun 2022, 21:27 ( Updated at: 21 Dec 2023, 09:22 )

RE:

well if will be more exacly:

if following from this documentations https://spotware.github.io/open-api-docs/protocol-buffers/

 

 


@vadakoff

vadakoff
26 May 2022, 08:52

RE:

amusleh said:

Hi,

Your application activation can take up to 48 hours.

Thanks and good day!


@vadakoff