Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hickscorp/coinmon
A dead-simple utility to monitor your crypto-currency portfolio.
https://github.com/hickscorp/coinmon
bitcoin cryptocurrencies litecoin monitoring
Last synced: about 1 month ago
JSON representation
A dead-simple utility to monitor your crypto-currency portfolio.
- Host: GitHub
- URL: https://github.com/hickscorp/coinmon
- Owner: hickscorp
- Created: 2017-12-23T18:21:45.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-23T18:34:12.000Z (about 7 years ago)
- Last Synced: 2024-11-15T09:51:57.291Z (2 months ago)
- Topics: bitcoin, cryptocurrencies, litecoin, monitoring
- Language: Ruby
- Size: 2.93 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Coinmon
[![Gem Version](https://badge.fury.io/rb/coinmon.svg)](https://badge.fury.io/rb/coinmon)
## Abstract
A dead-simple utility to monitor your crypto-currency portfolio.
## Usage
The tool expects your portfolio to be in the YAML format, like so:
```
:btc:
:name: Bitcoin
:amount: 2
:investment: 600
:bch:
:name: Bitcoin Cash
:amount: 1.63
:investment: 500
```Make sure you set all investment fields in one single currency (Eg if you bought different cryptos using different currencies, you'll have to normalize everything into the same currency).
Then, you can call the tool like so:
```bash
coinmon path/to/portfolio.yml GBP
```It will automatically make the math and give you a summary.
It automatically gets rates from:
- http://coincap.io for the crypto-currencies.
- https://api.fixer.io for the fiat currencies.That's because the cypto-currency rates are in USD, if you're asking for GBP it has to perform an intermediate conversion.