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

# Scenarios

Download sample file: [Scenarios.csv](../assets/csv/Scenarios.csv)

This Scenarios file type is identified using the pattern: **\*\*Scenarios\*.csv** (as specified by `mr.common.file-patterns.scenarios`).
This file is loaded using the **Scenarios** topic. See the [Topic Aliases table](../dev/dev-mr-application/dev-dlc/dlc-mr-config#topic-aliases) for an understanding of the topic aliases associated with each topic.

For information on the glob patterns used and how to customize them, see note on [File name patterns](.#file-name-patterns)

<table><tr><th>Field</th><th>Key</th><th>Null</th><th>FieldType</th><th>Description</th><th>Example</th></tr><tr><td>AsOfDate</td><td>Y</td><td>N</td><td>String with format ‘YYYY-MM-DD’</td><td>Indicates the date of the file. See <a href=".">Note on AsOfDate</a>.</td><td /></tr><tr><td>ScenarioSet</td><td>Y</td><td>N</td><td>String</td><td>Name of the set of scenarios.</td><td>“Historical”, “Stress”</td></tr><tr><td>Index</td><td>N</td><td>N</td><td>Integer</td><td>Pointer to position in the PnL\[] vector for that Scenario. Values range from 0 to the total number of scenarios in the given scenario set. Note: The index must start at 0 for each ScenarioSet.</td><td>0 to 499 for a PnL\[] vector of 500 values of historical scenarios</td></tr><tr><td>Scenario</td><td>Y</td><td>N</td><td>String</td><td>Name of the scenario for that Index. For historical scenarios, this could be the date. For stress simulations, it could be the name of the particular event.</td><td>“Black Monday 2007”</td></tr><tr><td>Liquidity Horizon</td><td>N</td><td>Y</td><td>Integer</td><td>The Liquidity Horizon in days. This field is optional.</td><td>10, 20, 40, 60, 120</td></tr></table>
