How get trend bars from index #US30 or #Yahoo ?

Created at 04 Mar 2017, 15:35
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
mindbreaker's avatar

mindbreaker

Joined 19.07.2014

How get trend bars from index #US30 or #Yahoo ?
04 Mar 2017, 15:35


Hi, spotware

What is symbol name for symbols with #  (#US30 or #Yahoo) ?

In connetc account api https://api.spotware.com/connect/tradingaccounts/123456/symbols/'.$symbol.'/trendbars/m1


@mindbreaker
Replies

Spotware
06 Mar 2017, 11:22

Hi mindbreaker,

Can you please tell us where did you get these symbol names?

Best Regards,


@Spotware

mindbreaker
06 Mar 2017, 12:36

RE:

Spotware said:

Hi mindbreaker,

Can you please tell us where did you get these symbol names?

Best Regards,

From connect Api with fxpro ctrader.


@mindbreaker

PanagiotisCharalampous
06 Mar 2017, 14:47

Symbol name is the same but in such cases you will need to encode your url https://www.w3schools.com/tags/ref_urlencode.asp

In this case # should become %23


@PanagiotisCharalampous

mindbreaker
06 Mar 2017, 19:26

RE:

pcharalampous said:

Symbol name is the same but in such cases you will need to encode your url https://www.w3schools.com/tags/ref_urlencode.asp

In this case # should become %23

Thats correct :) Thanks.


@mindbreaker