Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better missing security reporting (redstreet#43)
* if get_ticker_info_from_id finds an id not present in fund_info.py try to use self.ofx.security_list to report more useful information. At least in Fidelity ofx files both the symbol and security name are present, so in most cases the required additions to fund_info.py are already in the file. * Slightly better reportings...print a summary line before list of securities * remove unused f string * 1. Comments to explain what is going on 2. Key the extracted securities dict by CUSIP (not symbol) which matches what is found in the transaction entries (not for bonds symbol generally matches CUSIP) 3. Values of dict are now a tuple of (symbol, cusip, name) which for stocks should be all that is needed for fund_info.py * Remove another unnecessary f string Co-authored-by: Ware Adams <ware@rwa.washdcmail-intranet.lan>
- Loading branch information