MarketData SDK

Status
in package

Represents the status of a market for a specific date.

Table of Contents

Properties

$date  : Carbon
$status  : string|null

Methods

__construct()  : mixed
Constructs a new Status instance.

Properties

$status

public string|null $status

Methods

__construct()

Constructs a new Status instance.

public __construct(Carbon $date, string|null $status) : mixed
Parameters
$date : Carbon

The date for which the market status is reported.

$status : string|null

The market status. This will always be 'open' or 'closed' or null. Half days or partial trading days are reported as 'open'. Requests for days further in the past or further in the future than our data will be returned as null.


        
On this page

Search results