FundamentalDataSeries on short interest throws "Object reference not set" error
Author: gbullr
Creation Date: 9/19/2017 3:26 AM
profile picture

gbullr

#1
Installed WL PRO on new computer.
Data is hyperlinked to database meaning data file is linked to Data/Roaming/etc so that WL has the right data in the folder where it needs it.
Update Fidelity Fundamental Data so that I have short interest as a field.
Installed community components.

Strategies that have:

CODE:
Please log in to see this code.


in them throw of error.

Runtime error. Object reference not set to an instance of an object
at Wealthlab Strategies My Strategy Execute()

When I cross out (//) the line that compiles uses fidsAgregate strategy runs fine.

Help would be appreciated in figuring out what I forgot to install.

Thank you.
profile picture

Cone

#2
It can happen simply if fundamental data do not exist for the symbol under test. So the question is, does it occur for every symbol or just specific ones (like ETFs)?

Try replacing that line of code with this block, and run it on your DataSet. What's the debug output?

CODE:
Please log in to see this code.
profile picture

Cone

#3
Update!
It turns out that Short Interest fundamental items were removed in one of the last WL Pro builds (6.9.17 or .18) due to changes at the data vendor.

@Eugene,
Does one of our MS123 fundamental providers have short interest?
profile picture

Eugene

#4
profile picture

gbullr

#5
Thank. you.

Somewhat strange as I have as WL on my old computer has the latest version running and it does not have the problem yet the new install does.

It happens on most symbols.

I will check w/ the NASDAQ extension.

Thank you.
profile picture

Cone

#6
It's because you're old version actually has data for that fundamental item before it was removed in the June 2017 release. The new install never had a chance to download that data item.