2
0
mirror of https://github.com/miguelmota/cointop synced 2024-11-05 00:00:14 +00:00

Merge branch 'feature/resample-data' of https://github.com/lyricnz/cointop into feature/resample-data

This commit is contained in:
Simon Roberts 2021-09-26 18:54:13 +10:00
commit a2e432bb1b
No known key found for this signature in database
GPG Key ID: 0F30F99E6B771FD4
4 changed files with 54 additions and 8 deletions

View File

@ -4,6 +4,52 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.6.8] - 2021-09-13
### Fixed
- Hide holdings amount when using command hide flag
## [1.6.7] - 2021-09-13
### Added
- Toggle hide portfolio balances keybinding
- Evaluate expression in portfolio value edit field
- Add 1Y% change column
## [1.6.6] - 2021-08-22
### Added
- Default chart range config
### Fixed
- Duplicate coin portfolio entries
- Increase decimals places shown for small values
- Filecache locking
## [1.6.5] - 2021-04-25
### Added
- Chart fullscreen toggle keybinding
- 24% change to holdings command
- Read environment variables for config
## [1.6.4] - 2021-04-25
### Added
- Preferred cache directory
- Read host numeric monetary locale
- Column filter for holdings command
- SSH server user config type
### Fixed
- Config file path
- String rune count
## [1.6.3] - 2021-03-10
### Added
- Max pages flag
- SSH server connection max timeout
### Fixed
- Negative holdings balance input
- Coins and portfolio row selection
- Table scroll
## [1.6.2] - 2021-02-12
### Added
- Config option to keep row focus on sort

View File

@ -110,6 +110,8 @@ See [docs.cointop.sh/faq](https://docs.cointop.sh/faq)
See [docs.cointop.sh/contributing](https://docs.cointop.sh/contributing)
_Many thanks to [Simon Roberts](https://github.com/lyricnz), [Alexis Hildebrandt](https://github.com/afh), and all the [contributors](https://github.com/miguelmota/cointop/graphs/contributors) that made cointop better._
## Social
- Follow on twitter [@cointop](https://twitter.com/cointop)

View File

@ -990,12 +990,9 @@ func (ct *Cointop) PrintHoldings24HChange(options *TablePrintOptions) error {
percentChange24H += n
}
value := strconv.FormatFloat(percentChange24H, 'f', -1, 64)
value := fmt.Sprintf("%.2f", percentChange24H)
if humanReadable {
value = fmt.Sprintf("%.2f%%", percentChange24H)
} else {
value = fmt.Sprintf("%.2f", percentChange24H)
value = fmt.Sprintf("%s%%", value)
}
if format == "csv" {

View File

@ -1,8 +1,9 @@
---
title: "Changelog"
date: 2020-01-01T00:00:00-00:00
title: "Changelog" date: 2020-01-01T00:00:00-00:00
draft: false
---
# Changelog
See [CHANGELOG.md](https://github.com/miguelmota/cointop/blob/master/CHANGELOG.md) on Github.
See [CHANGELOG.md](https://github.com/miguelmota/cointop/blob/master/CHANGELOG.md) on Github for a user-friendly changelog.
See [releases](https://github.com/miguelmota/cointop/releases) on Github for more detailed commit information of each release.