For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
Oanda multi-asset, access data for each asset/pair
-
Hello,
I there a way we can use the oandastore.getdata and access the datas[0], datas[1], etc for each asset? I want to make calculations for each asset in the next of the strategy.Thank you.
-
There must be something missing in the question, because the
datas
array can always be accessed inside a Strategy. It's the core of the idea.getdata
from the store only gives you the feed, you add it to the system withaddata
(or reworked throughresampledata
for example`) and it will be there.The Oanda data feeds behave just like any other (and can be mixed with other data feeds too)