Skip to content

Python script for populating dedicated Google Calendar with stock ex-dividend dates. Requires utilization of both Google Cloud Platform and the python yfinance package.

Notifications You must be signed in to change notification settings

wow14051/DividendCalendar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

DividendCalendar

DividendCalendar is a simple Python script used to populate a dedicated Google Calendar with ex-dividend dates of selected stocks. The yfinance package is leveraged to obtain the dividend information, and the Google Calendar API is obviously used to add calendar entries. Detailed information about the Google API for Python is available on the Github repo, but the official Google API quickstart guide is the best starting point for understanding the DividendCalendar script.

OAuth 2.0 credentials must be used to create/delete calendar entries. These credentials (OAuth Client ID) are generated in the Google Cloud Platform console. A key limitation with the free tier is that the credentials lifetime is only 7 days. so manual token generation is needed.

About

Python script for populating dedicated Google Calendar with stock ex-dividend dates. Requires utilization of both Google Cloud Platform and the python yfinance package.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%