Skip to content

Commit

Permalink
fixed issue #34, #35, #36
Browse files Browse the repository at this point in the history
  • Loading branch information
netevert committed Mar 4, 2018
1 parent 7b4ac58 commit acf4ba4
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 5 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.2.0] - unreleased
### Added
- DASH support
- ZEC support
- Improved documentation
- New icon

### Changed
- Moved price change report under a dedicated argument (-r)

### Fixed
- Improved speed of price lookups

### Removed
- Price change reports from single cryptocurrency price and conversion lookups

## [1.1.2] - 2018-03-01
### Changed
- Project ownership
Expand Down
25 changes: 21 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
![Icon](https://github.com/netevert/hodl/blob/master/docs/icon.png)
=================================================================
![Icon](https://github.com/netevert/hodl/blob/dev/docs/icon_2.png)
==================================================================
[![Maintenance](https://img.shields.io/maintenance/yes/2018.svg)]()
[![PyPI](https://img.shields.io/pypi/v/hodl.svg)](https://pypi.python.org/pypi/hodl)
[![PyPI](https://img.shields.io/pypi/status/hodl.svg)](https://pypi.python.org/pypi/hodl)
Expand Down Expand Up @@ -33,6 +33,21 @@ Currencies supported:
- Litecoin ([LTC](https://litecoin.com/))
- Monero ([XMR](https://getmonero.org/))
- Ripple ([XRP](https://ripple.com/))
- Dash ([DASH](https://www.dash.org/))
- Zcash ([ZEC](https://z.cash/))

View price percentage variations between lookups:

C:\>hodl -r
[*] generating price change report
1 BTC = 11092.47 USD -0.07%
1 BCH = 1243.01 USD -0.12%
1 ETH = 849.53 USD -0.06%
1 LTC = 208.18 USD 0.00%
1 XMR = 347.17 USD 0.03%
1 XRP = 0.92 USD 0.00%
1 DASH = 599.18 USD -0.07%
1 ZEC = 389.29 USD -0.03%

Set preferred conversion currency:

Expand All @@ -42,7 +57,7 @@ Set preferred conversion currency:
View price for a single cryptocurrency:

C:\>hodl -c btc
1 BTC = 13500.01 USD -0.05% decrease
1 BTC = 13500.01 USD

Convert the price for a single cryptocurrency against your preferred
fiat currency:
Expand All @@ -53,7 +68,7 @@ fiat currency:
Convert the price for a single cryptocurrency against another cryptocurrency:

C:\>hodl -c ltc -f CHF
1 LTC = 223.93 CHF -3.06% decrease
1 LTC = 223.93 CHF

View total value of portfolio holdings:

Expand All @@ -64,6 +79,8 @@ View total value of portfolio holdings:
[*] LTC portfolio value: 120.05 USD
[*] XMR portfolio value: 1122.43 USD
[*] XRP portfolio value: 0.00 USD
[*] DASH portfolio value: 0.00 USD
[*] ZEC portfolio value: 0.00 USD

Configure portfolio holdings:

Expand Down
Binary file added docs/icon_2.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion hodl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"instantaneously check cryptocurrency prices"
epilog = "hodl.py: helping you HODL one day at a time :)"
__version__ = "v.1.1.0"
cryptos = ['btc', 'bch', 'eth', 'ltc', 'xmr', 'xrp']
cryptos = ['btc', 'bch', 'eth', 'ltc', 'xmr', 'xrp', 'dash', 'zec']
iso4217codes = ["AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG",
"AZN",
"BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB",
Expand Down
4 changes: 4 additions & 0 deletions hodl/conf/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ eth = 0
ltc = 0
xmr = 0
xrp = 0
dash =0
zec = 0

[portfolio]
btc = 0
Expand All @@ -16,4 +18,6 @@ eth = 0
ltc = 0
xmr = 0
xrp = 0
dash = 0
zec = 0

0 comments on commit acf4ba4

Please sign in to comment.