Commit Graph

27 Commits (0e956d63582315bb5df836db462105a7a6751441)

Author SHA1 Message Date
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 8ceece82af
Set currency symbol width to rune string width 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 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
Miguel Mota 36729f8ed8
Add an extra space if it is satoshi character because it overlaps text on right 3 years ago
Simon Roberts a73b9ede17 Convert ct.debuglog() to logrus.Debug() 3 years ago
Simon Roberts 79b2fb8ea6 Change hotkey for 1Y change to "y" 3 years ago
Simon Roberts fcfb0f48fe Add support for 1Y columns - see https://github.com/miguelmota/cointop/issues/131 3 years ago
Miguel Mota 3270d12ab8 Fix next/prev column sort 3 years ago
Miguel Mota 7fa0af0fa3 Add 30 day percent change column 3 years ago
Miguel Mota 184ebfb497 Dynamic column widths 3 years ago
Miguel Mota ea93f6b5ca Table alignment fixes 3 years ago
Miguel Mota 093084e859 Full width highlight rows 3 years ago
Miguel Mota 3bc93134c9 Add price alerts table 3 years ago
Miguel Mota cba53fe5d4 Set up price alerts config 3 years ago
Miguel Mota 415b4c1d94 Separate out different tables 3 years ago
Miguel Mota 394d35473d Consolidate UI packages 4 years ago
Vuong 3083dee2bd added sort shortcut for [%]holdings on portfolio 4 years ago
Miguel Mota 52be62a2c1 Add comments 4 years ago
Miguel Mota ca1987a0f8 Return error on update callback 4 years ago
Miguel Mota b61e2fdd84 Update method descriptions 5 years ago
Miguel Mota 5f073fecf9
Navigation bug fixes. Fixes #41 5 years ago
Miguel Mota 592d061ee8
Create view structures 5 years ago
Miguel Mota 4ef4f7aa54
Clean up 5 years ago