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

Source: https://databento.com/docs/api-historical/helpers/symbology-resolve-params


### ResolveParams

The parameter struct and builder for [HistoricalClient::symbology::resolve](https://databento.com/docs/api-historical/symbology/symbology-resolve.md).

The builder can be instantiated with the associated function `builder()`, and the struct is created from the builder with the `build()` method.
For every field, there is an identically named setter method on the builder.

#### API method

```rust
pub struct ResolveParams {
    pub dataset: String,
    pub symbols: Symbols,
    pub stype_in: SType,
    pub stype_out: SType,
    pub date_range: DateRange,
}
```

#### Fields

| Parameter | Type | Description |
| `dataset` | String | The [dataset](https://databento.com/docs/api-historical/basics/datasets.md) code (string identifier). Must be one of the values from [list_datasets](https://databento.com/docs/api-historical/metadata/metadata-list-datasets.md). |
| `symbols` | Symbols | The symbols to filter for. Takes up to 2,000 symbols per request. If `Symbols::All` then will select **all** symbols (not available for every dataset). |
| `stype_in` | SType | The [symbology type](https://databento.com/docs/api-historical/basics/symbology.md) of input `symbols`. Defaults to `RawSymbol`. |
| `stype_out` | SType | The [symbology type](https://databento.com/docs/api-historical/basics/symbology.md) of output symbols. Defaults to `InstrumentId`. Must be a valid symbology combination with `stype_in`. See [symbology combinations](https://databento.com/docs/conventions/symbology.md#supported-symbology-combinations). |
| `date_range` | DateRange | The UTC date range with an inclusive start and an exclusive end. |

#### Example usage

```rust
use databento::{
    dbn::{Dataset, SType},
    historical::symbology::ResolveParams,
};
use time::macros::date;

assert_eq!(
    ResolveParams {
        dataset: "XNAS.ITCH".to_owned(),
        date_range: (date!(2020 - 01 - 01)
            ..date!(2022 - 01 - 01))
            .into(),
        symbols: vec!["IWM", "SPY", "QQQ"].into(),
        stype_in: SType::RawSymbol,
        stype_out: SType::InstrumentId,
    },
    ResolveParams::builder()
        .dataset(Dataset::XnasItch)
        .symbols(vec!["IWM", "SPY", "QQQ"])
        .date_range(date!(2020 - 01 - 01)..date!(2022 - 01 - 01))
        .build()
);
```
