MarketData SDK

Candle
in package

Represents a financial candle for mutual funds with open, high, low, and close prices for a specific timestamp.

Table of Contents

Properties

$close  : float
$high  : float
$low  : float
$open  : float
$timestamp  : Carbon

Methods

__construct()  : mixed
Constructs a new Candle instance.

Properties

$timestamp

public Carbon $timestamp

Methods

__construct()

Constructs a new Candle instance.

public __construct(float $open, float $high, float $low, float $close, Carbon $timestamp) : mixed
Parameters
$open : float

Open price of the candle.

$high : float

High price of the candle.

$low : float

Low price of the candle.

$close : float

Close price of the candle.

$timestamp : Carbon

Candle time (Unix timestamp, UTC). Daily, weekly, monthly, yearly candles are returned without times.


        
On this page

Search results