How to access Fundamental Items using GetExternalSymbol
Author: Panache
Creation Date: 4/13/2020 8:34 PM
profile picture

Panache

#1
The Programming Guide says Fundamental Items can be accessed regardless of the primary charted symbol using GetExternalSymbol or SetContext. How do you do that using GetExternalSymbol?

This doesn't work:
CODE:
Please log in to see this code.
profile picture

Eugene

#2
For a symbol other than the one currently being processed by the strategy, fundamental items can be accessed using this overload:
CODE:
Please log in to see this code.


QUOTE:
The Programming Guide says Fundamental Items can be accessed regardless of the primary charted symbol using GetExternalSymbol or SetContext.

Where does it say that exactly?
profile picture

Panache

#3
QUOTE:
Where does it say that exactly?
Fundamental Analysis>Economic Indicator Data
profile picture

Cone

#4
This guidance appears in the section for the decommissioned Economic Indicator Data, which are not symbol/context dependent.

I admit though, the sentence is confusing. It was meant to say that you can access these Econ items even after having used GetExternalSymbol or SetContext, whereas it could be taken to mean that you can access these items using those calls, which is wrong.

We'll get the clarified in the next update.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).