request.financial() - Pine Script Function
request.financial()
Section titled “request.financial()”Overview
Section titled “Overview”Requests financial series for symbol.
Syntax
Section titled “Syntax”request.financial(symbol, financial_id, period, gaps, ignore_invalid_symbol, currency) → series floatParameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
| symbol | series string | Symbol. Note that the symbol should be passed with a prefix. For example: “NASDAQ:AAPL” instead of “AAPL”. |
Returns
Section titled “Returns”Requested series.
Examples
Section titled “Examples”Example 1
Section titled “Example 1”//@version=6indicator("request.financial")f = request.financial("NASDAQ:MSFT", "ACCOUNTS_PAYABLE", "FY")plot(f)