qis.FxCurrencyReturnsRequest¶
- class qis.FxCurrencyReturnsRequest(currencies, reference_ccy, return_type=FxReturnType.FX_SPOT, coordinate=FxReturnCoordinate.SIMPLE, frequency='ME', diagnostics=False, normalization=None, cash_policy=<factory>)[source]¶
Bases:
objectCurrency-panel request, with no invented asset price panel.
- Variables:
currencies (tuple[str, ...]) – Distinct currency IDs to quote against reference_ccy.
reference_ccy (str) – Reference denomination of each spot.
return_type (qis.fx.fx_returns.FxReturnType) – FX_SPOT or exact FX_FORWARD under matched-period synthetic CIP.
coordinate (qis.fx.fx_returns.FxReturnCoordinate) – SIMPLE or LOG for spot; forward P&L requires SIMPLE.
frequency (str) – Spot observation/return cadence.
diagnostics (bool) – Include compact spot diagnostics.
normalization (qis.fx.fx_returns.FxIndexNormalization | None) – Optional explicit normalized index; no added cash or collateral.
cash_policy (qis.fx.fx_returns.FxCashPolicy) – Annual rate provenance and ACT/365F; forwards require opening quotes.
- Parameters:
reference_ccy (str)
return_type (FxReturnType)
coordinate (FxReturnCoordinate)
frequency (str)
diagnostics (bool)
normalization (FxIndexNormalization | None)
cash_policy (FxCashPolicy)
- __init__(currencies, reference_ccy, return_type=FxReturnType.FX_SPOT, coordinate=FxReturnCoordinate.SIMPLE, frequency='ME', diagnostics=False, normalization=None, cash_policy=<factory>)¶
- Parameters:
reference_ccy (str)
return_type (FxReturnType)
coordinate (FxReturnCoordinate)
frequency (str)
diagnostics (bool)
normalization (FxIndexNormalization | None)
cash_policy (FxCashPolicy)
- Return type:
None
Methods
__init__(currencies, reference_ccy[, ...])Attributes
- return_type: FxReturnType = 'fx_spot'¶
- coordinate: FxReturnCoordinate = 'simple'¶
- normalization: FxIndexNormalization | None = None¶
- cash_policy: FxCashPolicy¶