feat(prices): Rust Tauri command fetch_price + tests (#155) #165
No reviewers
Labels
No labels
autopilot:pending-human
source:analyste
source:defenseur
source:human
source:medic
status:approved
status:blocked
status:in-progress
status:needs-clarification
status:needs-fix
status:ready
status:review
status:triage
type:bug
type:feature
type:infra
type:refactor
type:schema
type:security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: maximus/Simpl-Resultat#165
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-155-rust-fetch-price"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
fetch_price(symbol, date)calling the/v1/pricesendpoint of maximus-apiPriceResponsestruct +FetchPriceErrorenum (Auth, PremiumRequired, SymbolNotFound, RateLimit{retry_after_s}, ProviderUnavailable, Network, Internal)SIMPL_API_URL→MAXIMUS_API_URLacrosssrc-tauri/(consistency with renamed server repo)mockito = 1.6to dev-dependencieslib.rs::run()invoke_handlerdoc_overindented_list_itemsinreturn_calculator.rs,is_multiple_ofinprofile_commands.rs)Test plan
cargo test --lib balance_commands::testsgreen (7 tests)cargo clippy --all-targets -- -D warningscleanSIMPL_API_URLreferences insrc-tauri/fetch_price_innerextracted for testability (no env-var races between concurrent tests)Closes #155
Generated autonomously by /autopilot run of 2026-04-27