Posts

Showing posts with the label Chartered Financial Analyst

Solve the problem of Google Colab's DataReader Error to get financial data for free

Image
If you use the code below to get the financial data from yahoo. The Google Colaboratory will incur an error, because the pandas_datareader is old version in Colaboratory. from pandas_datareader import data import pandas as pd import matplotlib.pyplot as plt import datetime as dt import numpy as np start = dt.date(2010,1,1) end = dt.date(2020,12,31) aapl = data.DataReader('GOOGL',"yahoo",start,end) aapl.head() To use the code below to upgrade the pandas_datareader. !pip install --upgrade pandas-datareader from pandas_datareader import data import pandas as pd import matplotlib.pyplot as plt import datetime as dt import numpy as np start = dt.date(2010,1,1) end = dt.date(2020,12,31) aapl = data.DataReader('GOOGL',"yahoo",start,end) aapl.head() and the library will be upgraded and you can get the newest data.

Use Python 3 to Get All Japan Chartered CMA Member's Name (証券アナリス ト)

英語:Use Python 3(+bs4) to Get All Chartered CMA Member's Name (日本証券アナリスト) in Japan 日本語:Python 3 を利用して、日本証券アナリスト会員の名簿を抽出します。 Key Words : Python 3, BeautifulSoup, 日本証券アナリスト, 名簿, Japan Security Analyst Member ------------------------------------------------------------------------ import requests f = open("/home/***/workspace/Python/Result.txt","w") url_b = ['a','i','u','e','o', 'ka','ki','ku','ke','ko', 'sa','si','su','se','so', 'ta','ti','tu','te','to', 'na','ni','nu','ne','no', 'ha','hi','hu','he','ho', 'ma','mi','mu','me','mo', 'ya','yu','yo', 'ra','ri','ro', ...