Skip to content

grod220/coinmarketcap-portfolio-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoinMarketCap Portfolio Scraper

Tax day coming up and you have no idea how to report your trades you track on CoinMarketCap portfolio tracker? Don't worry, I've been there. This tool is for you! 👆

It does a few things:

  • Scrapes all portfolio trades from your CoinMarketCap portfolio
  • Parses the raw data
  • Augments with calculations: capital gain/loss + days held (helpful for tax filing)
  • Exports to a csv for importing into Excel or Google sheets 🎉

How to use

  • Run yarn install
  • In one terminal window:
  • In another terminal window:
    • Run yarn start:app. This may take a minute to scrape every trade from each of your assets.
    • When finished, this terminal window will show a success message.
    • Look for report.csv in the base directory

Note

Sadly, CoinMarketCap doesn't offer an API to get the underlying porfolio information. This means this app can break if they change the page's html structure. Would require updating the selectors in parser.ts.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published