Share and Money Management  0.16
Public Member Functions | Static Public Attributes | List of all members
smm.quote.yahoo.YahooQueryFetchPlugin Class Reference

Share data tracker querying Yahoo finance data. More...

Inheritance diagram for smm.quote.yahoo.YahooQueryFetchPlugin:

Public Member Functions

def getCurrent (self, request)
 

Static Public Attributes

string name = u'Yahoo Finance Query'
 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.yahooquery'
 Name of the instance logger. More...
 
int provider_id = 600
 Unique provider ID. More...
 
string provider_url = u'https://query1.finance.yahoo.com/v7/finance/chart/%(symbol)s?' \
 URL to query the data. More...
 
bool check_robotfile = False
 
- 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...
 
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...
 

Detailed Description

Share data tracker querying Yahoo finance data.

This tracker uses the Yahoo JSON Query API.

Member Function Documentation

◆ getCurrent()

def smm.quote.yahoo.YahooQueryFetchPlugin.getCurrent (   self,
  request 
)

Member Data Documentation

◆ check_robotfile

bool smm.quote.yahoo.YahooQueryFetchPlugin.check_robotfile = False
static

◆ interface_version

int smm.quote.yahoo.YahooQueryFetchPlugin.interface_version = 2
static

Version number of the interface to access and convert the data.

◆ logger_name

string smm.quote.yahoo.YahooQueryFetchPlugin.logger_name = 'smm.quote.yahooquery'
static

Name of the instance logger.

◆ name

string smm.quote.yahoo.YahooQueryFetchPlugin.name = u'Yahoo Finance Query'
static

Name of the data source.

◆ provider_id

int smm.quote.yahoo.YahooQueryFetchPlugin.provider_id = 600
static

Unique provider ID.

◆ provider_url

string smm.quote.yahoo.YahooQueryFetchPlugin.provider_url = u'https://query1.finance.yahoo.com/v7/finance/chart/%(symbol)s?' \
static

URL to query the data.

Referenced by smm.quote.yahoo.YahooQueryFetchPlugin.getCurrent().


The documentation for this class was generated from the following file: