Share and Money Management 0.18devel
|
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 | |
Complex pattern to extract WKN and ISIN. More... | |
Static Public Attributes | |
list | decimal_properties |
Decimal values. More... | |
string | name = "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 = "http://de.finance.yahoo.com/q?s=%(isin)s" |
URL to query the data. More... | |
string | dsep = "," |
Decimal separator for converting strings to decimal values. More... | |
string | tsep = "." |
Thousands separator for converting strings to decimal values. 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... | |
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.base.FetchPluginBase.logger, smm.quote.raiffeisen.RaiffeisenFetchPlugin.provider_url, smm.quote.yahoo.YahooCSVFetchPlugin.provider_url, smm.quote.yahoo.YahooWebFetchPlugin.provider_url, smm.quote.yahoo.YahooQueryFetchPlugin.provider_url, and smm.quote.yahoo.YahooWebFetchPlugin.REC_WKN.
|
static |
Decimal values.
Those returned values will be converted into decimal.Decimal values
Referenced by smm.quote.yahoo.YahooCSVFetchPlugin.getCurrent(), and 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.
Referenced by smm.objects.Share.__str__(), and smm.quote.yahoo.YahooQueryFetchPlugin.getCurrent().
|
static |
Unique provider ID.
|
static |
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.