Uses of Enum Class
com.bluebell.greenhouse.platform.enums.market.MarketTimeInterval
Packages that use MarketTimeInterval
Package
Description
Entities specifically for computing analysis, typically representations of macro data about
market prices, trades and overall market data.
Contains services that operate on
com.bluebell.greenhouse.anther.models.analysis
entities.Contains the market price orchestrators.
Contains account cache key helpers.
Contains symbol analysis cache key helpers.
Contains constants used for market price calculations.
Contains core enums used for market entities.
Contains class implementations for operating with
MarketPrices.Contains non-entity contracts for symbol analysis workflows.
Contains utility classes for market data operations.
Contains the data-access layer for
MarketPrices.Contains the data-access layer for
TechnicalIndicators.Contains the service layer for analysis.
Contains classes for exporting data.
Contains the service layer for
MarketPrices.Contains services for symbol analysis workflows.
Contains the service layer for technical indicators and their implementations.
Contains
MarketPriceSpecifications
implementations for market price querying.Contains importers for
MarketPrice entities.Contains the parsers used by sol.
Contains the implementations of the market price parsers used by sol.
Contains market price reporting services.
Contains the writers for
MarketPrice entities.Contains concrete writer implementations for
MarketPrice entities.-
Uses of MarketTimeInterval in com.bluebell.greenhouse.anther.models.analysis
Constructors in com.bluebell.greenhouse.anther.models.analysis with parameters of type MarketTimeIntervalModifierConstructorDescriptionSymbolAnalysis(LocalDate start, LocalDate end, SymbolAlias symbolAlias, MarketTimeInterval timeInterval, SortedSet<MarketPrice> prices) Primary constructor. -
Uses of MarketTimeInterval in com.bluebell.greenhouse.anther.services.analysis
Methods in com.bluebell.greenhouse.anther.services.analysis with parameters of type MarketTimeIntervalModifier and TypeMethodDescriptionSymbolAnalysisService.computeSymbolAnalysis(LocalDate start, LocalDate end, SymbolAlias symbolAlias, MarketTimeInterval marketTimeInterval) Obtains aSymbolAnalysisfor the given time span and symbol. -
Uses of MarketTimeInterval in com.bluebell.greenhouse.planter.orchestrators.market.price
Methods in com.bluebell.greenhouse.planter.orchestrators.market.price with parameters of type MarketTimeIntervalModifier and TypeMethodDescriptionMarketPriceOrchestrator.generateMarketPriceReport(String symbolAliasUid, MarketTimeInterval priceInterval, LocalDateTime startDate, LocalDateTime endDate, String dateTimeFormat) Generates the downloadable market price report for a symbol alias.voidMarketPriceOrchestrator.importMarketPrices(String symbolAliasUid, InputStream inputStream, String fileName, MarketTimeInterval priceInterval, String dateTimeFormat, ZoneId zoneId) Imports market prices for a symbol alias. -
Uses of MarketTimeInterval in com.bluebell.greenhouse.platform.configuration.cache.account
Methods in com.bluebell.greenhouse.platform.configuration.cache.account with parameters of type MarketTimeIntervalModifier and TypeMethodDescriptionstatic StringAccountAnalysisCacheKeys.forTimeBucket(Account account, MarketTimeInterval interval, AnalysisFilter analysisFilter, boolean opened) Builds the cache key for time-bucket analysis.static StringAccountAnalysisCacheKeys.forWeekdayTimeBucket(Account account, DayOfWeek day, MarketTimeInterval interval, AnalysisFilter analysisFilter) Builds the cache key for weekday time-bucket analysis. -
Uses of MarketTimeInterval in com.bluebell.greenhouse.platform.configuration.cache.analysis
Methods in com.bluebell.greenhouse.platform.configuration.cache.analysis with parameters of type MarketTimeIntervalModifier and TypeMethodDescriptionstatic StringSymbolAnalysisCacheKeys.forAnalysis(LocalDate start, LocalDate end, SymbolAlias symbolAlias, MarketTimeInterval marketTimeInterval) Builds the cache key for a computed symbol analysis. -
Uses of MarketTimeInterval in com.bluebell.greenhouse.platform.constants.market.price
Fields in com.bluebell.greenhouse.platform.constants.market.price with type parameters of type MarketTimeIntervalModifier and TypeFieldDescriptionstatic final List<MarketTimeInterval> MarketPriceConstants.CHART_INTERVALSCandidate chart intervals, ordered finest to coarsest, used when selecting the resolution that best fits aPosition's duration.static final List<MarketTimeInterval> MarketPriceConstants.POSITION_MARKET_PRICE_FALLBACK_INTERVALSIntervals, ordered finest to coarsest, tried when resolving the best available data for aPosition. -
Uses of MarketTimeInterval in com.bluebell.greenhouse.platform.enums.market
Subclasses with type arguments of type MarketTimeInterval in com.bluebell.greenhouse.platform.enums.marketClasses in com.bluebell.greenhouse.platform.enums.market that implement interfaces with type arguments of type MarketTimeIntervalMethods in com.bluebell.greenhouse.platform.enums.market that return MarketTimeIntervalModifier and TypeMethodDescriptionstatic MarketTimeIntervalMarketTimeInterval.getForFirstRateDataLabel(String label) Calculates theMarketTimeIntervalfor a specific label from firstratedata.static MarketTimeIntervalReturns the enum constant of this class with the specified name.static MarketTimeInterval[]MarketTimeInterval.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of MarketTimeInterval in com.bluebell.greenhouse.platform.models.core.nonentities.market
Methods in com.bluebell.greenhouse.platform.models.core.nonentities.market that return MarketTimeIntervalModifier and TypeMethodDescriptionMarketPriceFilter.timeInterval()Returns the value of thetimeIntervalrecord component.Constructors in com.bluebell.greenhouse.platform.models.core.nonentities.market with parameters of type MarketTimeIntervalModifierConstructorDescriptionMarketPriceFilter(Symbol symbol, DataSource dataSource, MarketTimeInterval timeInterval, LocalDateTime start, LocalDateTime end) Creates an instance of aMarketPriceFilterrecord class. -
Uses of MarketTimeInterval in com.bluebell.greenhouse.platform.models.core.nonentities.symbol.analysis
Methods in com.bluebell.greenhouse.platform.models.core.nonentities.symbol.analysis that return MarketTimeIntervalModifier and TypeMethodDescriptionSymbolAnalysisContext.timeInterval()Returns the value of thetimeIntervalrecord component.Constructors in com.bluebell.greenhouse.platform.models.core.nonentities.symbol.analysis with parameters of type MarketTimeIntervalModifierConstructorDescriptionSymbolAnalysisContext(Symbol symbol, SymbolAlias requestedAlias, SymbolAlias resolvedAlias, DataSource dataSource, MarketTimeInterval timeInterval, LocalDateTime startDateTime, LocalDateTime endDateTime, int requestedBars, int resolvedBars, boolean usedFallbackAlias, boolean usedFallbackWindow) Creates an instance of aSymbolAnalysisContextrecord class. -
Uses of MarketTimeInterval in com.bluebell.greenhouse.platform.util.market
Methods in com.bluebell.greenhouse.platform.util.market with parameters of type MarketTimeIntervalModifier and TypeMethodDescriptionstatic List<MarketPrice> MarketPriceAggregationUtil.aggregateByDay(List<MarketPrice> marketPrices, MarketTimeInterval interval, ZoneId dayZone) Aggregates prices into one candle per day in the provided zone.static List<MarketPrice> MarketPriceAggregationUtil.aggregateByDay(List<MarketPrice> marketPrices, MarketTimeInterval interval, ZoneId dayZone, DoubleUnaryOperator priceNormalizer) Aggregates prices into one candle per day in the provided zone.static List<MarketPrice> MarketPriceAggregationUtil.aggregateByDayChunk(List<MarketPrice> marketPrices, MarketTimeInterval interval, int chunkSize, ZoneId dayZone) Aggregates intraday prices into larger interval buckets grouped by day in the provided zone.static List<MarketPrice> MarketPriceAggregationUtil.aggregateByDayChunk(List<MarketPrice> marketPrices, MarketTimeInterval interval, int chunkSize, ZoneId dayZone, DoubleUnaryOperator priceNormalizer) Aggregates intraday prices into larger interval buckets grouped by day in the provided zone.static List<MarketPrice> MarketPriceAggregationUtil.aggregateByWeek(List<MarketPrice> marketPrices, MarketTimeInterval interval) Aggregates prices into weekly candles using a Monday-based bucket.static List<MarketPrice> MarketPriceAggregationUtil.aggregateByWeek(List<MarketPrice> marketPrices, MarketTimeInterval interval, DoubleUnaryOperator priceNormalizer) Aggregates prices into weekly candles using a Monday-based bucket.static MarketPriceMarketPriceAggregationUtil.buildAggregate(MarketTimeInterval interval, List<MarketPrice> marketPrices, DoubleUnaryOperator priceNormalizer) Builds an aggregate candle from the supplied component prices. -
Uses of MarketTimeInterval in com.bluebell.greenhouse.radicle.repositories.market.price
Methods in com.bluebell.greenhouse.radicle.repositories.market.price with parameters of type MarketTimeIntervalModifier and TypeMethodDescriptionMarketPriceFetchRequestRepository.findFirstBySymbolAliasAndDataSourceAndTimeIntervalAndStartAndEndAndStatusIn(SymbolAlias symbolAlias, DataSource dataSource, MarketTimeInterval timeInterval, LocalDateTime start, LocalDateTime end, Collection<MarketPriceFetchRequestStatus> statuses) Finds an active request matching the exact requested resolution parameters.MarketPriceRepository.findMarketPriceByDateAndIntervalAndSymbolAlias(LocalDateTime date, MarketTimeInterval interval, SymbolAlias symbolAlias) Returns theMarketPricematching its database identity.MarketPriceRepository.findMarketPricesWithinTimespan(SymbolAlias symbolAlias, MarketTimeInterval timeInterval, LocalDateTime start, LocalDateTime end) Returns aListofMarketPrices for the given symbol alias, within the time span. -
Uses of MarketTimeInterval in com.bluebell.greenhouse.radicle.repositories.technical
Methods in com.bluebell.greenhouse.radicle.repositories.technical with parameters of type MarketTimeIntervalModifier and TypeMethodDescriptionIndicatorCalculationInstanceRepository.findIndicatorCalculationInstanceByIntervalAndSymbolAliasAndIndicatorTypeOrderByLastCalculationDesc(MarketTimeInterval interval, SymbolAlias symbolAlias, IndicatorType indicatorType) Looks up the latestIndicatorCalculationInstancefor the given inputs.IndicatorValueRepository.findIndicatorValueByDateAndIntervalAndSymbolAliasAndIndicatorType(LocalDateTime date, MarketTimeInterval interval, SymbolAlias symbolAlias, IndicatorType indicatorType) Looks up anIndicatorValuefor the given inputs. -
Uses of MarketTimeInterval in com.bluebell.greenhouse.radicle.services.analysis
Methods in com.bluebell.greenhouse.radicle.services.analysis with parameters of type MarketTimeIntervalModifier and TypeMethodDescriptionAnalysisService.computeTimeBucketAnalysis(Account account, MarketTimeInterval interval, AnalysisFilter analysisFilter, boolean isOpened) Computes the time bucket analysis.AnalysisService.computeWeekdayTimeBucketAnalysis(Account account, DayOfWeek day, MarketTimeInterval interval, AnalysisFilter analysisFilter) Computes the time bucket / week day analysis. -
Uses of MarketTimeInterval in com.bluebell.greenhouse.radicle.services.export
Methods in com.bluebell.greenhouse.radicle.services.export with parameters of type MarketTimeIntervalModifier and TypeMethodDescriptionvoidMetaTrader4ExportService.exportMarketPrices(SymbolAlias symbolAlias, MarketTimeInterval timeInterval, LocalDateTime start, LocalDateTime end) ExportsMarketPrices for consumption within MT4. -
Uses of MarketTimeInterval in com.bluebell.greenhouse.radicle.services.market.price
Methods in com.bluebell.greenhouse.radicle.services.market.price with parameters of type MarketTimeIntervalModifier and TypeMethodDescriptionMarketPriceService.findMarketPricesForPosition(Position position, MarketTimeInterval timeInterval) MarketPriceService.findMarketPricesForSymbolAlias(SymbolAlias symbolAlias, MarketTimeInterval timeInterval) MarketPriceService.findMarketPricesForSymbolAlias(SymbolAlias symbolAlias, MarketTimeInterval timeInterval, LocalDateTime start, LocalDateTime end) Returns aListofMarketPrices for the givenSymbolAliasand interval, filtered by optional start and end bounds.MarketPriceService.findMarketPricesWithinTimespan(SymbolAlias symbolAlias, MarketTimeInterval timeInterval, LocalDateTime start, LocalDateTime end) Returns aListofMarketPrices for the given symbol and datasource, within the time span.MarketPriceFetchRequestService.queueRequest(SymbolAlias symbolAlias, DataSource dataSource, MarketTimeInterval timeInterval, LocalDateTime start, LocalDateTime end, String requestedByFlow) Queues a market price fetch request when no active matching request already exists.MarketPriceFetchRequestDispatchService.queueRequestAndTriggerResolution(SymbolAlias symbolAlias, DataSource dataSource, MarketTimeInterval timeInterval, LocalDateTime start, LocalDateTime end, String requestedByFlow) Queues a market price fetch request and triggers asynchronous resolution after the request transaction commits.MarketPriceService.queueSymbolAnalysisMarketPriceRefreshIfNeeded(SymbolAlias symbolAlias, MarketTimeInterval timeInterval, LocalDateTime start, LocalDateTime end, int requestedBars, List<MarketPrice> marketPrices) Queues a background refresh for symbol-analysis EOD prices when the stored window is empty, materially behind the requested end date, or shorter than the requested lookback. -
Uses of MarketTimeInterval in com.bluebell.greenhouse.radicle.services.symbol.analysis
Methods in com.bluebell.greenhouse.radicle.services.symbol.analysis with parameters of type MarketTimeIntervalModifier and TypeMethodDescriptionSymbolAnalysisStatisticsService.buildOverview(List<MarketPrice> marketPrices, MarketTimeInterval timeInterval, ExpansionState priceExpansion, ExpansionState volumeExpansion) Builds an overview payload for the given market prices.intSymbolAnalysisStatisticsService.resolveBarsPerYear(MarketTimeInterval timeInterval) Returns the average number of bars per year for the given interval. -
Uses of MarketTimeInterval in com.bluebell.greenhouse.radicle.services.technical
Methods in com.bluebell.greenhouse.radicle.services.technical with parameters of type MarketTimeIntervalModifier and TypeMethodDescriptionIndicatorCalculationInstanceService.findLatestCalculationInstance(MarketTimeInterval timeInterval, SymbolAlias symbolAlias, IndicatorType indicatorType) Finds the latest (if any) technical indicator calculation for the given info. -
Uses of MarketTimeInterval in com.bluebell.greenhouse.radicle.specifications.market.price
Methods in com.bluebell.greenhouse.radicle.specifications.market.price with parameters of type MarketTimeIntervalModifier and TypeMethodDescriptionstatic org.springframework.data.jpa.domain.Specification<MarketPrice> MarketPriceSpecifications.hasTimeInterval(MarketTimeInterval timeInterval) Filters byMarketTimeInterval. -
Uses of MarketTimeInterval in com.bluebell.greenhouse.sol.importers.market.price
Methods in com.bluebell.greenhouse.sol.importers.market.price with parameters of type MarketTimeIntervalModifier and TypeMethodDescriptionintMarketPriceImportService.importMarketPrices(InputStream inputStream, String fileName, SymbolAlias symbolAlias, MarketTimeInterval timeInterval, String dateTimeFormat) Imports market prices from a file stream for the given symbol alias and interval.intMarketPriceImportService.importMarketPrices(InputStream inputStream, String fileName, SymbolAlias symbolAlias, MarketTimeInterval timeInterval, String dateTimeFormat, ZoneId zoneId) Imports market prices from a file stream for the given symbol alias and interval. -
Uses of MarketTimeInterval in com.bluebell.greenhouse.sol.parsers.market.price
Methods in com.bluebell.greenhouse.sol.parsers.market.price with parameters of type MarketTimeIntervalModifier and TypeMethodDescriptionMarketPriceParser.parseMarketPrices(String delimiter, File file, SymbolAlias symbolAlias, MarketTimeInterval interval, ZoneId zoneId) Parses a file of market prices into aParsedDataDTO.default ParsedDataDTO<MarketPrice> MarketPriceParser.parseMarketPrices(String delimiter, File file, SymbolAlias symbolAlias, MarketTimeInterval interval, ZoneId zoneId, String dateTimeFormat) Parses a file of market prices into aParsedDataDTO.default voidMarketPriceParser.validateParserParameters(String delimiter, File file, SymbolAlias symbolAlias, MarketTimeInterval interval, ZoneId zoneId) Validates the given parameters before parsing. -
Uses of MarketTimeInterval in com.bluebell.greenhouse.sol.parsers.market.price.impl
Methods in com.bluebell.greenhouse.sol.parsers.market.price.impl with parameters of type MarketTimeIntervalModifier and TypeMethodDescriptionCsvMarketPriceParser.parseMarketPrices(String delimiter, File file, SymbolAlias symbolAlias, MarketTimeInterval interval, ZoneId zoneId) Parses a file of market prices into aParsedDataDTO.CsvMarketPriceParser.parseMarketPrices(String delimiter, File file, SymbolAlias symbolAlias, MarketTimeInterval interval, ZoneId zoneId, String dateTimeFormat) Parses a file of market prices into aParsedDataDTO.MetaTrader4MarketPriceParser.parseMarketPrices(String delimiter, File file, SymbolAlias symbolAlias, MarketTimeInterval interval, ZoneId zoneId) Parses a file of market prices into aSetofMarketPrice. -
Uses of MarketTimeInterval in com.bluebell.greenhouse.sol.services.reporting.market.price
Methods in com.bluebell.greenhouse.sol.services.reporting.market.price with parameters of type MarketTimeIntervalModifier and TypeMethodDescriptionMarketPriceReportingService.generateMarketPriceCsvReport(SymbolAlias symbolAlias, MarketTimeInterval timeInterval, String dateTimeFormat) Generates a csv report for the given symbol alias and market price interval.MarketPriceReportingService.generateMarketPriceCsvReport(SymbolAlias symbolAlias, MarketTimeInterval timeInterval, LocalDateTime start, LocalDateTime end, String dateTimeFormat) Generates a csv report for the given symbol alias and market price interval, filtered by the optional start and end period bounds. -
Uses of MarketTimeInterval in com.bluebell.greenhouse.sol.writers.market.price
Methods in com.bluebell.greenhouse.sol.writers.market.price with parameters of type MarketTimeIntervalModifier and TypeMethodDescriptiondefault voidMarketPriceWriter.validateWriterParameters(SymbolAlias symbolAlias, MarketTimeInterval timeInterval, String delimiter) Validates the given parameters before writing.MarketPriceWriter.writeMarketPrices(SymbolAlias symbolAlias, MarketTimeInterval timeInterval, String delimiter) Writes market prices for the givenSymbolAliasand interval using unix timestamps.MarketPriceWriter.writeMarketPrices(SymbolAlias symbolAlias, MarketTimeInterval timeInterval, String delimiter, String dateTimeFormat) Writes market prices for the givenSymbolAliasand interval using the provided date time format when present.MarketPriceWriter.writeMarketPrices(SymbolAlias symbolAlias, MarketTimeInterval timeInterval, LocalDateTime start, LocalDateTime end, String delimiter, String dateTimeFormat) Writes market prices for the givenSymbolAliasand interval, filtered by the optional start and end period bounds.voidMarketPriceWriter.writeMarketPrices(SymbolAlias symbolAlias, MarketTimeInterval timeInterval, LocalDateTime start, LocalDateTime end, String delimiter, String dateTimeFormat, Writer writer) Writes market prices for the givenSymbolAliasand interval to the provided writer, filtered by the optional start and end period bounds. -
Uses of MarketTimeInterval in com.bluebell.greenhouse.sol.writers.market.price.impl
Methods in com.bluebell.greenhouse.sol.writers.market.price.impl with parameters of type MarketTimeIntervalModifier and TypeMethodDescriptionCsvMarketPriceWriter.writeMarketPrices(SymbolAlias symbolAlias, MarketTimeInterval timeInterval, String delimiter) Writes market prices for the givenSymbolAliasand interval using unix timestamps.CsvMarketPriceWriter.writeMarketPrices(SymbolAlias symbolAlias, MarketTimeInterval timeInterval, String delimiter, String dateTimeFormat) Writes market prices for the givenSymbolAliasand interval using the provided date time format when present.CsvMarketPriceWriter.writeMarketPrices(SymbolAlias symbolAlias, MarketTimeInterval timeInterval, LocalDateTime start, LocalDateTime end, String delimiter, String dateTimeFormat) Writes market prices for the givenSymbolAliasand interval, filtered by the optional start and end period bounds.voidCsvMarketPriceWriter.writeMarketPrices(SymbolAlias symbolAlias, MarketTimeInterval timeInterval, LocalDateTime start, LocalDateTime end, String delimiter, String dateTimeFormat, Writer writer) Writes market prices for the givenSymbolAliasand interval to the provided writer, filtered by the optional start and end period bounds.