QS.SIMULATION.DT

Returns the time step of a context simulation

Category: QuantSupport - Market.

QS.SIMULATION.DT(context: text, market_index: text) → number
Parameters:
  • context (text) – Stable workbook-scoped root from QS.CONTEXT.CREATE or revisioned historical context; additions belong to the context and commit after the definition pass

  • market_index (text) – Market index, for example SOFR; prefixes include Equity:, Credit:, FX:, and Collateral:

Returns:

Numeric simulation time step in years, as reported by the simulation (an average step for generated date grids).

Return Type:

number

Errors:

#VALUE! for invalid index/context handles or a simulation not constructed for the index.

Formula

=QS.SIMULATION.DT(context, market_index)

Calculation

Runs on Excel’s main calculation thread.

Native Declaration

fn qs_simulation_dt (context : & str , market_index : & str) -> Result < f64 , XllError >

Rust source