plot_ibovespa: Plot Ibovespa Index

View source: R/plot_series.R

plot_ibovespaR Documentation

Plot Ibovespa Index

Description

Generates a time series plot of the Ibovespa index using data from get_ibovespa().

Usage

plot_ibovespa(data, language = "eng")

Arguments

data

Tibble returned by get_ibovespa(), with columns date and value.

language

Language for titles and labels: "pt" (Portuguese) or "eng" (English).

Value

A ggplot2 object showing the Ibovespa level over time, or NULL (with a message) if data has no rows.

Examples


ibov_data <- get_ibovespa("2023-01-01", "2023-12-31")
print(plot_ibovespa(ibov_data))



brfinance documentation built on Nov. 14, 2026, 5:09 p.m.