Git Product home page Git Product logo

arg-adrs-ath-mkt-cap's Introduction

Argentine ADR Market Cap Calculator

This project calculates and analyzes market capitalization data for Argentine American Depositary Receipts (ADRs). It includes scripts to fetch weekly share prices, calculate market capitalization, and generate comparison reports.

Components

  1. fetch_weekly_prices.py: Fetches weekly closing prices for specified tickers.
  2. calculate_market_cap.py: Calculates market capitalization using share prices and outstanding shares data.
  3. generate_market_cap_csv.py: Generates a CSV report comparing current market caps to all-time highs.
  4. shrs.csv: Input file containing quarterly shares outstanding data.

Requirements

  • Python 3.x
  • pandas
  • yfinance
  • numpy

Install required packages using: pip install pandas yfinance numpy

Usage

  1. Fetch weekly prices: python fetch_weekly_prices.py This generates weekly_pxs.csv with weekly closing prices.

  2. Calculate market capitalization: python calculate_market_cap.py This generates market_cap_data.csv with calculated market caps.

  3. Generate market cap comparison report: python generate_market_cap_csv.py This creates market_cap_comparison.csv with a comparison of current vs. all-time high market caps.

Input Data

  • shrs.csv: Contains quarterly shares outstanding data for each ticker.

Output Files

  • weekly_pxs.csv: Weekly closing prices for each ticker.
  • market_cap_data.csv: Calculated market capitalization data.
  • market_cap_comparison.csv: Comparison report of current vs. all-time high market caps.

Tickers Analyzed

PAM, SUPV, TEO, EDN, BBAR, LOMA, YPF, BMA, TS, CEPU, TGS, AGRO, CAAP, GGAL, CRESY, BIOX, VIST

Notes

  • The scripts use data from December 31, 2003, onwards.
  • Ensure shrs.csv is up-to-date with the latest quarterly shares outstanding data.
  • Market cap values are calculated in millions of USD.

License

[Specify your license here]

arg-adrs-ath-mkt-cap's People

Contributors

0juano avatar

Watchers

 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.