Class MarketPriceReportingService
java.lang.Object
com.bluebell.greenhouse.sol.services.reporting.market.price.MarketPriceReportingService
Service-layer for reporting about market prices.
- Version:
- 1.0.10
- Author:
- Stephen Prizio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateMarketPriceCsvReport(SymbolAlias symbolAlias, MarketTimeInterval timeInterval, String dateTimeFormat) Generates a csv report for the given symbol alias and market price interval.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.
-
Constructor Details
-
MarketPriceReportingService
public MarketPriceReportingService()
-
-
Method Details
-
generateMarketPriceCsvReport
public File generateMarketPriceCsvReport(SymbolAlias symbolAlias, MarketTimeInterval timeInterval, String dateTimeFormat) throws IOException Generates a csv report for the given symbol alias and market price interval.- Parameters:
symbolAlias-SymbolAliastimeInterval-MarketTimeIntervaldateTimeFormat- optional date time format- Returns:
- report
File - Throws:
IOException- file write exception
-
generateMarketPriceCsvReport
public File generateMarketPriceCsvReport(SymbolAlias symbolAlias, MarketTimeInterval timeInterval, LocalDateTime start, LocalDateTime end, String dateTimeFormat) throws IOException Generates a csv report for the given symbol alias and market price interval, filtered by the optional start and end period bounds.- Parameters:
symbolAlias-SymbolAliastimeInterval-MarketTimeIntervalstart- optional start date time, inclusiveend- optional end date time, exclusivedateTimeFormat- optional date time format- Returns:
- report
File - Throws:
IOException- file write exception
-