|
Share and Money Management 0.18devel
|
Functions to import and register data tracker modules. More...
Namespaces | |
| namespace | base |
| Basic functionality to handle finance data provided by public resources. | |
| namespace | onvista |
| Functionality to query the finance database of OnVista. | |
| namespace | raiffeisen |
| Functionality to query the finance database of Raiffeisen Bankengruppe. | |
| namespace | vwd |
| Functionality to query the finance database of VWD AG. | |
| namespace | yahoo |
| Classes to handle finance data provided by Yahoo. | |
Functions | |
| def | search_and_register () |
| Search, import and register FetchPlugins. More... | |
| def | _modules_from_zip (filename) |
| Extract a list of plugins from a module zip archive. More... | |
| def | _modules_from_filesystem () |
| Search in the installation directory for plugins. More... | |
| def | fetchQuote (klass, share_list) |
| Generic function to fetch quotes using a FetchPlugin. More... | |
Variables | |
| dictionary | source2class = {} |
| Mapping of source id to a FetchPlugin. More... | |
| dictionary | source2name = {} |
| Mapping of the source id to the name of the data fetcher. More... | |
Functions to import and register data tracker modules.
|
private |
Search in the installation directory for plugins.
Referenced by smm.quote.search_and_register().
|
private |
Extract a list of plugins from a module zip archive.
| filename | Path and Name of the module zip archive |
Referenced by smm.quote.search_and_register().
| def smm.quote.fetchQuote | ( | klass, | |
| share_list | |||
| ) |
Generic function to fetch quotes using a FetchPlugin.
The quotations are fetched and converted to daily quotes automatically.
| klass | Class of the FetchPlugin |
| share_list | List of Shares |
References smm.math.round_and_remove_exponent().
| def smm.quote.search_and_register | ( | ) |
Search, import and register FetchPlugins.
References smm.quote._modules_from_filesystem(), and smm.quote._modules_from_zip().
Referenced by tests.test_misc.TestMisc.setUp().
| dictionary smm.quote.source2class = {} |
Mapping of source id to a FetchPlugin.
| dictionary smm.quote.source2name = {} |
Mapping of the source id to the name of the data fetcher.