Free of charge. Mirrors symbology.resolve. Resolution is time-dependent,
which is why the answer is a set of intervals per input symbol rather than
one mapping: an instrument id is only valid for the days it was assigned.
Usage
db_resolve(
dataset,
symbols,
stype_in = "raw_symbol",
stype_out = "instrument_id",
start_date,
end_date = NULL
)Arguments
- dataset
Dataset code, e.g.
"GLBX.MDP3".- symbols
Character vector of symbols, a single comma-separated string, or
NULLfor all symbols. Withstype_in = "instrument_id"a numeric vector is accepted. At most 2000 symbols per request.- stype_in
Symbol type of
symbols, seedb_stypes(). Use"parent"for product-level symbols such as"ES.FUT"or"SPX.OPT".- stype_out
Symbol type to resolve to, see
db_stypes().- start_date, end_date
Resolution window,
start_daterequired. Both take aDateor a"YYYY-MM-DD"string; timestamps are rejected, as in the Python client.
