Commit Graph

810 Commits (2acbb39496584015059522932b97bbe20bb520e6)
 

Author SHA1 Message Date
Simon Roberts 2acbb39496
Fill in cost_price, cost, pnl, pnl_percent in "cointop holdings" output 3 years ago
Miguel Mota e99d46b424
portfolio: Fix cost/pnl hidden value if empty text. #243 3 years ago
Miguel Mota 0e956d6358
portfolio: clean up fixes #243 3 years ago
Simon Roberts b5b68833f5
Add support for purchase price/currency to portfolio (#243)
* Add support for declaring a BuyPrice and BuyCurrency in portfolio.
eg: ["Algorand", "125.4", "0.8", "USD"]

Add optional (default off) columns to portfolio:
"buy_price", "buy_currency", "profit", "profit_percent"

Note: there is no UI for entering this yet.
3 years ago
Miguel Mota 0a5ba717d8
Merge pull request #242 from lyricnz/feature/no-mouse
Add configuration for enable_mouse
3 years ago
Miguel Mota f34eb3ef8f
Merge pull request #237 from lyricnz/bugfix/hide-portfolio-balances
Fix bug with chart Y axis still showing when hidePortfolioBalances
3 years ago
Simon Roberts acd8af949d
Add configuration for enable_mouse 3 years ago
Simon Roberts d7cec61e83
When hidePortfolioBalances scale the chart to the maximum price; avoids issue with resampling and using the last value 3 years ago
Simon Roberts 30fa30c057
Use stable sort for sorting coins (#235) 3 years ago
Simon Roberts 73a00588ba
If $DEBUG_FILE is set, use that rather than /tmp/cointop.log (#236) 3 years ago
Simon Roberts 57ca7d8dba
Make default shortcuts editable (#234)
* Add missing actions
* Make default shortcuts editable
3 years ago
Miguel Mota 5064dbf353
Merge pull request #227 from lyricnz/feature/verbose-http-logging
Emit verbose HTTP logging for coingecko when DEBUG_HTTP is set
3 years ago
Miguel Mota e704e00f74
Merge pull request #225 from lyricnz/feature/show-currency-marketbar
Move currencyConversion out of chartInfo - so it shows when hideChart=true
3 years ago
Simon Roberts e49211ec71
Update faq.md 3 years ago
Simon Roberts daf131f21f
Add FAQ about $DEBUG and $DEBUG_HTTP 3 years ago
Simon Roberts 65bf1394b8
Emit verbose HTTP logging for coingecko when DEBUG_HTTP is set 3 years ago
Simon Roberts 751053f185
Revert "Emit verbose HTTP logging for coingecko when DEBUG_HTTP is set"
This reverts commit 042e2184c7.
3 years ago
Simon Roberts 042e2184c7
Emit verbose HTTP logging for coingecko when DEBUG_HTTP is set 3 years ago
Simon Roberts 781b87d95d
Move currencyConversion out of chartInfo - so it shows when hideChart=true 3 years ago
Simon Roberts 68fd858304
Change "0" to go to top coin on first page (#218)
* Add new action move_to_first_page_first_row which goes to the first coin on the first page. Bind to "0" by default, replacing first_page
3 years ago
Miguel Mota 27ad1a782d
Merge branch 'master' of github.com:cointop-sh/cointop 3 years ago
Miguel Mota 15c7707883
Update CHANGELOG.md 3 years ago
Simon Roberts b19864014e
After jumping to the right page, search for the right row (#220) 3 years ago
Simon Roberts 9fa50063e0
Allow duplicate-Symbol entries in portfolio again (#222)
* Revert PR 138 - no longer needed since PR 219 and prevents duplicate-symbol portfolio
* Rather than creating a PortfolioEntry for EVERY coin, and throwing 99% of them away, just create the PE for our actual portfolio.
3 years ago
Miguel Mota 4d3291cb55
Merge branch 'master' of github.com:cointop-sh/cointop 3 years ago
Simon Roberts e409a0bdde
Improvements to search mechanism (#216)
* Enable repeated search using empty search expression (`/` then `<enter>`)
* Quick note about how to repeat-search in the FAQ
3 years ago
Simon Roberts da06d5ef14
Remove fallback to coin.Symbol when loading portfolio. Remove deprecated favoritesBySymbol. (#219)
* Remove fallback to coin.Symbol when loading portfolio (use coin.Name)
* Remove deprecated favoritesBySymbol
3 years ago
Simon Roberts 04ee0eb5f7
Remove junk \0 from the end of search-string 3 years ago
Simon Roberts f7d997683f
Minimize diff 3 years ago
Simon Roberts b19028cca5
Reinstate levenshtein and prefix fallback 3 years ago
Simon Roberts 3add8dcaaf
Replace search function with simpler approach 3 years ago
Simon Roberts 6b6a18d38a
Pass $HTTPS_PROXY to ssh server (#205)
* Pass $HTTPS_PROXY to ssh server
* Emit additional error when failing to set HostKeyFile
3 years ago
Miguel Mota dfaa8d0c3a
Merge pull request #213 from lyricnz/bugfix/zero-left
Fix edge case with resample min-time
3 years ago
Simon Roberts e843b79ac1
Merge branch 'cointop-sh:master' into bugfix/zero-left 3 years ago
Simon Roberts cf5270623d
Fix global chart always showing in USD, and add current currency to chart name (#209)
* Use exchange-rates to convert GlobalMarketGraphData
* Ask for global data in usd just in case it starts working again :)
* Include currency conversion in chart title #207
* Better error handling
3 years ago
Simon Roberts bbf4144ebb
Fix edge case with resample min-time 3 years ago
Miguel Mota b22c040ffb
Merge pull request #211 from cointop-sh/fix/rune-width
Set currency symbol width to rune string width
3 years ago
Miguel Mota 4ba9f52a87
Merge branch 'lyricnz-feature/locale-dates' 3 years ago
Miguel Mota 8ceece82af
Set currency symbol width to rune string width 3 years ago
Simon Roberts 1713392f08
Update comment 3 years ago
Simon Roberts aece767608
Use new FormatTime for X-axis labels and last_updated 3 years ago
Simon Roberts 9e910402f5
New method to format date-time in locale and LC_TIME sensitive way 3 years ago
Simon Roberts 1cf12fd173
Add github.com/jeandeaual/go-locale for locale-detection across platform 3 years ago
Simon Roberts 11bf5e23df
Start working on locale-sensitive date-time formatting 3 years ago
Simon Roberts 1a5b4a5a09
Merge branch 'feature/locale-dates' of https://github.com/lyricnz/cointop into feature/locale-dates 3 years ago
Simon Roberts 3b37cc34c3
Scale large numbers by adding Million Billion Trillion suffix (#200)
Add option for scaling Thousand Million Billion Trillion numbers by adding suffix.
3 years ago
Simon Roberts 24f1286067
Add github.com/goodsign/monday for locale-specific date formatting 3 years ago
Simon Roberts e1aded93e8
More minor cleanups (no functional change) (#198)
* Redundant type conversions

* Remove redudant type declarations. Inline one-line constructors. Remove unnecessary brackets.

* Simplify name - it's used via package name anyway

* Simplify variable initializations

* Change `var x uint = Y` to `x := uint(Y)`

* More shorthand initialization
3 years ago
Simon Roberts ff24fb3b69
Add simple test workflow (#201)
* Add simple test workflow

* main->master
3 years ago
sgmoore 8651b20735
Update install.md (#202)
Spelling fix at lines 10 and 72
3 years ago