Capital gains calculator
Capital gains calculator.
pip install capital-gains
usage: capital-gains [<options>] [--] <input file> Capital gains calculator optional arguments: -h, --help show this help message and exit --cents round to nearest cents, not dollars -v, --version show program's version number and exit
Each entry has the following format:
Buys have positive
shares; sells have negative
name are optional. A sell without a
sell all open lots FIFO; a sell with a
name will only sell lots with the same
name can be used to specify sell orders other than FIFO.
Closed lots are tabulated in a format suitable for form
8949, rounded to the nearest dollar
--cents to round to the nearest cent).
Open lots are also summarized.
capital-gains example/input.csv > example/output.txt
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for capital_gains-1.0.0-py2.py3-none-any.whl