|
ORE Studio 0.0.4
|
Executes an ORE import: builds the plan, resolves name collisions, and saves currencies, portfolios, books, trades, and instruments via NATS. More...
#include <OreImporter.hpp>

Public Member Functions | |
| OreImporter (ClientManager *cm) | |
| ore::planner::ore_import_result | execute (ore::scanner::scan_result scan_result, std::set< std::string > existing_iso_codes, ore::planner::import_choices choices) |
| Runs the full import pipeline and returns the result. | |
Executes an ORE import: builds the plan, resolves name collisions, and saves currencies, portfolios, books, trades, and instruments via NATS.
Designed to run on a background thread. Returns ore_import_result which carries per-instrument error details independently of the overall success flag.
| ore_import_result execute | ( | ore::scanner::scan_result | scan_result, |
| std::set< std::string > | existing_iso_codes, | ||
| ore::planner::import_choices | choices | ||
| ) |
Runs the full import pipeline and returns the result.
| scan_result | Output of ore_directory_scanner::scan(). |
| existing_iso_codes | ISO codes already present in the database. |
| choices | User-supplied options (target book, defaults, etc.). |