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

# Spot market data

Download sample file: [Spot\_Market\_Data.csv](../assets/csv/Spot_Market_Data.csv)

The file is used to provide per-instrument market prices for the greek-based PL calculations, through the `SpotMarketData` topic.

This Spot market data file type is identified using the pattern: **\*\*Spot\_Market\_Data\*.csv** (as specified by `mr.common.file-patterns.spot-market-data`).
This file is loaded using the **SpotMarketData** 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 value date</td><td>2019-01-01</td></tr><tr><td>MarketDataSet</td><td>Y</td><td>N</td><td>String</td><td>String defining the market data set, for example “Trader marks” or “Official EOD”</td><td>Official EOD</td></tr><tr><td>InstrumentId</td><td>Y</td><td>N</td><td>String</td><td>Identifier of the instrument. Must match risk factor identifier in the sensitivities files</td><td>USD.OIS</td></tr><tr><td>Quote</td><td /><td /><td>Double</td><td>Market data quote to be used by the greek-based calculation. Must correspond to sensitivities to the same risk factor.</td><td>2453.1</td></tr></table>
