https://github.com/ppseprus/how-much-do-my-cryptocurrencies-value
A dead simple crypto-balance calculator
https://github.com/ppseprus/how-much-do-my-cryptocurrencies-value
cryptocurrency javascript
Last synced: about 1 year ago
JSON representation
A dead simple crypto-balance calculator
- Host: GitHub
- URL: https://github.com/ppseprus/how-much-do-my-cryptocurrencies-value
- Owner: ppseprus
- Created: 2017-11-22T20:50:18.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-16T18:31:04.000Z (over 2 years ago)
- Last Synced: 2025-02-08T17:32:19.871Z (over 1 year ago)
- Topics: cryptocurrency, javascript
- Language: JavaScript
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How Much Do My Cryptocurrencies Value
A dead simple crypto-balance calculator
## Why?
I recently started experimenting with _cryptocurrencies_ and I wanted to have a simple snippet that tells me my current, would-be balance — the current value of all my assets in their original buy-in _fiat_.
## How to use
1. Log your assets in the _assets.json_ (see the _example.json_ for help)
- _crpytos_ should contain all your transactions
- _fiats_ should show the remaining balance you have at the exchange(s)
2. Run `node index`
### Output with the _example.json_
```
50.00EUR
51.00EUR -> 62.60EUR +22.75%
-------------------------------------
112.60EUR
100.00USD
500.00USD -> 816.30USD +63.26%
-------------------------------------
916.30USD
```
## Disclaimer
This is only a snippet, nothing more. I was too lazy doing something else...