{"repo":"TechStuff2020/Portfolio-Doctor","free":true,"listed":false,"github":"https://github.com/TechStuff2020/Portfolio-Doctor","clone":"git clone https://github.com/TechStuff2020/Portfolio-Doctor.git","description":"Too many portfolio trackers, but no portfolio doctor! Get insights from your trading history. Correctly benchmark against an index, with opportunity cost, interest income from cash, broker fees and capital gains tax, etc. factored in.","language":"Java","stars":15,"topics":["finance","investing","portfolio-analytics","stock-market","stock-trading","stocks","trading"],"license":"GPL-2.0","category":"trading","readme_excerpt":"30 second summary It's easy to track a portfolio and calculate a performance metric such as IRR, XIRR, TWR and MWR. But it's difficult to answer a simple question: Did my frenzied stock trading beat the index? To get the right answer, we need to use a concept of Cash-aware portfolio . The idle cash in a portfolio, even when earning small interest , has an opportunity cost . Brokerage fees, capital gains tax also cut into real returns. Dividends could stay in cash (and earn interest) or be reinvested. Only after all of that is factored in, we can correctly compare a portfolio against the plain BUY and HOLD index strategy. Based on user's region, base curreency, a benchmark index can be chosen, e.g. Dow Jones, Eurostoxx 50, S&P 500, DAX, SMI, or even the 60:40 index or any ETF. Introduction and genesis of idea According to media, the Covid lockdowns saw a record number of first-time retail investors! A large portion of Gen-Z population is beginning to earn, have investible savings. Besides this data - which may be real or cooked up - one can feel that, discussions in many social circles are beginning to involve \"stock tips\" or innocent brags about gains from Apple/ Netflix/ Tesla, etc etc. Over time, one wonders: Is DIY investing worth it? Again, data shows that even professional fund managers do worse than the index - let alone new beginners. Yet, pride, over confidence or plain beginner's luck, makes many people invest on their own. In other words, a majority beginners - even","default_branch":null,"files":null,"tree":[],"storefront":"/r/TechStuff2020","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/TechStuff2020/Portfolio-Doctor/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}