Available languages: [Python](https://databento.com/docs/api-historical/helpers/metadata-create-symbol-map.python.md) · [C++](https://databento.com/docs/api-historical/helpers/metadata-create-symbol-map.cpp.md) · [Rust](https://databento.com/docs/api-historical/helpers/metadata-create-symbol-map.rust.md) · [HTTP](https://databento.com/docs/api-historical/helpers/metadata-create-symbol-map.http.md)

Source: https://databento.com/docs/api-historical/helpers/metadata-create-symbol-map


### Metadata::CreateSymbolMap

Create a symbology map from instrument ID and date to text symbol from the `mappings` in the metadata.
Useful for multi-day requests.

#### API method

```cpp
TsSymbolMap CreateSymbolMap() const;
```

#### Returns

A [TsSymbolMap](https://databento.com/docs/api-historical/helpers/ts-symbol-map.md) with the symbol mappings for the query range indexed by instrument ID and date.
