Commit Graph

131 Commits (master)

Author SHA1 Message Date
Miguel Mota cbe3557015
Add option for coingecko demo api key 4 weeks ago
Miguel Mota 409479636d
Add coingecko api key option 2 months ago
cui fliter 6a17ed2d3c
fix some typos (#313)
Signed-off-by: cui fliter <imcusg@gmail.com>
2 years ago
Miguel Mota 7c063df60c
Update alt coin link to use braces for template tags 2 years ago
Simon Roberts c735c4a8bb
Merge branch 'cointop-sh:master' into feature/custom-link-url 2 years ago
Vuong 24a4bdedab
Fix CMC Coin ID (#282)
* Fix #297 CMC Coin ID
* Remove unused check

Co-authored-by: Simon Roberts <lyricnz@users.noreply.github.com>
2 years ago
Simon Roberts 9cc10ccdd0
Implement alt-link and bind it to ^o 2 years ago
Vuong fdc9664842
Fix/coin link (#275) 2 years ago
Vuong fee0bd9806
Set key binding if key is Uppercase rune and missing Shift
- Also revert matchEvent func
3 years ago
Vuong 955eb7dcef
Fix search and keybinding when using Shift 3 years ago
Simon Roberts 8b8db3bd13
Minor code style/comment cleanups; remove redundant code (#257)
* Fix comments
* Fix bug with localization param
* Remove unused modules, fix a few minor code style issues
3 years ago
Simon Roberts 9a906c3a68
Migrate from termbox-go to tcell (#232)
Lots of new functionality including:
- mouse support: click select, scroll, menus, table-sorting, etc
- 24-bit color support in themes

Co-authored-by: Simon Roberts <simon.roberts@anz.com>
Co-authored-by: ѵµσɳɠ <3168632+vuon9@users.noreply.github.com>
3 years ago
Simon Roberts e26816b26c
Fix suffix on y-axis for Millions (#259) 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
Simon Roberts acd8af949d
Add configuration for enable_mouse 3 years ago
Simon Roberts 73a00588ba
If $DEBUG_FILE is set, use that rather than /tmp/cointop.log (#236) 3 years ago
Simon Roberts 65bf1394b8
Emit verbose HTTP logging for coingecko when DEBUG_HTTP is set 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
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
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 11bf5e23df
Start working on locale-sensitive date-time formatting 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 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 b986017d6c
DefaultCacheDir = ":PREFERRED_CACHE_HOME:/cointop" (#197) 3 years ago
Simon Roberts 9824c409ad
Feature/code cleanups (#191)
Lots of style/comment/redundancy cleanups. No functional change.
3 years ago
Miguel Mota f375eec1eb
Rename org miguelmota → cointop-sh 3 years ago
Simon Roberts 620e5c737c
Remove debug code 3 years ago
Simon Roberts 6e99e9100f
Add time labels to X axis 3 years ago
Simon Roberts e8fcd4a7a4
Remove interpolateData() 3 years ago
Simon Roberts 370b9f3a56
Fix comments 3 years ago
Simon Roberts 49ac2fbc0f
Ask the chart how many data points it needs 3 years ago
Simon Roberts 065f23eba2
Merge branch 'master' into feature/resample-data 3 years ago
Simon Roberts f38bc4ca3f
Continue from https://github.com/miguelmota/cointop/pull/165 3 years ago
Simon Roberts 26981df6a5
Add currency conversion to Satoshi 3 years ago
Miguel Mota 5f76e89a0b
Optimize Dockerfile #127 3 years ago
Simon Roberts e638040372 When evaluating, take an environment to provide as context 3 years ago
Simon Roberts 0074ecfff9 Patch expression to substitute Float64 for Integer. Update docs to include '/' 3 years ago
Simon Roberts 09b66439fc Switch to github.com/antonmedv/expr for expression evaluation 3 years ago
Miguel Mota b0dd16f813
Unbind forward slash keybinding when not in table view. #150 #149 3 years ago
Miguel Mota 08e81cabb8
Add subpackage for expression string eval 3 years ago
Simon Roberts fcfb0f48fe Add support for 1Y columns - see https://github.com/miguelmota/cointop/issues/131 3 years ago
Patryk Pomykalski ed1bcedf7b Fix filecache locking
Added mutex for map access. Removed mutex for openfile.
3 years ago
Miguel Mota 758e8367f7
Increase number of decimals shown when price < 1. #132 3 years ago
Miguel Mota f127de3048
ssh: Add support for holdings command 3 years ago
Miguel Mota 9fab6bd5b9
File cache fix 3 years ago