Skip to content

CandlestickFieldMap🔗

Definition🔗

class CandlestickFieldMap implements \JsonSerializable
{
    /**
     * Corresponds to the starting value of the given period
     */
    public ?string $open;

    /**
     * Corresponds to the highest value of the given period
     */
    public ?string $high;

    /**
     * Corresponds to the lowest value of the given period
     */
    public ?string $low;

    /**
     * Corresponds to the final (end) value of the given period
     */
    public ?string $close;

    /**
     * Corresponds to the sample count in the given period. (e.g. number of trades)
     */
    public ?string $volume;

}

Methods🔗

fromArray🔗

Builds this object from an array.

This function is meant to be used with the return value of json_decode($json, true).

static fromArray(array $inputData)

jsonSerialize🔗

Returns the data representing this object, preparing it for JSON serialization with json_encode().

jsonSerialize()

See also🔗