> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ninjatrader.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.ninjatrader.com/_mcp/server.

# FundamentalDataEventArgs

## Definition

Represents a change in fundamental data and is passed as a parameter in the **OnFundamentalData()** method.

## Methods and Parameters

| Property/Method     | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| DateTimeValue       | A **DateTime** value representing the time                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| DoubleValue         | A **double** value representing fundamental data                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| FundamentalDataType | Possible values:<br />• AverageDailyVolume<br />• Beta<br />• CalendarYearHigh<br />• CalendarYearHighDate<br />• CalendarYearLow<br />• CalendarYearLowDate<br />• CurrentRatio<br />• DividendAmount<br />• DividendPayDate<br />• DividendYield<br />• EarningsPerShare<br />• FiveYearsGrowthPercentage<br />• High52Weeks<br />• High52WeeksDate<br />• HistoricalVolatility<br />• Low52Weeks<br />• Low52WeeksDate<br />• MarketCap<br />• NextYearsEarningsPerShare<br />• PercentHeldByInstitutions<br />• PriceEarningsRatio<br />• RevenuePerShare<br />• SharesOutstanding<br />• ShortInterest<br />• ShortInterestRatio<br />• VWAP |
| IsReset             | A bool value representing if a UI reset is needed after a manual disconnect. Note: This is only relevant for columns. Whenever this property is true, the UI needs to be reset.                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| LongValue           | A long value representing fundamental data                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ToString()          | A string representation of the FundamentalDataEventArgs object                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |

## Examples

```csharp
protected override void OnFundamentalData(FundamentalDataEventArgs fundamentalDataUpdate)
{
    // Print some data to the Output window
    if (fundamentalDataUpdate.FundamentalDataType == FundamentalDataType.AverageDailyVolume)
        Print("Average Daily Volume = " + fundamentalDataUpdate.LongValue);
    else if (fundamentalDataUpdate.FundamentalDataType == FundamentalDataType.PriceEarningsRatio)
        Print("P/E Ratio = " + fundamentalDataUpdate.DoubleValue);
}
```

* Not all connectivity providers support all FundamentalDataTypes.
* **EarningsPerShare** on eSignal is a trailing twelve months value. On IQFeed it is the last quarter's value.
* **RevenuePerShare** is a trailing twelve months value.