{"repo":"ymyke/pypme","free":true,"listed":false,"github":"https://github.com/ymyke/pypme","clone":"git clone https://github.com/ymyke/pypme.git","description":"A Python package for PME (Public Market Equivalent) calculation","language":"Python","stars":14,"topics":["python","pme","financial-analysis","investing","investment-analysis","finance"],"license":"MIT","category":"trading","readme_excerpt":"pypme – Python package for PME (Public Market Equivalent) calculation Based on the Modified PME method. Example Will return 0.5525698793027238 and 0.19495150355969598 for the IRRs and produce this dataframe: Notes: - The cashflows are interpreted from a transaction account that is used to buy from an asset at price prices . - The corresponding prices for the PME are pme prices . - The cashflows is extended with one element representing the remaining value, that's why all the other lists ( dates , prices , pme prices ) need to be exactly 1 element longer than cashflows . Variants - xpme : Calculate PME for unevenly spaced / scheduled cashflows and return the PME IRR only. In this case, the IRR is always annual. - verbose xpme : Calculate PME for unevenly spaced / scheduled cashflows and return vebose information. - pme : Calculate PME for evenly spaced cashflows and return the PME IRR only. In this case, the IRR is for the underlying period. - verbose pme : Calculate PME for evenly spaced cashflows and return vebose information. - tessa xpme and tessa verbose xpme : Use live price information via the tessa library. See below. tessa examples – using tessa to retrieve PME prices online Use tessa xpme and tessa verbose xpme to get live prices via the tessa library and use those prices as the PME. Like so: Note that the dates need to be timezone-aware for these functions. Garbage in, garbage out Note that the package will only perform essential sanity checks and otherwise just wor","default_branch":null,"files":null,"tree":[],"storefront":"/r/ymyke","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ymyke/pypme/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."}