Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

DRAFT: Experiments with better resampling algorithms - #210

Draft
lyricnz wants to merge 4 commits into
cointop-sh:masterfrom
lyricnz:feature/better-resample
Draft

DRAFT: Experiments with better resampling algorithms#210
lyricnz wants to merge 4 commits into
cointop-sh:masterfrom
lyricnz:feature/better-resample

Conversation

@lyricnz

@lyricnz lyricnz commented Oct 8, 2021

Copy link
Copy Markdown
Collaborator

Copy LTTB (Largest Triangle Three Buckets) from https://github.com/haoel/downsampling-algorithm and use it for downsampling. See #183

@lyricnz

lyricnz commented Oct 8, 2021

Copy link
Copy Markdown
Collaborator Author

Current (linear interpolation)
linear Screen Shot 2021-10-09 at 10 07 45 am

LTTB:
lttb Screen Shot 2021-10-09 at 10 08 17 am

Noticed anomaly at far left of current resample. Zero value should not be seen.

@lyricnz

lyricnz commented Oct 8, 2021

Copy link
Copy Markdown
Collaborator Author

Screen Shot 2021-10-09 at 10 17 29 am
Same data (different currency, but shape should be same)

@lyricnz

lyricnz commented Oct 9, 2021

Copy link
Copy Markdown
Collaborator Author

Raised #212 for the spurious 0

@miguelmota

Copy link
Copy Markdown
Member

@lyricnz the chart using LTTB downsampling looks great. Are you planning on finalizing this PR?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants