Access Broker Symbol Tree and Automatically Add Symbols for Bot

Created at 27 Nov 2021, 17:01
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!
sirinath's avatar

sirinath

Joined 25.11.2021

Access Broker Symbol Tree and Automatically Add Symbols for Bot
27 Nov 2021, 17:01


Hello,

How do you:

  1. access the broker's symbol tree and
  2. add selected symbols to the bot in order to receive both tick and bar data for the selected list of symbols for multi asset trading?

Suminda


@sirinath
Replies

amusleh
29 Nov 2021, 09:07

Hi,

All broker symbols are inside Symbols collection, you can iterate over that collection via a loop or use Linq queries.


@amusleh