For most symbols, the notebook code below works.   However, for some symbols like NKLA, contracts returned by GetOptionContractList contain a different symbol.   In NKLA case, VTIQ is returned.  GetOptionHistory then causes the error:

No option type exists for underlying SecurityType: Base

I suspect VTIQ is a shell company for NLKA which allowed it to go public.

How can I retrieve the option data in a case like this?

 

Here is the notebook code:

qb = QuantBook()

equity = qb.AddEquity('NKLA', Resolution.Minute)  # NKLA is translated to VTIQ
#equity = qb.AddEquity('AAPL', Resolution.Minute)  # AAPL is not translated
contracts = qb.OptionChainProvider.GetOptionContractList(equity.Symbol,datetime(2021, 1, 13, 12, 10))
print(equity.Symbol,contracts[0].ID.Symbol)
option_history = qb.GetOptionHistory(contracts[0].ID.Symbol, datetime(2021, 1, 13, 12, 10))