Interface FinanceData<DP extends DatePrice>

  • All Known Implementing Classes:
    DataSource, FinanceDataReader
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface FinanceData<DP extends DatePrice>
    A source of (historical) financial time series data.
    • Method Detail

      • getHistoricalData

        KeyValue<java.lang.String,​java.util.List<DP>> getHistoricalData()
      • getHistoricalPrices

        @Deprecated
        default java.util.List<DP> getHistoricalPrices()
        Deprecated.
        v52 Use getHistoricalData() instead.
      • getSymbol

        @Deprecated
        default java.lang.String getSymbol()
        Deprecated.
        v52 Use getHistoricalData() instead.