Class PerformanceReportService
java.lang.Object
com.bluebell.greenhouse.radicle.services.performance.PerformanceReportService
Service-layer for calculating account performance reports from positions and transactions.
- Version:
- 2.0.3
- Author:
- Stephen Prizio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPerformanceReport(LocalDate start, LocalDate end, Account account, RecordTimeInterval interval, int count) Obtains aPerformanceReportDTO.getPerformanceReport(LocalDate start, LocalDate end, Account account, RecordTimeInterval interval, int count, ZoneId zoneId) Obtains aPerformanceReportDTO.
-
Constructor Details
-
PerformanceReportService
public PerformanceReportService()
-
-
Method Details
-
getPerformanceReport
public PerformanceReportDTO getPerformanceReport(LocalDate start, LocalDate end, Account account, RecordTimeInterval interval, int count) Obtains aPerformanceReportDTO.- Parameters:
start- start of time periodend- end of time periodaccount-Accountinterval-RecordTimeIntervalcount- number of results- Returns:
PerformanceReportDTO
-
getPerformanceReport
public PerformanceReportDTO getPerformanceReport(LocalDate start, LocalDate end, Account account, RecordTimeInterval interval, int count, ZoneId zoneId) Obtains aPerformanceReportDTO.- Parameters:
start- start of time periodend- end of time periodaccount-Accountinterval-RecordTimeIntervalcount- number of resultszoneId- timezone used for local-day bucketing- Returns:
PerformanceReportDTO
-