|
ORE Studio 0.0.4
|
A trade with its ORE source context for import mapping. More...
#include <importer.hpp>

Public Attributes | |
| trading::domain::trade | trade |
| std::string | ore_counterparty_name |
| ORE CounterParty string, empty if absent. | |
| std::filesystem::path | source_file |
| ORE XML file this trade was read from. | |
A trade with its ORE source context for import mapping.
Pairs a partially-mapped ORES trading domain trade with the raw ORE CounterParty string from the trade envelope and the path of the file it came from. The counterparty_id in the trade is left nil; callers must resolve it via ore_counterparty_name.
The source_file field enables callers (e.g. batch directory import) to report per-trade provenance without having to keep a separate index.