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.
=FUTURES(Symbol; [Date]; [Indicator])
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:
The following values are used in this example:
The following values are used in this example:
Relevant data from the Yahoo Finance website:
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
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).