Skip to content

Commit

Permalink
DOC: Improve metadata symbology documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
threecgreen committed Sep 18, 2024
1 parent 5d337bd commit 9212e06
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/databento/dbn.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@ struct MappingInterval {
date::year_month_day start_date;
// The end date of the interval (exclusive).
date::year_month_day end_date;
// The resolved symbol for this interval (in `stype_out`).
std::string symbol;
};

struct SymbolMapping {
// The raw symbol from the publisher.
// The `stype_in` symbol.
std::string raw_symbol;
// The mappings of `native` for different date ranges.
// The mappings of `raw_symbol` to `stype_out` for different date ranges.
std::vector<MappingInterval> intervals;
};

Expand Down

0 comments on commit 9212e06

Please sign in to comment.