Share and Money Management 0.18devel
|
Share data tracker querying finance data provided by VWD AG. More...
Public Member Functions | |
def | getCurrent (self, request) |
Obtain information from the data provider. More... | |
Static Public Attributes | |
int | interface_version = 2 |
Version number of the interface to access and convert the data. More... | |
string | logger_name = "smm.quote.vwd" |
Name of the instance logger. More... | |
string | name = "vwd" |
Name of the data source. More... | |
int | provider_id = 200 |
Unique provider ID. More... | |
string | dsep = "," |
Decimal separator for converting strings to decimal values. More... | |
tsep = None | |
Thousands separator for converting strings to decimal values. More... | |
string | provider_url_base = "http://www.finanztreff.de" |
URL base to query the data. More... | |
string | provider_url_request_1 = "ftreff/kurse_einzelkurs_uebersicht.htm?s=%(wkn)s" |
Request to get the first data page. More... | |
string | provider_url_request_2 = "ftreff/redirect.htm?kurs=%(wkn)s&fonds=&zertifikate=&os=&turbos=&u=0&p=0&k=0&suche=1" |
Request to get another data page. More... | |
Static Public Attributes inherited from smm.quote.base.FetchPluginBase | |
list | properties = [] |
List of supported properties. More... | |
bool | check_robotfile = True |
Check and respect the robots.txt file. More... | |
bool | active = True |
Set False to deactivate a plugin. More... | |
int | interface_version = 2 |
Version number of the interface to access and convert the data. More... | |
string | logger_name = "smm.quote.base" |
Name of the instance logger. More... | |
string | name = "Override in derivated class!" |
Name of the data source. More... | |
provider_id = None | |
Unique provider ID. More... | |
string | dsep = "," |
Decimal separator for converting strings to decimal values. More... | |
tsep = None | |
Thousands separator for converting strings to decimal values. More... | |
logger = None | |
Instance logger. More... | |
int | max_retries = 3 |
Number of retries for temporary connection errors. More... | |
tuple | user_agent |
Define an own user agent string. More... | |
Static Private Attributes | |
list | _specific_properties |
Share data tracker querying finance data provided by VWD AG.
def smm.quote.vwd.VwdFetchPlugin.getCurrent | ( | self, | |
request | |||
) |
Obtain information from the data provider.
self | The object instance itself |
request | See example |
References smm.quote.base.FetchPluginBase.logger, smm.quote.vwd.VwdFetchPlugin.provider_url_base, smm.quote.vwd.VwdFetchPlugin.provider_url_request_1, and smm.quote.vwd.VwdFetchPlugin.provider_url_request_2.
|
staticprivate |
|
static |
Decimal separator for converting strings to decimal values.
|
static |
Version number of the interface to access and convert the data.
|
static |
Name of the instance logger.
|
static |
Name of the data source.
Referenced by smm.objects.Share.__str__(), and smm.quote.yahoo.YahooQueryFetchPlugin.getCurrent().
|
static |
Unique provider ID.
|
static |
URL base to query the data.
Referenced by smm.quote.vwd.VwdFetchPlugin.getCurrent().
|
static |
Request to get the first data page.
Referenced by smm.quote.vwd.VwdFetchPlugin.getCurrent().
|
static |
Request to get another data page.
Referenced by smm.quote.vwd.VwdFetchPlugin.getCurrent().
|
static |
Thousands separator for converting strings to decimal values.