Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Price repair: improve 'sudden change' repair for splits & currency #1931

Merged
merged 1 commit into from
May 19, 2024

Conversation

ValueRaider
Copy link
Collaborator

@ValueRaider ValueRaider commented May 13, 2024

Original logic for repairing missing split adjustment only checked latest split.
Improved logic checks ALL splits in data, because any can be missing.

Then related changes to 'sudden change detection':

@ValueRaider ValueRaider mentioned this pull request May 13, 2024
@ValueRaider ValueRaider force-pushed the feature/improve-price-repair-bad-splits branch 2 times, most recently from d4869c1 to 036f393 Compare May 19, 2024 10:31
Original logic for repairing missing split adjustment only checked latest split.
Improved logic checks ALL splits in data, because any can be missing.

Then related changes to 'sudden change detection':
- use prices median not mean, reduce sensitivity to noise.
- handle Kuwait Dinar, which sub-divides into 1000x not 100x.
@ValueRaider ValueRaider force-pushed the feature/improve-price-repair-bad-splits branch from 036f393 to 97f35b7 Compare May 19, 2024 10:39
@ValueRaider ValueRaider changed the title Price repair: improve missing split adjustment Price repair: improve 'sudden change' repair for splits & currency May 19, 2024
@ValueRaider ValueRaider marked this pull request as ready for review May 19, 2024 10:40
@ValueRaider ValueRaider merged commit da1c466 into dev May 19, 2024
1 check passed
@ValueRaider ValueRaider deleted the feature/improve-price-repair-bad-splits branch May 19, 2024 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant