qis.Underlying

class qis.Underlying(quote_id, spot0, currency, response_id, response_basis)[source]

Bases: object

An actual quote with a possibly shared fitted response.

Variables:
  • quote_id (str) – Unique actual quote identifier, independent of the response proxy.

  • spot0 (float) – Positive baseline quote in quote-currency units.

  • currency (str) – Quote currency.

  • response_id (str | None) – RiskModel response row, or None for explicitly deterministic cash.

  • response_basis (qis.portfolio.stress.instruments.ResponseBasis) – Whether the fitted response includes reference-currency FX.

Parameters:
__init__(quote_id, spot0, currency, response_id, response_basis)
Parameters:
Return type:

None

Methods

__init__(quote_id, spot0, currency, ...)

Attributes

quote_id: str
spot0: float
currency: str
response_id: str | None
response_basis: ResponseBasis