Skip to content

FRDS - for better and easier finance research

LICENSE Code style: black

frds is a Python framework for computing a collection of major academic measures used in the finance literature in a simple and straightforward way.

GUI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
from frds import Professor
from frds.measures import AccountingRestatement, ROA, FirmSize

measures = [
    AccountingRestatement(years=1),
    AccountingRestatement(years=2),
    ROA(),
    FirmSize(),
]

config = dict(
        wrds_username="your_wrds_username",
        wrds_password="you_wrds_password",
        result_dir="~/frds/result/",
        data_dir="~/frds/data/",
    )

if __name__ == "__main__":
    with Professor(config=config) as prof:
        prof.calculate(measures)

Behind the scene, frds is responsible for downloading and cleaning datasets, estimating the measures and storing them orderly. As a researcher, you can and should focus on your research idea and implementation. Leave the dirty work to frds.


Last update: August 14, 2020