Share and Money Management 0.18devel
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 = "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...
 
tuple provider_url
 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...
 
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...
 

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 = "Yahoo Finance Query"
static

◆ provider_id

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

Unique provider ID.

◆ provider_url

tuple smm.quote.yahoo.YahooQueryFetchPlugin.provider_url
static
Initial value:
= (
"https://query1.finance.yahoo.com/v7/finance/chart/%(symbol)s?"
"range=1d&interval=1d&indicators=quote&includeTimestamps=true"
)

URL to query the data.

Referenced by smm.quote.raiffeisen.RaiffeisenFetchPlugin.getCurrent(), smm.quote.yahoo.YahooCSVFetchPlugin.getCurrent(), smm.quote.yahoo.YahooWebFetchPlugin.getCurrent(), and smm.quote.yahoo.YahooQueryFetchPlugin.getCurrent().


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