MarketData SDK

Earning
in package

Class Earning

Represents earnings data for a stock, including fiscal information, report details, and EPS data.

Table of Contents

Properties

$currency  : string
$date  : Carbon
$estimated_eps  : float|null
$fiscal_quarter  : int
$fiscal_year  : int
$report_date  : Carbon
$report_time  : string
$reported_eps  : float|null
$surprise_eps  : float|null
$surprise_eps_pct  : float|null
$symbol  : string
$updated  : Carbon

Methods

__construct()  : mixed
Constructs a new Earning object with detailed earnings information.

Properties

$estimated_eps

public float|null $estimated_eps

$fiscal_quarter

public int $fiscal_quarter

$fiscal_year

public int $fiscal_year

$report_date

public Carbon $report_date

$report_time

public string $report_time

$reported_eps

public float|null $reported_eps

$surprise_eps

public float|null $surprise_eps

$surprise_eps_pct

public float|null $surprise_eps_pct

Methods

__construct()

Constructs a new Earning object with detailed earnings information.

public __construct(string $symbol, int $fiscal_year, int $fiscal_quarter, Carbon $date, Carbon $report_date, string $report_time, string $currency, float|null $reported_eps, float|null $estimated_eps, float|null $surprise_eps, float|null $surprise_eps_pct, Carbon $updated) : mixed
Parameters
$symbol : string

The symbol of the stock.

$fiscal_year : int

The fiscal year of the earnings report. This may not always align with the calendar year.

$fiscal_quarter : int

The fiscal quarter of the earnings report. This may not always align with the calendar quarter.

$date : Carbon

The last calendar day that corresponds to this earnings report.

$report_date : Carbon

The date the earnings report was released or is projected to be released.

$report_time : string

The value will be either before market open, after market close, or during market hours.

$currency : string

The currency of the earnings report.

$reported_eps : float|null

The earnings per share reported by the company. Earnings reported are typically non-GAAP unless the company does not report non-GAAP earnings.

$estimated_eps : float|null

The average consensus estimate by Wall Street analysts.

$surprise_eps : float|null

The difference (in earnings per share) between the estimated earnings per share and the reported earnings per share.

$surprise_eps_pct : float|null

The difference in percentage terms between the estimated EPS and the reported EPS.

$updated : Carbon

The date/time the earnings data for this ticker was last updated.


        
On this page

Search results