Uses of Class
org.ojalgo.type.CalendarDateUnit
-
-
Uses of CalendarDateUnit in org.ojalgo.data.domain.finance
Methods in org.ojalgo.data.domain.finance with parameters of type CalendarDateUnit Modifier and Type Method Description static GeometricBrownianMotion
FinanceUtils. estimateExcessDiffusionProcess(CalendarDateSeries<?> priceSeries, CalendarDateSeries<?> riskFreeInterestRateSeries, CalendarDateUnit timeUnit)
static CalendarDateSeries<RandomNumber>
FinanceUtils. forecast(CalendarDateSeries<? extends java.lang.Comparable<?>> series, int pointCount, CalendarDateUnit timeUnit, boolean includeOriginalSeries)
static CalendarDateSeries<java.math.BigDecimal>
FinanceUtils. makeCalendarPriceSeries(double[] prices, java.util.Calendar startCalendar, CalendarDateUnit resolution)
static CalendarDateSeries<java.math.BigDecimal>
FinanceUtils. makeDatePriceSeries(double[] prices, java.util.Date startDate, CalendarDateUnit resolution)
static double
FinanceUtils. toAnnualReturnFromGrowthFactor(double growthFactor, CalendarDateUnit growthFactorUnit)
GrowthRate = ln(GrowthFactor)static double
FinanceUtils. toAnnualReturnFromGrowthRate(double growthRate, CalendarDateUnit growthRateUnit)
AnnualReturn = exp(GrowthRate * GrowthRateUnitsPerYear) - 1.0static double
FinanceUtils. toGrowthFactorFromAnnualReturn(double annualReturn, CalendarDateUnit growthFactorUnit)
GrowthFactor = exp(GrowthRate)static double
FinanceUtils. toGrowthRateFromAnnualReturn(double annualReturn, CalendarDateUnit growthRateUnit)
GrowthRate = ln(1.0 + InterestRate) / GrowthRateUnitsPerYear -
Uses of CalendarDateUnit in org.ojalgo.data.domain.finance.series
Fields in org.ojalgo.data.domain.finance.series declared as CalendarDateUnit Modifier and Type Field Description private CalendarDateUnit
AlphaVantageFetcher. myResolution
Deprecated.private CalendarDateUnit
DataSource.Coordinated. myResolution
private CalendarDateUnit
FinanceDataReader. myResolution
private CalendarDateUnit
YahooSession.Fetcher. myResolution
private CalendarDateUnit
YahooSessionOld.Fetcher. myResolution
Deprecated.Methods in org.ojalgo.data.domain.finance.series that return CalendarDateUnit Modifier and Type Method Description CalendarDateUnit
AlphaVantageFetcher. getResolution()
Deprecated.CalendarDateUnit
DataFetcher. getResolution()
CalendarDateUnit
FinanceDataReader. getResolution()
CalendarDateUnit
IEXTradingFetcher. getResolution()
Deprecated.This will always be by day.CalendarDateUnit
YahooSession.Fetcher. getResolution()
CalendarDateUnit
YahooSessionOld.Fetcher. getResolution()
Deprecated.Methods in org.ojalgo.data.domain.finance.series with parameters of type CalendarDateUnit Modifier and Type Method Description (package private) static ResourceLocator.Request
YahooSessionOld. buildDataRequest(ResourceLocator.Session session, java.lang.String symbol, CalendarDateUnit resolution)
Deprecated.static DataSource.Coordinated
DataSource. coordinated(CalendarDateUnit resolution)
CalendarDateSeries<java.lang.Double>
DataSource. getCalendarDateSeries(CalendarDateUnit resolution)
CalendarDateSeries<java.lang.Double>
DataSource. getCalendarDateSeries(CalendarDateUnit resolution, java.time.LocalTime time, java.time.ZoneId zoneId)
private BasicSeries<java.time.LocalDate,PrimitiveNumber>
DataSource. getLocalDateSeries(java.util.List<DatePrice> historicalPrices, CalendarDateUnit resolution)
BasicSeries<java.time.LocalDate,PrimitiveNumber>
DataSource. getLocalDateSeries(CalendarDateUnit resolution)
BasicSeries<java.time.LocalDate,PrimitiveNumber>
DataSource. getLocalDateSeries(CalendarDateUnit resolution, DenseArray.Factory<java.lang.Double> denseArrayFactory)
static DataSource
DataSource. newAlphaVantage(java.lang.String symbol, CalendarDateUnit resolution, java.lang.String apiKey)
Deprecated.static DataSource
DataSource. newAlphaVantage(java.lang.String symbol, CalendarDateUnit resolution, java.lang.String apiKey, boolean fullOutputSize)
Deprecated.YahooSession.Fetcher
YahooSession. newFetcher(java.lang.String symbol, CalendarDateUnit resolution)
Deprecated.(package private) YahooSessionOld.Fetcher
YahooSessionOld. newFetcher(java.lang.String symbol, CalendarDateUnit resolution)
Deprecated.static <T extends DatePrice>
DataSourceDataSource. newFileReader(java.io.File file, BasicParser<T> parser, CalendarDateUnit resolution)
static DataSource
DataSource. newYahoo(YahooSession session, java.lang.String symbol, CalendarDateUnit resolution)
Deprecated.static <T extends DatePrice>
FinanceDataReader<T>FinanceDataReader. of(java.io.File file, TextLineReader.Parser<T> parser, CalendarDateUnit resolution)
static <T extends DatePrice>
FinanceDataReader<T>FinanceDataReader. of(InMemoryFile file, TextLineReader.Parser<T> parser, CalendarDateUnit resolution)
DataSource.Coordinated
DataSource.Coordinated. resolution(CalendarDateUnit resolution)
Constructors in org.ojalgo.data.domain.finance.series with parameters of type CalendarDateUnit Constructor Description AlphaVantageFetcher(java.lang.String symbol, CalendarDateUnit resolution, java.lang.String apiKey, boolean fullOutputSize)
Deprecated.Fetcher(ServiceClient.Session session, java.lang.String symbol, CalendarDateUnit resolution)
Fetcher(ResourceLocator.Session session, java.lang.String symbol, CalendarDateUnit resolution)
Deprecated.FinanceDataReader(java.io.File file, TextLineReader.Parser<DP> parser, CalendarDateUnit resolution)
FinanceDataReader(InMemoryFile file, TextLineReader.Parser<DP> parser, CalendarDateUnit resolution)
SourceCache(CalendarDateUnit refreshInterval)
-
Uses of CalendarDateUnit in org.ojalgo.series
Fields in org.ojalgo.series declared as CalendarDateUnit Modifier and Type Field Description private CalendarDateUnit
CalendarDateSeries. myResolution
private CalendarDateUnit
CoordinationSet. myResolution
Methods in org.ojalgo.series that return CalendarDateUnit Modifier and Type Method Description CalendarDateUnit
CalendarDateSeries. getResolution()
CalendarDateUnit
CoordinationSet. getResolution()
Methods in org.ojalgo.series with parameters of type CalendarDateUnit Modifier and Type Method Description private CoordinationSet<N>
CoordinationSet. doPruneAndResample(CalendarDate firstKey, CalendarDate lastKey, CalendarDateUnit resolution)
CoordinationSet<N>
CoordinationSet. prune(CalendarDateUnit resolution)
Returns a new CoordinationSet where all series have the same first and last keys, as well as the specified resolution.BasicSeries<CalendarDate,N>
CalendarDateSeries. resample(CalendarDateUnit resolution)
private BasicSeries<CalendarDate,N>
CalendarDateSeries. resample(CalendarDateUnit resolution, java.util.function.Function<CalendarDate,CalendarDate> keyMapper)
CoordinationSet<N>
CoordinationSet. resample(CalendarDateUnit resolution)
Returns a new set of series each resampled to the supplied resolution.Constructors in org.ojalgo.series with parameters of type CalendarDateUnit Constructor Description CalendarDateSeries(java.util.NavigableMap<CalendarDate,N> delegate, CalendarDateUnit resolution)
CalendarDateSeries(CalendarDateUnit resolution)
CoordinationSet(java.util.Collection<CalendarDateSeries<N>> seriesCollection, CalendarDateUnit resolution)
CoordinationSet(CalendarDateUnit resolution)
-
Uses of CalendarDateUnit in org.ojalgo.series.function
Fields in org.ojalgo.series.function declared as CalendarDateUnit Modifier and Type Field Description private CalendarDateUnit
SeriesForecaster. myResolution
Methods in org.ojalgo.series.function that return CalendarDateUnit Modifier and Type Method Description protected CalendarDateUnit
SeriesForecaster. getResolution()
-
Uses of CalendarDateUnit in org.ojalgo.series.primitive
Fields in org.ojalgo.series.primitive declared as CalendarDateUnit Modifier and Type Field Description private CalendarDateUnit
ImplicitTimeSeries. myResolution
Methods in org.ojalgo.series.primitive that return CalendarDateUnit Modifier and Type Method Description CalendarDateUnit
ImplicitTimeSeries. resolution()
Constructors in org.ojalgo.series.primitive with parameters of type CalendarDateUnit Constructor Description ImplicitTimeSeries(java.util.Calendar first, CalendarDateUnit resolution, PrimitiveSeries valueSeries)
ImplicitTimeSeries(java.util.Date first, CalendarDateUnit resolution, PrimitiveSeries valueSeries)
ImplicitTimeSeries(CalendarDate first, CalendarDateUnit resolution, PrimitiveSeries valueSeries)
-
Uses of CalendarDateUnit in org.ojalgo.type
Fields in org.ojalgo.type declared as CalendarDateUnit Modifier and Type Field Description private CalendarDateUnit
ScheduleBuilder. myRepetitionUnit
CalendarDateUnit
CalendarDateDuration. unit
Methods in org.ojalgo.type that return CalendarDateUnit Modifier and Type Method Description static CalendarDateUnit
CalendarDateUnit. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CalendarDateUnit[]
CalendarDateUnit. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.ojalgo.type with parameters of type CalendarDateUnit Modifier and Type Method Description double
CalendarDateUnit. convert(double sourceDurationMeasure, CalendarDateUnit sourceDurationUnit)
long
CalendarDateUnit. convert(long sourceMeassure, CalendarDateUnit sourceUnit)
double
CalendarDateUnit. convert(CalendarDateUnit aSourceDurationUnit)
CalendarDateDuration
CalendarDateDuration. convertTo(CalendarDateUnit newUnit)
CalendarDate
CalendarDate. filter(CalendarDateUnit resolution)
static CalendarDateDuration
Stopwatch. meassure(java.lang.Runnable task, CalendarDateUnit unit)
static <T> Stopwatch.TimedResult<T>
Stopwatch. meassure(java.util.concurrent.Callable<T> task, CalendarDateUnit unit)
ScheduleBuilder
ScheduleBuilder. repetition(int aRepetitionMeassure, CalendarDateUnit aRepetitionUnit)
long
Stopwatch. reset(CalendarDateUnit unit)
Will reset the start-instant and return duration since it was last reset in the specified unit.CalendarDateDuration
Stopwatch. restart(CalendarDateUnit unit)
ScheduleBuilder
ScheduleBuilder. start(int aDelayMeassure, CalendarDateUnit aDelayUnit)
CalendarDate
CalendarDate. step(int aStepCount, CalendarDateUnit aStepUnit)
CalendarDate
CalendarDate. step(CalendarDateUnit aStepUnit)
CalendarDateDuration
Stopwatch. stop(CalendarDateUnit unit)
Constructors in org.ojalgo.type with parameters of type CalendarDateUnit Constructor Description CalendarDateDuration(double aMeasure, CalendarDateUnit aUnit)
TypeCache(long aPurgeIntervalMeassure, CalendarDateUnit aPurgeIntervalUnit)
-
Uses of CalendarDateUnit in org.ojalgo.type.context
Methods in org.ojalgo.type.context that return CalendarDateUnit Modifier and Type Method Description CalendarDateUnit
DateContext. getUnit()
-