Share and Money Management  0.16
Namespaces | Functions | Variables
smm.quote Namespace Reference

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.
def _modules_from_zip
 Extract a list of plugins from a module zip archive.
def _modules_from_filesystem
 Search in the installation directory for plugings.
def fetchQuote
 Generic function to fetch quotes using a FetchPlugin.

Variables

dictionary source2class = {}
 Mapping of source id to a FetchPlugin.
dictionary source2name = {}
 Mapping of the source id to the name of the data fetcher.

Detailed Description

Functions to import and register data tracker modules.

Author
Carsten Grohmann <mail (at) carstengrohmann (dot) de>

Function Documentation

def smm.quote._modules_from_filesystem ( )
private

Search in the installation directory for plugings.

Returns
List of module names

References smm.quote.base.toUnicode().

Referenced by smm.quote.search_and_register().

Here is the call graph for this function:

Here is the caller graph for this function:

def smm.quote._modules_from_zip (   filename)
private

Extract a list of plugins from a module zip archive.

Parameters
filenamePath and Name of the module zip archive
Returns
List of module names

Referenced by smm.quote.search_and_register().

Here is the caller graph for this function:

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.

Parameters
klassClass of the FetchPlugin
share_listList of Shares

References smm.quote.base.toUnicode().

Here is the call graph for this function:

def smm.quote.search_and_register ( )

Search, import and register FetchPlugins.

See Also
_modules_from_zip()
_modules_from_filesystem()
source2class
source2name

References smm.quote._modules_from_filesystem(), smm.quote._modules_from_zip(), and smm.quote.base.toUnicode().

Referenced by tests.test_misc.TestMisc.setUp().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

dictionary smm.quote.source2class = {}

Mapping of source id to a FetchPlugin.

See Also
getPrimarySourceID()
source2name
dictionary smm.quote.source2name = {}

Mapping of the source id to the name of the data fetcher.

See Also
source2class