auto: sync 2026-06-03 00:02

This commit is contained in:
Capucine Gest
2026-06-03 00:02:09 +02:00
parent 7874ff16ff
commit fa7f24715c
4 changed files with 40 additions and 7 deletions
+12 -4
View File
@@ -608,13 +608,21 @@ export default function CurrencyCard({
</ResponsiveContainer>
{ratePath.peakMeeting && (
<div className="flex items-center justify-between mt-1 text-[10px]">
<span className="text-slate-600">Pic : <span className="text-slate-400">{ratePath.peakMeeting.label}</span></span>
<span className="text-slate-600">
Pic : <span className="text-slate-400">{ratePath.peakMeeting.label}</span>
</span>
<span className={ratePath.peakMeeting.probIsCut ? "text-sky-400 font-bold" : "text-red-400 font-bold"}>
{ratePath.peakMeeting.probMovePct.toFixed(0)}% {ratePath.peakMeeting.probIsCut ? "Cut" : "Hike"}
</span>
{ratePath.yearEndImplied !== null && (
<span className="text-slate-600">fin an: {ratePath.yearEndImplied.toFixed(2)}%</span>
)}
{ratePath.yearEndImplied !== null && (() => {
const bps = Math.round((ratePath.yearEndImplied! - ratePath.currentRate) * 100);
const cls = bps < 0 ? "text-sky-400 font-bold" : bps > 0 ? "text-red-400 font-bold" : "text-slate-500";
return (
<span className={cls} title={`Taux actuel: ${ratePath.currentRate.toFixed(2)}% → fin an: ${ratePath.yearEndImplied!.toFixed(2)}%`}>
{bps > 0 ? "+" : ""}{bps}bps fin an
</span>
);
})()}
</div>
)}
</div>