> ## 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](./gross-jtd) 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](./scaled-gross-jtd).

3. Offsetting is applied to calculate the long and short [Net JTD](./net-jtd) for each obligor.

4. The long and short Net JTD values are combined to calculate the [Hedge Benefit Ratio (HBR)](./hbr).

5. The [risk-weights](./risk-weight) 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](./weighted-net-jtd).

6. The long and short Weighted Net JTDs are combined with the HBR to calculate the [Default Risk Charge](./default-risk-charge).

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.
