"""Yield analytics (`fuggers_py.analytics.yields`).

This package exposes the analytics-layer wrappers around the bond yield
solvers and shortcut formulas. Most helpers return quoted percentage outputs
for display, while a few lower-level bridge functions preserve raw decimal
rates from the underlying bond engine.
"""

from __future__ import annotations

from .current import current_yield, current_yield_from_amount, current_yield_from_bond
from .engine import (
    YieldEngine,
    YieldEngineResult,
    StandardYieldEngine,
    bond_equivalent_yield_simple,
    current_yield_simple,
    discount_yield_simple,
)
from .money_market import (
    bond_equivalent_yield,
    cd_equivalent_yield,
    discount_yield,
    money_market_yield,
    money_market_yield_with_horizon,
)
from .short_date import RollForwardMethod, ShortDateCalculator
from .simple import simple_yield, simple_yield_f64
from .solver import YieldResult, YieldSolver
from .street import street_convention_yield
from .true_yield import settlement_adjustment, true_yield

__all__ = [
    "current_yield",
    "current_yield_from_amount",
    "current_yield_from_bond",
    "YieldResult",
    "YieldSolver",
    "YieldEngine",
    "YieldEngineResult",
    "StandardYieldEngine",
    "discount_yield_simple",
    "bond_equivalent_yield_simple",
    "current_yield_simple",
    "RollForwardMethod",
    "ShortDateCalculator",
    "simple_yield",
    "simple_yield_f64",
    "street_convention_yield",
    "true_yield",
    "settlement_adjustment",
    "discount_yield",
    "bond_equivalent_yield",
    "cd_equivalent_yield",
    "money_market_yield",
    "money_market_yield_with_horizon",
]
