TOP

Futures Function

FUTURES() Description

The FUTURES() function is designed for automatically obtaining historical data for futures contracts directly from the Yahoo Finance website (finance.yahoo.com) by a specified symbol (for example, GC for gold or BZ for oil).

This function allows you to track the dynamics of prices for commodities and financial derivatives directly in Excel (LibreOffice Calc) spreadsheets, which is critically important for commodity market analysis and risk hedging.


An internet connection is required for this function to work.

Main Characteristics of the FUTURES Function

Syntax:

=FUTURES(Symbol; [Date]; [Indicator])

Parameters:

Example of Use

Example 1

The FUTURES() function automates data collection on quotes. You specify the contract ticker, and Excel (Calc) imports historical indicators:

=FUTURES(Symbol; Date; Indicator)

We will have the following result:

Example of using the FUTURES() function
Example of using the FUTURES() function

The following values are used in this example:

Example 2

Example of using the FUTURES() function
Example of using the FUTURES() function

The following values are used in this example:

Relevant data from the Yahoo Finance website:

FUTURES formula usage

How It Works?

The FUTURES() function can work both in normal mode and as an array function.

To use it as an array, simply enter the function in any cell, specifying the relevant parameters. After that, you need to press Ctrl+Shift+Enter to enter the array formula and LO Calc will automatically return a table with data.

To select all cells related to the array formula, simply select any cell of the array and press Ctrl+/.

If it is necessary to convert an array formula into values - select the entire array and in the Data > Calculate menu select Formula to Value.


If you need to obtain historical data for a large period of time, we recommend using the YFINANCE function to avoid delays.

Download the extension

You can use the FUTURES() function by installing the YLC Utilities extension.

After that, this function will be available in all files that will be opened in Excel (LibreOffice Calc).


This function is available in the following extensions: YLC FunctionsYLC Utilities

The YLC Utilities menu in LO Calc

The YLC Utilities menu in LO Calc

The YLC Utilities menu in Excel

The YLC Utilities menu in Excel