Commit Graph

18 Commits (b921c091d6f882b6c34cdde15e846f7ffd44ea6d)

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
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 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
Simon Roberts 26981df6a5
Add currency conversion to Satoshi 3 years ago
Simon Roberts fcfb0f48fe Add support for 1Y columns - see https://github.com/miguelmota/cointop/issues/131 3 years ago
Miguel Mota faabbfc8a6 Add max pages flag 3 years ago
Miguel Mota 0a0530de5a Add option to keep row focus on sort 3 years ago
Miguel Mota a9473e354c Fix coin name to ID lookup. #81 3 years ago
Miguel Mota 7fa0af0fa3 Add 30 day percent change column 3 years ago
Miguel Mota d8cbc89e5c Add additional currency conversions 3 years ago
Miguel Mota 68ff8ecfb7 Format fixes 3 years ago
Miguel Mota cba53fe5d4 Set up price alerts config 3 years ago
Miguel Mota 394d35473d Consolidate UI packages 4 years ago
Miguel Mota 6eb6236104 closes #24 5 years ago
Miguel Mota 22d551b3b4 add config, clean, and reset flags 5 years ago