Skip to content

A python script to create a mapping table between I/B/E/S and Compustat

License

Notifications You must be signed in to change notification settings

babymetal287/link_compustat_ibes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Link_compustat_ibes

Python script to create a mapping table between I/B/E/S and Compustat. Requires WRDS login credentials.

Supported methods are via CRSP and via G_Security.

Example call

python3 link_compustat_ibes.py -o ~/linktable.csv

This asks the script to create a link table in the user's home path.

Downloads I/B/E/S, CRSP, and a Compustat-CRSP linktable from WRDS SQL server to create a linktable for I/B/E/S and Compustat.

python3 link_compustat_ibes.py -o ~/linktable2.csv -m 'gsec'

This asks the script to create a link table in the user's home path.

Downloads I/B/E/S and G_Security table from WRDS SQL server to create linktable2.csv for I/B/E/S ticker/cusip and Compustat's gvkey.

About

A python script to create a mapping table between I/B/E/S and Compustat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%