When I add cptypto symbols, for example "BTCUSD", I get back a symbol with the same name.

for ticker in self.tickers:
eq = self.AddCrypto(ticker, Resolution.Minute).Symbol
self.eqs.append(eq)
Added BTCUSD
Added ETHUSD
Added LTCUSD

 

However when I request historical data, I get back a dataframe having keys that contain tickers that end with "XJ", for example:
symbol BTCUSD XJ ETHUSD XJ LTCUSD XJ
time
2016-12-23 6.752294 2.021548 1.305626
2016-12-24 6.821391 1.964311 1.528228
2016-12-25 6.792905 ...

How do I get the correct symbols for the historical data? If I try to iterate values calculated with this dataframe, I get errors like
Runtime Error: In Scheduled Event 'BTCUSD: EveryDay: BTCUSD: 10 min after MarketOpen', TypeError : object is not callable
at relativeModel in main.py:line 57
:: self.Debug(f"{x[eq]}")
TypeError : object is not callable (Open Stacktrace

Where X contains metrics calculated directly from historical data

NOTE: This post has nothing to do with forex but the editor won't let me remove a tag that was accidentally added to the "discussion tags" section.

Author