MetaData

public class MetaData

The header block Alpha Vantage returns alongside a digital currency time series: which currency and market the data covers, when it was last refreshed, and the time zone, interval and output size it was served under. Fields that do not apply to the requested endpoint come back empty rather than absent.

Author

Sylvester Sefa-Yeboah

Since

1.0.0

Types

Link copied to clipboard
public class Builder
Collects a digital currency time series' header fields and assembles them into a MetaData.

Properties

Link copied to clipboard
The digital currency's symbol, for example BTC.
Link copied to clipboard
The digital currency's full name, for example Bitcoin.
Link copied to clipboard
public final String information
A human-readable description of the endpoint that produced this response.
Link copied to clipboard
public final String interval
The interval between data points.
Link copied to clipboard
public final String lastRefreshed
The date the series was last refreshed.
Link copied to clipboard
public final String marketCode
The market currency's code, for example USD.
Link copied to clipboard
public final String marketName
The market currency's full name, for example United States Dollar.
Link copied to clipboard
public final String outputSize
The amount of historical data returned.
Link copied to clipboard
public final String timeZone
The time zone lastRefreshed is expressed in.

Functions

Link copied to clipboard
public static MetaData.Builder builder()
Creates a new builder for assembling a MetaData instance.
Link copied to clipboard
public static MetaData empty()
Returns a MetaData with every field unset, used when the API response carries an error instead of a real time series.
Link copied to clipboard
Returns the digital currency's symbol.
Link copied to clipboard
Returns the digital currency's full name.
Link copied to clipboard
Returns a human-readable description of the endpoint that produced this response.
Link copied to clipboard
Returns the interval between data points.
Link copied to clipboard
Returns the date the series was last refreshed.
Link copied to clipboard
Returns the market currency's code.
Link copied to clipboard
Returns the market currency's full name.
Link copied to clipboard
Returns the amount of historical data returned.
Link copied to clipboard
Returns the time zone getLastRefreshed is expressed in.
Link copied to clipboard
public String toString()