Commit Graph

411 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
Miguel Mota 7c063df60c
Update alt coin link to use braces for template tags 2 years ago
Miguel Mota bfcce60276
Merge branch 'feature/update-cache-if-coin-struct-changed' of https://github.com/vuon9/cointop into vuon9-feature/update-cache-if-coin-struct-changed 2 years ago
Vuong a52646f479
use gob encoder to get struct hash 2 years ago
Miguel Mota 6e7130c31d
Merge pull request #281 from vuon9/feature/sort-by-view
Ability to have sort col by view
2 years ago
Vuong 2425ac4c88
Improve test for readable purpose 2 years ago
Vuong 4039bc1b08
Improve test for readable purpose 2 years ago
Vuong 06c56b599a
Fix issues of sort by view 2 years ago
Vuong Bui f0b936db9d
#291 refresh cache if coin struct hash changed 2 years ago
Vuong ad95052e02
Fix wrong scope of var (#293)
* Fix wrong scope of var
* Fix some keys couldn't bind
2 years ago
Miguel Mota 60de82342d
Log debug output file if DEBUG set 2 years ago
Miguel Mota 6d671b28ae
Use preferred temp dir for debug log file 2 years ago
Simon Roberts c735c4a8bb
Merge branch 'cointop-sh:master' into feature/custom-link-url 2 years ago
Vuong 2d9b1501c6
Fix parseKeys related to price alert open action (#290)
* Fix parseKeys related to price alert open action

* Trim s before checking length

Co-authored-by: Simon Roberts <lyricnz@users.noreply.github.com>
2 years ago
Vuong 9bffc26035
Fix conversion key triggered in any menu (#289) 2 years ago
Vuong 0339d7f6c3
Fix panic due to using wrong value for key (#285)
Signed-off-by: Vuong <3168632+vuon9@users.noreply.github.com>
2 years ago
Simon Roberts 734345fe5a
Fix comment 2 years ago
Simon Roberts e05acbf95c
Apply strings.ToUpper() to coin.Symbol when creating alt-link 2 years ago
Simon Roberts 9cc10ccdd0
Implement alt-link and bind it to ^o 2 years ago
Vuong 08c7a026cc
Ability to have sort col by view 3 years ago
Vuong fdc9664842
Fix/coin link (#275) 3 years ago
Vuong fee0bd9806
Set key binding if key is Uppercase rune and missing Shift
- Also revert matchEvent func
3 years ago
Vuong d0dea1ff0c
Remove binding key with 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
Miguel Mota 9a9ee307d4
Merge pull request #254 from vuon9/feature/types-4-search-keyword
Support search by /s:keyword - symbol, /n:keyword - name
3 years ago
Simon Roberts 19561ce300
Immediately after changing currency refresh the current coins #178 (#256) 3 years ago
Simon Roberts ac946a7d73
Reduce the number of pages to 10 (1000 coins) to reduce the load on backend... (#255)
* Reduce the number of pages to 10 (1000 coins) to reduce the load on backend, and increase refresh time. See #104 #228

* Add note about --max-pages and --per-page
3 years ago
Vuong f26006823b Remove hasPrefix 3 years ago
ѵµσɳɠ 6ef43d5ba0 Support search by /s:keyword - symbol, /n:keyword - name 3 years ago
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
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
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
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
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 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
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 8ceece82af
Set currency symbol width to rune string width 3 years ago