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

819 Commits

Author SHA1 Message Date
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>
2021-11-07 14:03:54 +11:00
Miguel Mota
9a9ee307d4
Merge pull request #254 from vuon9/feature/types-4-search-keyword
Support search by /s:keyword - symbol, /n:keyword - name
2021-10-29 09:19:38 -07:00
Simon Roberts
e26816b26c
Fix suffix on y-axis for Millions (#259) 2021-10-29 13:51:19 +11:00
Simon Roberts
19561ce300
Immediately after changing currency refresh the current coins #178 (#256) 2021-10-29 13:50:32 +11:00
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
2021-10-29 10:32:26 +11:00
Vuong
dd1c83ee67 Update FAQ for search guide 2021-10-26 08:52:44 +00:00
Vuong
f26006823b Remove hasPrefix 2021-10-26 08:23:32 +00:00
ѵµσɳɠ
6ef43d5ba0 Support search by /s:keyword - symbol, /n:keyword - name 2021-10-25 22:58:56 +07:00
Miguel Mota
b921c091d6
Merge branch 'lyricnz-feature/portfolio-buy2' 2021-10-24 21:58:16 -07:00
Simon Roberts
2acbb39496
Fill in cost_price, cost, pnl, pnl_percent in "cointop holdings" output 2021-10-24 13:24:39 +11:00
Miguel Mota
e99d46b424
portfolio: Fix cost/pnl hidden value if empty text. #243 2021-10-24 12:43:49 +11:00
Miguel Mota
0e956d6358
portfolio: clean up fixes #243 2021-10-24 12:43:37 +11:00
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.
2021-10-24 12:08:58 +11:00
Miguel Mota
0a5ba717d8
Merge pull request #242 from lyricnz/feature/no-mouse
Add configuration for enable_mouse
2021-10-20 20:30:52 -07:00
Miguel Mota
f34eb3ef8f
Merge pull request #237 from lyricnz/bugfix/hide-portfolio-balances
Fix bug with chart Y axis still showing when hidePortfolioBalances
2021-10-20 20:23:24 -07:00
Simon Roberts
acd8af949d
Add configuration for enable_mouse 2021-10-21 07:55:06 +11:00
Simon Roberts
d7cec61e83
When hidePortfolioBalances scale the chart to the maximum price; avoids issue with resampling and using the last value 2021-10-20 10:04:01 +11:00
Simon Roberts
30fa30c057
Use stable sort for sorting coins (#235) 2021-10-18 17:27:08 +11:00
Simon Roberts
73a00588ba
If $DEBUG_FILE is set, use that rather than /tmp/cointop.log (#236) 2021-10-18 16:16:23 +11:00
Simon Roberts
57ca7d8dba
Make default shortcuts editable (#234)
* Add missing actions
* Make default shortcuts editable
2021-10-18 16:16:01 +11:00
Miguel Mota
5064dbf353
Merge pull request #227 from lyricnz/feature/verbose-http-logging
Emit verbose HTTP logging for coingecko when DEBUG_HTTP is set
2021-10-16 09:02:51 -07:00
Miguel Mota
e704e00f74
Merge pull request #225 from lyricnz/feature/show-currency-marketbar
Move currencyConversion out of chartInfo - so it shows when hideChart=true
2021-10-16 09:02:40 -07:00
Simon Roberts
e49211ec71
Update faq.md 2021-10-15 19:57:44 +11:00
Simon Roberts
daf131f21f
Add FAQ about $DEBUG and $DEBUG_HTTP 2021-10-15 14:52:32 +11:00
Simon Roberts
65bf1394b8
Emit verbose HTTP logging for coingecko when DEBUG_HTTP is set 2021-10-15 07:59:41 +11:00
Simon Roberts
751053f185
Revert "Emit verbose HTTP logging for coingecko when DEBUG_HTTP is set"
This reverts commit 042e2184c7.
2021-10-15 07:59:09 +11:00
Simon Roberts
042e2184c7
Emit verbose HTTP logging for coingecko when DEBUG_HTTP is set 2021-10-15 07:57:46 +11:00
Simon Roberts
781b87d95d
Move currencyConversion out of chartInfo - so it shows when hideChart=true 2021-10-14 20:01:07 +11:00
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
2021-10-13 18:38:11 +11:00
Miguel Mota
27ad1a782d
Merge branch 'master' of github.com:cointop-sh/cointop 2021-10-13 00:36:43 -07:00
Miguel Mota
15c7707883
Update CHANGELOG.md 2021-10-13 00:36:33 -07:00
Simon Roberts
b19864014e
After jumping to the right page, search for the right row (#220) 2021-10-13 18:26:12 +11:00
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.
2021-10-13 18:25:46 +11:00
Miguel Mota
4d3291cb55
Merge branch 'master' of github.com:cointop-sh/cointop 2021-10-12 23:56:12 -07:00
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
2021-10-12 17:11:14 +11:00
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
2021-10-12 16:57:04 +11:00
Simon Roberts
04ee0eb5f7
Remove junk \0 from the end of search-string 2021-10-12 08:49:29 +11:00
Simon Roberts
f7d997683f
Minimize diff 2021-10-12 08:44:17 +11:00
Simon Roberts
b19028cca5
Reinstate levenshtein and prefix fallback 2021-10-12 08:41:46 +11:00
Simon Roberts
3add8dcaaf
Replace search function with simpler approach 2021-10-12 08:27:57 +11:00
Simon Roberts
6b6a18d38a
Pass $HTTPS_PROXY to ssh server (#205)
* Pass $HTTPS_PROXY to ssh server
* Emit additional error when failing to set HostKeyFile
2021-10-10 08:26:21 +11:00
Miguel Mota
dfaa8d0c3a
Merge pull request #213 from lyricnz/bugfix/zero-left
Fix edge case with resample min-time
2021-10-09 09:04:19 -07:00
Simon Roberts
e843b79ac1
Merge branch 'cointop-sh:master' into bugfix/zero-left 2021-10-09 16:56:36 +11:00
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
2021-10-09 16:15:58 +11:00
Simon Roberts
bbf4144ebb
Fix edge case with resample min-time 2021-10-09 12:39:42 +11:00
Miguel Mota
b22c040ffb
Merge pull request #211 from cointop-sh/fix/rune-width
Set currency symbol width to rune string width
2021-10-08 17:40:25 -07:00
Miguel Mota
4ba9f52a87
Merge branch 'lyricnz-feature/locale-dates' 2021-10-08 17:34:20 -07:00
Miguel Mota
8ceece82af
Set currency symbol width to rune string width 2021-10-08 17:32:14 -07:00
Simon Roberts
1713392f08
Update comment 2021-10-08 11:46:50 +11:00
Simon Roberts
aece767608
Use new FormatTime for X-axis labels and last_updated 2021-10-08 11:26:35 +11:00