Share and Money Management
0.16
|
Share data tracker querying Yahoo finance data. More...
Public Member Functions | |
def | __init__ (self) |
def | getCurrent (self, request) |
Obtain information from the data provider. More... | |
Public Attributes | |
REC_WKN | |
Static Public Attributes | |
list | decimal_properties |
Decimal values. More... | |
string | name = u'Yahoo Finance Web' |
Name of the data source. More... | |
int | interface_version = 2 |
Version number of the interface to access and convert the data. More... | |
string | logger_name = 'smm.quote.yahooweb' |
Name of the instance logger. More... | |
int | provider_id = 500 |
Unique provider ID. More... | |
string | provider_url = u"http://de.finance.yahoo.com/q?s=%(isin)s" |
URL to query the data. More... | |
string | dsep = u',' |
Decimal separator for converting strings to decimal values. More... | |
string | tsep = u'.' |
Thousands separator for converting strings to decimal values. More... | |
![]() | |
list | properties = [] |
List of supported properties. More... | |
bool | check_robotfile = True |
Check and respect the robots.txt file. More... | |
string | encoding = 'ascii' |
Default encoding of all returned strings. More... | |
bool | active = True |
Set to 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 = u',' |
Decimal separator for converting strings to decimal values. More... | |
tsep = None | |
Thousands separator for converting strings to decimal values. More... | |
int | max_retries = 3 |
Number of retries for temporary connection errors. More... | |
string | user_agent = 'Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6' |
Define a own user agent string. More... | |
Share data tracker querying Yahoo finance data.
This tracker uses the Yahoo web portal
def smm.quote.yahoo.YahooWebFetchPlugin.__init__ | ( | self | ) |
def smm.quote.yahoo.YahooWebFetchPlugin.getCurrent | ( | self, | |
request | |||
) |
Obtain information from the data provider.
self | The object instance itself |
request | See example |
References smm.quote.yahoo.YahooCSVFetchPlugin.decimal_properties, smm.quote.yahoo.YahooWebFetchPlugin.decimal_properties, smm.quote.raiffeisen.RaiffeisenFetchPlugin.provider_url, smm.quote.yahoo.YahooCSVFetchPlugin.provider_url, smm.quote.yahoo.YahooWebFetchPlugin.provider_url, smm.quote.yahoo.YahooWebFetchPlugin.REC_WKN, and smm.quote.base.toUnicode().
|
static |
Decimal values.
Those returned values will be converted into decimal.Decimal values
Referenced by smm.quote.yahoo.YahooWebFetchPlugin.getCurrent().
|
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.
|
static |
Unique provider ID.
|
static |
URL to query the data.
Referenced by smm.quote.yahoo.YahooWebFetchPlugin.getCurrent(), and smm.quote.yahoo.YahooQueryFetchPlugin.getCurrent().
smm.quote.yahoo.YahooWebFetchPlugin.REC_WKN |
Complex pattern to extract WKN and ISIN
Referenced by smm.quote.yahoo.YahooWebFetchPlugin.getCurrent().
|
static |
Thousands separator for converting strings to decimal values.