Made parsing of dump security easier to facilitate locating ice symbols.
This commit is contained in:
1 parent
1921f02d30
commit
0cb11b7f8d
1 file changed
+5
@@ -300,6 +300,11 @@ void dump_db(const vector<string>& args) {
|
||||
md::get_system_md_symbols(symbols);
|
||||
md::db::load_securities(symbols, [&](const api::Security& security) {
|
||||
if (all || keys.find(security.id()) != keys.end()) {
|
||||
if (security.has_ice()) {
|
||||
std::cout << "#ICE_SECURITY_ID_TO_SYMBOL_MAPPING: "
|
||||
<< security.ice().exchange_id() << " -> "
|
||||
<< security.ice().security_desc() << "\n";
|
||||
}
|
||||
security.PrintDebugString();
|
||||
if (md::securitytype_of(security) == api::SECURITYTYPE_SYNTHETIC) {
|
||||
auto metadata = md::db::load_metadata();
|
||||
|
||||
Reference in new issue
Block a user