FundamentalDataEventArgs

View as Markdown

Definition

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

Methods and Parameters

Property/MethodDescription
DateTimeValueA DateTime value representing the time
DoubleValueA double value representing fundamental data
FundamentalDataTypePossible values:
• AverageDailyVolume
• Beta
• CalendarYearHigh
• CalendarYearHighDate
• CalendarYearLow
• CalendarYearLowDate
• CurrentRatio
• DividendAmount
• DividendPayDate
• DividendYield
• EarningsPerShare
• FiveYearsGrowthPercentage
• High52Weeks
• High52WeeksDate
• HistoricalVolatility
• Low52Weeks
• Low52WeeksDate
• MarketCap
• NextYearsEarningsPerShare
• PercentHeldByInstitutions
• PriceEarningsRatio
• RevenuePerShare
• SharesOutstanding
• ShortInterest
• ShortInterestRatio
• VWAP
IsResetA 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.
LongValueA long value representing fundamental data
ToString()A string representation of the FundamentalDataEventArgs object

Examples

1protected override void OnFundamentalData(FundamentalDataEventArgs fundamentalDataUpdate)
2{
3 // Print some data to the Output window
4 if (fundamentalDataUpdate.FundamentalDataType == FundamentalDataType.AverageDailyVolume)
5 Print("Average Daily Volume = " + fundamentalDataUpdate.LongValue);
6 else if (fundamentalDataUpdate.FundamentalDataType == FundamentalDataType.PriceEarningsRatio)
7 Print("P/E Ratio = " + fundamentalDataUpdate.DoubleValue);
8}
  • 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.