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

771 Commits

Author SHA1 Message Date
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
Simon Roberts
9e910402f5
New method to format date-time in locale and LC_TIME sensitive way 2021-10-08 11:20:11 +11:00
Simon Roberts
1cf12fd173
Add github.com/jeandeaual/go-locale for locale-detection across platform 2021-10-08 08:36:00 +11:00
Simon Roberts
11bf5e23df
Start working on locale-sensitive date-time formatting 2021-10-07 08:06:58 +11:00
Simon Roberts
1a5b4a5a09
Merge branch 'feature/locale-dates' of https://github.com/lyricnz/cointop into feature/locale-dates 2021-10-07 08:04:06 +11:00
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.
2021-10-07 08:02:21 +11:00
Simon Roberts
24f1286067
Add github.com/goodsign/monday for locale-specific date formatting 2021-10-06 19:04:38 +11:00
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
2021-10-05 08:01:42 +11:00
Simon Roberts
ff24fb3b69
Add simple test workflow (#201)
* Add simple test workflow

* main->master
2021-10-04 16:49:53 +11:00
sgmoore
8651b20735
Update install.md (#202)
Spelling fix at lines 10 and 72
2021-10-04 14:39:40 +11:00
Simon Roberts
95c2973657
Make direct links to docs site (#194)
* Make direct links to docs site

* Fix getting-started link
2021-10-03 16:33:10 +11:00
Simon Roberts
b986017d6c
DefaultCacheDir = ":PREFERRED_CACHE_HOME:/cointop" (#197) 2021-10-03 16:31:50 +11:00
Simon Roberts
9824c409ad
Feature/code cleanups (#191)
Lots of style/comment/redundancy cleanups. No functional change.
2021-10-01 17:03:36 +10:00
Miguel Mota
cfc93c92c6
fix: ClearSyncMap pass by reference (#195) 2021-10-01 17:02:31 +10:00
Miguel Mota
9b03adc2bc
Merge pull request #192 from cointop-sh/fix/clean-cache-dir
fix: Delete cache_dir from config when using clean/reset commands
2021-09-30 22:50:08 -07:00
Miguel Mota
d9bab7d3c2
Rename org miguelmota → cointop-sh 2021-09-30 14:19:50 -07:00
Miguel Mota
a07bed9dab
command[clean]: Delete cache_dir from config 2021-09-30 00:25:42 -07:00
Miguel Mota
f375eec1eb
Rename org miguelmota → cointop-sh 2021-09-29 23:17:58 -07:00
Simon Roberts
0bacbe5b9d
Make favorite character configurable (#190)
* Make favorite character configurable
2021-09-30 11:11:21 +10:00
Simon Roberts
cc325b9d4e
Merge pull request #189 from lyricnz/feature/full-width
#129 Allow configurable max_chart_width (default 175, if 0 use full width)
2021-09-30 08:12:58 +10:00
Simon Roberts
95a31d5488
Save chart height after change. 2021-09-30 07:43:09 +10:00
Simon Roberts
a85fb5ea50
Move maxChartWidth to [chart] section in config. Start working on persistent chart height 2021-09-29 13:18:55 +10:00
Simon Roberts
4fa05a5e88
Use constant for DefaultChartHeight 2021-09-29 13:18:05 +10:00
Simon Roberts
f0631cf2de
The world is not ready for configurable MaxTableWidth 2021-09-29 08:51:17 +10:00
Simon Roberts
caccc13ea0
Move maxChartWidth to ct.State 2021-09-29 08:47:42 +10:00
Simon Roberts
9a270d4b19
Allow configurable max_chart_width (default 175, if 0 use full width)
Start working on MaxTableWidth
2021-09-28 18:20:08 +10:00
Simon Roberts
562c5fd3f4
Merge pull request #184 from lyricnz/feature/x-labels
Show X axis labels on charts
2021-09-28 08:23:54 +10:00
Simon Roberts
5ef09ea40a
Handle 0/1 data items returned before resampling 2021-09-28 08:00:38 +10:00
Miguel Mota
a260925900
Merge pull request #186 from lyricnz/bugfix/chart-time-ranges
Use more accurate Duration for Year and Month ranges
2021-09-27 10:53:06 -07:00
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. 2021-09-27 20:04:17 +10:00
Simon Roberts
72d2c997f5
Set "All Time" to 10 Years 2021-09-27 19:52:13 +10:00
Simon Roberts
9d8843389d
Use more accurate Duration for Year and Month ranges 2021-09-27 14:09:26 +10:00
Simon Roberts
620e5c737c
Remove debug code 2021-09-27 08:28:42 +10:00
Simon Roberts
6e99e9100f
Add time labels to X axis 2021-09-27 08:21:24 +10:00
Simon Roberts
c0c514ba3f
Merge pull request #180 from lyricnz/feature/resample-data
Resample portfolio data to consistent time-interval before charting
2021-09-26 19:53:04 +10:00
Simon Roberts
e8fcd4a7a4
Remove interpolateData() 2021-09-26 19:50:26 +10:00
Simon Roberts
ec55f0df03
Merge branch 'miguelmota:master' into feature/resample-data 2021-09-26 19:29:12 +10:00
Simon Roberts
370b9f3a56
Fix comments 2021-09-26 19:27:27 +10:00
Miguel Mota
d4b6afa077
Merge pull request #181 from miguelmota/bugfix/changlog
fix typo in changelog
2021-09-26 02:12:12 -07:00
Simon Roberts
f81ca9ede8
fix typo in changelog 2021-09-26 19:00:06 +10:00
Simon Roberts
a2e432bb1b
Merge branch 'feature/resample-data' of https://github.com/lyricnz/cointop into feature/resample-data 2021-09-26 18:54:13 +10:00
Simon Roberts
49ac2fbc0f
Ask the chart how many data points it needs 2021-09-26 18:53:25 +10:00
Simon Roberts
162e6cd442
Merge branch 'miguelmota:master' into feature/resample-data 2021-09-26 18:43:37 +10:00
Simon Roberts
065f23eba2
Merge branch 'master' into feature/resample-data 2021-09-26 18:43:13 +10:00
Simon Roberts
f38bc4ca3f
Continue from https://github.com/miguelmota/cointop/pull/165 2021-09-26 18:41:03 +10:00
Miguel Mota
b6c0579b38
Remove redundant line. #166 2021-09-26 00:47:40 -07:00
Miguel Mota
d17bda59f8
README: Add contributor thanks 2021-09-26 00:37:10 -07:00
Miguel Mota
e5360472d1
Update CHANGELOG.md 2021-09-26 00:31:11 -07:00
Miguel Mota
ac9a4d44cc
Merge branch 'lyricnz-feature/duplicate-symbols-cache-fix' 2021-09-25 23:58:38 -07:00