Interval

Enum representing data query intervals (time units).

Interval definitions compatible with Yahoo Finance API.

Entries

Link copied to clipboard

1 minute interval

Link copied to clipboard

2 minutes interval

Link copied to clipboard

5 minutes interval

Link copied to clipboard

15 minutes interval

Link copied to clipboard

30 minutes interval

Link copied to clipboard

1 hour interval

Link copied to clipboard

1 day interval

Link copied to clipboard

5 days interval

Link copied to clipboard

1 week interval

Link copied to clipboard

1 month interval

Link copied to clipboard

3 months interval

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard

The interval represented in minutes

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The value used in API requests

Functions

Link copied to clipboard

Checks if the Interval value is suitable for daily or longer period data.

Link copied to clipboard

Checks if the Interval value is suitable for intraday data.

Link copied to clipboard

Converts Interval to a human-readable Korean string.

Link copied to clipboard
fun valueOf(value: String): Interval

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.