import { Dot } from 'app/shared/components/dot/dot'; import React from 'react'; import * as Text from 'app/shared/components/text/text'; import moneyPipe from 'app/shared/pipes/money.pipe'; import numberPipe from 'app/shared/pipes/number.pipe'; import HoverInfo from 'app/shared/components/hoverInfo/hoverInfo'; import { useSelector } from 'react-redux'; import { selectKeyValues } from '../store/forecast.selectors'; const ForecastDetails = () => { const forecast = useSelector(selectKeyValues); const fixedPercentage = numberPipe.format(forecast.fixedPercentage, 0); const unfixedPercentage = numberPipe.format(forecast.unfixedPercentage, 0); return ( <> PAY OUT | {forecast.selectedMonth} | FORECAST

{moneyPipe.format(forecast.value, 'USD', 0)}

/day
Current Forecast {forecast.lastUpdateDate}
FIXED The estimated TCE/day earnings based on the fixed days in the period.
{fixedPercentage}%
percent
{fixedPercentage && fixedPercentage !== '0' ? numberPipe.format(forecast.fixedRate, 0) : '-'}
rate
UNFIXED The forecasted rates are based on Clarkson’s spot forecast and expected pool outperformance for the period.
{unfixedPercentage}%
percent
{unfixedPercentage && unfixedPercentage !== '0' ? numberPipe.format(forecast.unfixedRate, 0) : '-'}
rate
PAY OUT RATIO: {numberPipe.format(forecast.payoutRatio, 0)}%

Indicates the expected pay out ratio.

Percentage below 100 indicates what part of the distribution will be paid out. Data are updated on a fortnightly basis.

Detailed information are shared by email.

); }; export { ForecastDetails };