API Reference¶
This is a comprehensive reference for everything you get when you import famafrench
.
Table of Contents
FamaFrench
Constructor¶
|
wrdsConnection
Constructor¶
Class for setting up the remote connection to wrds-cloud; largely builds on the |
Connecting to wrds-cloud
¶
|
Make a connection to the wrds-cloud database. |
|
Close the connection to the database. |
|
Create a |
|
Query the wrds-cloud database using a raw SQL string. |
wrds-cloud
Query Tools¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Estimating Market Betas and Rolling Residual Variances¶
|
Constructing Portfolios and Return-Based Factors¶
|
|
|
|
|
|
|
|
|
|
|
Comparing to Ken French’s Online Library¶
|
|
|
|
|
|
|
|
|
Summary Statistics and Diagnostics¶
|
|
|
Auxiliary Functions and Utilities¶
Wrapper for |
|
Directly download (from Ken French’s online library) zipped monthly or annual datafiles for the Short-Term Reversal or Long-Term Reversal Fama-French-style factors. |
|
Wrapper for class instance methods enabling the timing of execution. |
|
Boolean variable that is |
|
Consistent w/ Fama and French (2008, 2016), map the prior (j-k) monthly return strategy into a daily strategy (see Ken French’s online documentation). |
|
Calculate (net) weighted portfolio return for portfolio with weights |
|
Compute a simple average across different columns. |
|
Construct detailed tables with summary statistics. |