LTC: LQjSwZLigtgqHA3rE14yeRNbNNY2r3tXcA
A simple nodejs program to generate a report showing the smallest possible purchases. Since Binance does not allow partial lots, there is often dust left in counter currencies after purchases or sales. This will calculate the minimum lot cost on the various exchanges to give you an idea what can be bought with that dust. It will also calculate the exit tax required to move the various coins off of binance.
You'll need a desktop system with command console. I'm using nodejs version 5.11.0 so if your using a later version, I recommend installing nvm to run other versions in parallel.
Ensure that you are running nodejs version 5.11.0
node -v
If you have nvm installed you can activate version 5.11.0
nvm use 5.11.0
Obtain the repository using git
git clone https://github.com/brianddk/binance-fees.git
Once you are on a good nodejs version, a simple npm install will suffice
npm install
This should be all that is required and you can no generate a report.
To run the report simply run node binance-fees.js
node binance-fees.js > report.csv
The output of the report will be a CSV file viewable by your favorite spreadsheet.
- Node.js - The NodeJS language runtime
- npm - NodeJS package manager
- nvm-windows - nvm for Windows, but there are many releases for other OSes too.
Just issue a PR on github.
Just submit an issue on github.
- brianddk - Initial work - Github - Tips [LTC]: LQjSwZLigtgqHA3rE14yeRNbNNY2r3tXcA
This project is licensed under the Apache 2.0 License.
- Thanks to Binance for providing an API