> ## 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.

# Net JTD

The **Net JTD [Long](https://docs.activeviam.com/solutions/frtb/6.0/cube/measures/standardisedapproach/drc.md#drc-non-sec-net-jtd-long)/[Short](https://docs.activeviam.com/solutions/frtb/6.0/cube/measures/standardisedapproach/drc.md#drc-non-sec-net-jtd-short)** measures are calculated from the **Scaled Gross JTD** (or **Gross JTD**) according to {baselLink("MAR", 22, 19)}.

For each obligor, the Scaled Gross JTD values are aggregated by seniority ranking, then the offsetting is applied to get the long and short Net JTD.

For example, with seniorities $Senior > Junior > Equity$, and aggregate scaled gross JTD values $JTD_{Senior}$, $JTD_{Junior}$, $JTD_{Equity}$, the long and short Net JTD are:

$Net\ JTD_{Long} = \max(\max(\max(JTD_{Senior}, 0) + JTD_{Junior}, 0) + JTD_{Equity}, 0)$

$Net\ JTD_{Short} = \min(\min(\min(JTD_{Equity}, 0) + JTD_{Junior}, 0) + JTD_{Senior}, 0)$
