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

TEP-1015: price data #62

Merged
merged 39 commits into from
Feb 9, 2025
Merged

TEP-1015: price data #62

merged 39 commits into from
Feb 9, 2025

Conversation

35VLG84
Copy link
Collaborator

@35VLG84 35VLG84 commented Feb 9, 2025

This TEP-1015 adds Price data support to Tackler

Thank you @RagibHasin for the idea of historic price data analysis and contributing ideas, discussion and code for actual implementation. This contribution is very much appreciated - thank you!

closes GH-36

35VLG84 and others added 30 commits December 30, 2024 17:20
GH-36

[skip ci]

Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
[skip ci]

Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
GH-40

Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
* Historic price data
* Inverted prices
* Price conversion chains

Clarified PriceEntry

Add future ideas about reporting date for prices

Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
Add Muhammad Ragib Hasin to Contributors

Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
This is jiff

Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
Known issue:
  * First column of register report is not converted
Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
price-{00,01,02,03,05}

GH-36

Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
GH-36

Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
* [ ] cli-arguments
  ** [x] `--price.db-path`
  ** [x] `--price.lookup-type`
  ** [x] `--price.before`
  ** [ ] `--report.commodity`
* [ ] tackler.toml
  ** [x] `price.db-path`
  ** [x] `price.lookup-type`
  ** [ ] `report.commodity`

Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
* [x] cli-arguments
   ** [x] `--price.db-path`
   ** [x] `--price.lookup-type`
   ** [x] `--price.before`
   ** [x ] `--report.commodity`
 * [x] tackler.toml
   ** [x] `price.db-path`
   ** [x] `price.lookup-type`
   ** [x] `report.commodity`

Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
WIP: Register report is still not correct

Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
This has no real impact either way, but be more consistent in style.

Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
WIP: The commodity metadata  is still missing,
     and some formatting is off.

#36

Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
Push price related configuration to Settings.
Refactor report settings to kernel-level module, next to the settings.

Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
[skip ci]

Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
Don't cache commodities when there isn't conversion available.

Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
#36

Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
Signed-off-by: 35V LG84 <35vlg84-x4e6b92@e257.fi>
@35VLG84 35VLG84 merged commit 1c3fedc into main Feb 9, 2025
8 checks passed
@35VLG84 35VLG84 deleted the tep/tep-1015-price-data branch February 9, 2025 08:01
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.

[DISCUSSION] Historical price analysis and unit conversion in report
2 participants