Earnings release dates
Author: jonludwig
Creation Date: 3/9/2009 7:34 PM
profile picture

jonludwig

#1
I've tried doing this, but I get no results. How can I refer to a current or future earnings release date?
The following code does not work:
CODE:
Please log in to see this code.


I feel like I am doing something stupid. But I am stuck.
profile picture

Eugene

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

jrellis23

#3
My question builds off this old example.

I want to export the historical earnings dates of a stock to a CSV file. By meshing the code above with the example from "Exporting ASCII Data" from the programming guide, I got to this point:
CODE:
Please log in to see this code.


It gives a runtime error: "Object reference not set to an instance of an object." I suspect that fi.Date may be the culprit. Thoughts?
profile picture

Eugene

#4
Give this a try in Multi-Symbol mode:

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

jrellis23

#5
I was able to resolve the issue and succeed in exporting the earnings date by using:
CODE:
Please log in to see this code.


profile picture

Eugene

#6
You don't need RestoreContext() here.
profile picture

kelvinyip

#7
I am trying to figure out if I have the right dataSet updated

When I call this

CODE:
Please log in to see this code.



This is calling my Fidelity fundamental data set ? (I have Zacks as well)

profile picture

Eugene

#8
profile picture

Eugene

#9
UPDATE 09/02/2020

"earnings per share" no longer works (Fidelity data). Replacement:

Zacks Adjusted Earnings (EPS) provider
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).