ccpandhare / stock-analyser

0 stars 0 forks source link

Dev a #4

Closed AshutoshSancheti closed 2 years ago

AshutoshSancheti commented 2 years ago

Hi Chinmay,

I have added functions to calculate Net present value of a stock using DCF & SSGR. Please review them on how I calculate.

AshutoshSancheti commented 2 years ago

Regarding the math, I have tested the code out for the math and the distributions. The assumption here is that it our provide the metric for a given year's datapoints only. This is good but in the future there is a possibility that we might need to calculate the ssgr metrics for a range of years rather than the latest year and may have to modify the function to use a pd.Series or pd.dataframe. I don't want to deliberate on that decision now as I don't have enough inputs. Bottomline: functions work

ccpandhare commented 2 years ago

@AshutoshSancheti re: Math - makes sense!

fyi - looks like you’ve missed one function Calc_SSGR_CFO(CFO, …) -> please rename this function and it’s parameters before you merge

thanks!

AshutoshSancheti commented 2 years ago

Forgot to save those changes. Committed and Pushed.