This blog is all about informatory articles based on my experience on various areas, including information technology, communications research, stock trading, traveling and cooking.
Monday, 27 October 2014
Bing Search Using Python
Partial output of the above Python script is shown below:
Labels:
beautifulsoup,
bing search,
google,
html,
pages,
parse,
python,
search results,
yahoo
Sunday, 5 October 2014
Calculation of Beta of Stocks Using Python Libraries (Stock Risk Analysis)
As an example, let us consider Coca Cola (NYSE:KO). Historical Coca Cola stock data can be downloaded from Google Finance:
Historical NYSE:KO Data
Suppose we consider NYSE:SPY as the market indicator/index in calculating beta. Historical stock data of NYSE:SPY can be downloaded from Google Finance:
Historical NYSE:SPY Data
The following python script finds the beta value for market indicator and symbol historical data file names passed as command line parameters:
Historical NYSE:KO Data
Suppose we consider NYSE:SPY as the market indicator/index in calculating beta. Historical stock data of NYSE:SPY can be downloaded from Google Finance:
Historical NYSE:SPY Data
The following python script finds the beta value for market indicator and symbol historical data file names passed as command line parameters:
Labels:
alpha,
beta,
coca cola,
coke,
investment,
line fitting,
markets,
python,
regression analysis,
risk analysis,
s&p 500,
spy,
statistics,
stocks
Subscribe to:
Posts (Atom)