Coder Social home page Coder Social logo

alphavantage-comparables-generator's Introduction

Comparables Generator

Uses the AlphaVantage API and the alpha_vantage Python wrapper to pull the current market capitalization, Enterprise Value (EV)-to-Revenue multiple, and year-to-date (YTD) stock price change for a specified list of publicly traded companies. Each stat is delinated by a pipe in the output, as shown here:

Image of example output

My personal use case is to compare valuations and stonk price performance across information security companies for a private ~bi-monthly newsletter. I don't think this would be very useful for day trading, but I also don't recommend day trading unless that is your day job (unless you enjoy being a tasty victim for hedge funds).

Other relevant metrics one could add to this include EV-to-EBITDA, Quarterly Revenue Growth, or P/E Ratio. Note that most "hot" tech companies are unlikely to be profitable.

Caveats

There is a built-in 60 second delay for each request due to AlphaVantage's rate limiting (a maximum of 5 requests per minute). If you buy a premium account, then you can adjust accordingly.

You need to wait at least a day post-IPO before adding a company to the list. Currently, companies who IPO'd within the last year are handled by looking up the earliest daily open price, which is different than the IPO price.

Right now, it treats all monetary values as U.S. Dollars (USD), so conversion would be needed for companies whose financials are presented in other currencies.

alphavantage-comparables-generator's People

Contributors

swagitda avatar

Stargazers

 avatar Jorge Blanco avatar Ondřej avatar

Watchers

James Cloos avatar  avatar

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.