Coder Social home page Coder Social logo

automated_dcf_proj's Introduction

PyFinancialData

-A python library for pulling financial data from Morningstar and Yahoo.

-Includes over 100 functions for income statement, balance sheet, and cashflow items, as well as various valuation metrics.

-Data is fetched from Morningstar and Yahoo Finance.

-FREQUENCY refers to Annual (A), or Quarterly (Q) for financial metrics, TIME is how many columns (Years) the script scrapes from the downloaded excel file (1 - 5) For a pure DCF Implementation the default TIME should be 5 representing the last 5 years of financial data

Dependencies

-urllib2

-pandas

-Quandl

===============

THIS IS ENTIRELY DEPENDANT ON MORNGINGSTAR; IF THEY DECIDE TO CHANGE THEIR URL ADDRESSES OR SHUTDOWN THIS PROGRAM BECOMES USELESS.

FREQUENCY refers to Annual (A), or Quarterly (Q) for financial metrics, TIME is how many columns (Years) the script scrapes from the downloaded excel file (1 - 5) For a pure DCF Implementation the default TIME should be 5 representing the last 5 years of financial data


************************************** TO DO ******************************

Still need to fix all the functions on the function page, follow format of functions.revenue, or functions.cost_of_goods, functions.income_before_taxed, etc.

Still need various QA implementations, and more efficient and cleaner code to grab all the data. Maybe download the income statement, balance sheet, and cashflow sheet ONCE and put them into three separate data frames. From there you can parse through in order to find the relevant metrics for each functions.

Implement different functions for overall DCF process and segment the parts of DCF process into smaller functions such as the implementation of the Income statement, Balance sheet, and Cashflow, add functionality for other Metrics as well.

Also need to figure out a way to deal with modularity and flexibility. By these I mean what happens when the rows don't exactly match the ones in your array. What happens when the numbers don't add up or a stock doesn't label their data the exact same as you have it. This will take a lot of trial and error, try and except blocks. You also thought about using either the row #, or the attribute name as it appears in the excel file as keys for the dictionary. If you pair the attribute name and then continue with the low level approach of working down with the excel file, I think that it would absolutely ensure accuracy when placing the data, even if the row and column NUMBERS change.

Maybe implement machine learning functions in order to make educated guesses on assumptions

You for sure can pull data for the initial global assumptions though

Modularity is HUGE

Safe guards to check and see if the stock's net income, free cash flow, etc. match up with the ones found in the csv files and the company's reported numbers.

Make sure to check and see if the data is reported in millions or thousands; if thousands then just truncate the nums

automated_dcf_proj's People

Watchers

 avatar

automated_dcf_proj's Issues

Activity dashboard

DashList

๐Ÿ‘‹ This dashboard summarizes my activity on the repository, including available improvement opportunities.

Recommendations

Last analysis: Feb 09 | Next scheduled analysis: Feb 13

Open

โœ… Nice work, you're all caught up!

Available

โœ… Nothing yet, but I'm continuing to monitor your PRs.

Metrics

What would you like to see here? Let us know!

Resources

๐Ÿ“š Quick links
Pixee Docs | Codemodder by Pixee

๐Ÿงฐ Tools I work with
Sonar, CodeQL, Semgrep

๐Ÿš€ Pixee CLI
The power of my codemods in your local development environment. Learn more

๐Ÿ’ฌ Reach out
Feedback | Support


โค๏ธ Follow, share, and engage with Pixee: GitHub | LinkedIn | Slack

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.