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
cfc93c92c6
fix: ClearSyncMap pass by reference ( #195 )
3 years ago
Miguel Mota
a07bed9dab
command[clean]: Delete cache_dir from config
3 years ago
Miguel Mota
f375eec1eb
Rename org miguelmota → cointop-sh
3 years ago
Simon Roberts
0bacbe5b9d
Make favorite character configurable ( #190 )
...
* Make favorite character configurable
3 years ago
Simon Roberts
95a31d5488
Save chart height after change.
3 years ago
Simon Roberts
a85fb5ea50
Move maxChartWidth to [chart] section in config. Start working on persistent chart height
3 years ago
Simon Roberts
4fa05a5e88
Use constant for DefaultChartHeight
3 years ago
Simon Roberts
f0631cf2de
The world is not ready for configurable MaxTableWidth
3 years ago
Simon Roberts
caccc13ea0
Move maxChartWidth to ct.State
3 years ago
Simon Roberts
9a270d4b19
Allow configurable max_chart_width (default 175, if 0 use full width)
...
Start working on MaxTableWidth
3 years ago
Simon Roberts
562c5fd3f4
Merge pull request #184 from lyricnz/feature/x-labels
...
Show X axis labels on charts
3 years ago
Simon Roberts
5ef09ea40a
Handle 0/1 data items returned before resampling
3 years ago
Simon Roberts
2f616e2c35
When we are not aggregating multiple prices, use the oldest data available as the left hand side of chart, not the requested start.
3 years ago
Simon Roberts
72d2c997f5
Set "All Time" to 10 Years
3 years ago
Simon Roberts
9d8843389d
Use more accurate Duration for Year and Month ranges
3 years ago
Simon Roberts
6e99e9100f
Add time labels to X axis
3 years ago
Simon Roberts
370b9f3a56
Fix comments
3 years ago
Simon Roberts
a2e432bb1b
Merge branch 'feature/resample-data' of https://github.com/lyricnz/cointop into feature/resample-data
3 years ago
Simon Roberts
49ac2fbc0f
Ask the chart how many data points it needs
3 years ago
Simon Roberts
162e6cd442
Merge branch 'miguelmota:master' into feature/resample-data
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
Miguel Mota
b6c0579b38
Remove redundant line. #166
3 years ago
Miguel Mota
6a02661dc6
Merge branch 'feature/duplicate-symbols-cache-fix' of https://github.com/lyricnz/cointop into lyricnz-feature/duplicate-symbols-cache-fix
3 years ago
Miguel Mota
72805843c9
Merge branch 'bugfix/hide-portfolio-balances' of https://github.com/lyricnz/cointop into lyricnz-bugfix/hide-portfolio-balances
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
9c86ae5de7
Use common function to generate cache keys, and fix GlobalMarketData vs Conversion caching bug
3 years ago
Simon Roberts
26981df6a5
Add currency conversion to Satoshi
3 years ago
Simon Roberts
f2bab24d11
Remove portfolio balance from chart X-axis too
...
Hide percentChange24H when in hidePortfolioBalances mode
Update portfolio balances (private mode) screenshot
Scale portfolio chart (in hide-balances mode) so current-value is 1.0
3 years ago
Miguel Mota
83a35df5c4
Hide all holding amounts when hidden flag toggled
3 years ago
Miguel Mota
1d29363185
Add keybinding to toggle hide portfolio balances
3 years ago
Simon Roberts
dfc5ce4f21
Remove unused variable
3 years ago
Simon Roberts
f7a145a002
Fix another printf log
3 years ago
Simon Roberts
6e979f0bf9
Remove leftover code
3 years ago
Simon Roberts
32990cdbaf
Remove downsample code (feature WIP)
3 years ago
Simon Roberts
c5445c6ffc
One log.Debugf() required
3 years ago
Simon Roberts
a73b9ede17
Convert ct.debuglog() to logrus.Debug()
3 years ago
Miguel Mota
a86077e77e
Update debuglog method names
3 years ago
Simon Roberts
6d90edfefd
Pass the current coin as context!
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
Miguel Mota
1f0f6d39d6
Merge branch 'simon-anz-feature/value-expressions'
3 years ago
Miguel Mota
fb79419c84
Only open search if active view is table. #150
3 years ago
Miguel Mota
271cf90460
Merge branch 'feature/value-expressions' of https://github.com/simon-anz/cointop into simon-anz-feature/value-expressions
3 years ago
Miguel Mota
296590b466
Merge branch 'feature/30d-and-1y-change' of https://github.com/simon-anz/cointop into simon-anz-feature/30d-and-1y-change
3 years ago
Simon Roberts
79b2fb8ea6
Change hotkey for 1Y change to "y"
3 years ago
Simon Roberts
b23e65cf28
Use govaluate to evaluate expressions in portfolio entry
3 years ago
Simon Roberts
fcfb0f48fe
Add support for 1Y columns - see https://github.com/miguelmota/cointop/issues/131
3 years ago