connecting to WRDS db

PHOTO EMBED

Wed Jun 09 2021 02:43:28 GMT+0000 (Coordinated Universal Time)

Saved by @suibhne #python #sql #thesis

import wrds
db = wrds.Connection(wrds_username='joe')
db.raw_sql('SELECT date,dji FROM djones.djdaily')
content_copyCOPY

https://wrds-www.wharton.upenn.edu/pages/support/programming-wrds/programming-python/python-from-your-computer/