> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Query time (core)

The calculation steps for DRC non-Sec are as follows:

1. The [Gross JTD](https://docs.activeviam.com/solutions/frtb/6.0/interpret-impl/acr/sa/sa-drc/drc-non-sec/calculations/query-time-core/gross-jtd.md) is either provided directly or calculated from the Notional, PV, and LGD.

2. The Gross JTD values are scaled according to the exposure's maturity to calculate the [Scaled Gross JTD](https://docs.activeviam.com/solutions/frtb/6.0/interpret-impl/acr/sa/sa-drc/drc-non-sec/calculations/query-time-core/scaled-gross-jtd.md).

3. Offsetting is applied to calculate the long and short [Net JTD](https://docs.activeviam.com/solutions/frtb/6.0/interpret-impl/acr/sa/sa-drc/drc-non-sec/calculations/query-time-core/net-jtd.md) for each obligor.

4. The long and short Net JTD values are combined to calculate the [Hedge Benefit Ratio (HBR)](https://docs.activeviam.com/solutions/frtb/6.0/interpret-impl/acr/sa/sa-drc/drc-non-sec/calculations/query-time-core/hbr.md).

5. The [risk-weights](https://docs.activeviam.com/solutions/frtb/6.0/interpret-impl/acr/sa/sa-drc/drc-non-sec/calculations/query-time-core/risk-weight.md) may be either looked up by rating or provided directly per obligor.  These are applied to the Net JTDs to get the long and short [Weighted Net JTD](https://docs.activeviam.com/solutions/frtb/6.0/interpret-impl/acr/sa/sa-drc/drc-non-sec/calculations/query-time-core/weighted-net-jtd.md).

6. The long and short Weighted Net JTDs are combined with the HBR to calculate the [Default Risk Charge](https://docs.activeviam.com/solutions/frtb/6.0/interpret-impl/acr/sa/sa-drc/drc-non-sec/calculations/query-time-core/default-risk-charge.md).

In the bookmarks folder "ActiveViam FRTB" -> "Basel Framework" -> "SA DRC" the "SA DRC non-Sec" bookmark
contains tabs that walk through these calculation steps and include the measures mentioned here.
