# dcf

A discounted cash flow statement looks to analyze the value of a company. To do this we need to predict the future cash flows and then determine how much those cash flows are worth to us today. We predict the future expected cash flows by predicting what the financial statements will look like in the future, and then using this to determine the cash the company will have in the future. This cash is paid to share holders. We use linear regression to predict the future financial statements. Once we have our predicted financial statements we need to determine how much the cash flows are worth today. This is done with a discount factor. Our DCF allows users to choose between Fama French and CAPM for the factor. This allows us to calculate the present value of the future cash flows. The present value of all of these cash payments is the companies' value. Dividing this value by the number of shares outstanding allows us to calculate the value of each share in a company.

### Usage

`dcf [-t TICKER] [-a] [--no-ratios] [--no-filter] [-p PREDICTION] [-s SIMILAR] [-b BETA] [-g]`

## Parameters

Name | Parameter | Description | Default | Optional | Choices |
---|---|---|---|---|---|

ticker | -t --ticker | Ticker to analyze | None | True | None |

audit | -a --audit | Generates a tie-out for financial statement information pulled from online. | False | True | None |

ratios | --no-ratios | Removes ratios from DCF. | True | True | None |

ratios | --no-filter | Allow similar companies of any market cap to be shown. | False | True | None |

prediction | -p --prediction | Number of years to predict before using terminal value. | 10 | True | None |

similar | -s --similar | Number of similar companies to generate ratios for. | 0 | True | None |

beta | -b --beta | The beta you'd like to use for the calculation. | 1 | True | None |

growth | -g --growth | Whether to replace a linear regression estimate with a growth estimate. | False | True | None |