This TypeScript library provides functionality to calculate Robinhood trading gains or losses using reports as input. We do this because Robinhood does not provide gains and losses in the monthly statements.
IMPORTANT: The robinhood-fifo
project DOES NOT generate tax forms of any kind. It helps you calculate gains
and losses.
git clone git@github.com:baloian/robinhood-fifo.git
cd robinhood-fifo
npm install
Do the following two steps:
- Generate your individual report in your Robinhood account and download the generated
.csv
file(s). - Create an
input
directory in the project's root directory and place the downloaded.csv
file(s) inside it.
In the root directory, execute the following command
npm run start
Contributions are welcome and can be made by submitting GitHub pull requests
to this repository. In general, the project source code follows
Airbnb JavaScript Style Guide and the
rules specified in .eslintrc.json
file.
This source code is available to everyone under the standard MIT LICENSE.