futures_get {rb3}R Documentation

Retrieves B3 Futures Settlement Prices

Description

This function fetches settlement price data for B3 futures contracts. This function retrieves futures settlement prices from the B3 dataset, adding a symbol column that combines commodity and maturity_code.

Usage

futures_get()

Value

An arrow_dplyr_query or ArrowObject, representing a lazily evaluated query. The underlying data is not collected until explicitly requested, allowing efficient manipulation of large datasets without immediate memory usage. To trigger evaluation and return the results as an R tibble, use collect().

The returned data includes the following columns:

Source

B3 Market Data

Examples

## Not run: 
df_fut <- futures_get() |> filter(refdate == Sys.Date()) |> collect()
head(df_fut)

## End(Not run)

[Package rb3 version 0.1.0 Index]