You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Replace mock time-series client with real historical data client #33
Replace the mock time-series data client with a real historical data client selected from the research ticket.
Why
ARGUS needs real historical exchange-rate or market data to calculate meaningful analytics metrics. The mock client was useful for early prototyping, but Sprint 2 should move toward real data workflows.
The existing ExchangeRate API client should remain available for live conversion. The new client should provide historical time-series data for analytics.
Scope
Add a new historical data client based on the selected source
Fetch data for a configurable date range
Return data in a pandas-friendly format
Keep the client independent from GUI code
Handle basic request and response errors
Replace or reduce use of the mock client in analytics workflows
Add tests with mocked HTTP/API responses
Acceptance criteria
Real historical data can be fetched for a date range
Output can be used by pandas-based analytics functions
Existing ExchangeRate API live conversion remains available
Mock client is no longer the main source for analytics data
Activity
feat(#33): add func to get data from yfinance
feat(#33): normalize the dataframe from yfinance
feat(#33): replace mock-client
feat(#33): remove debug prints
refactor(#33): mock client is legacy
test(#33): add a test service
style(#33): ruff reformat
style(#33): unused lib remove
style(#33): remove unused lib
test(#33): add tests for client
style(#33): reformat with ruff
17 remaining items
Revert "docs(#33): update readme"
Revert "docs(#33): add docstrings"
Revert "style(#33): reformat with ruff"
Revert "test(#33): add tests for client"
Revert "style(#33): remove unused lib"
Revert "style(#33): unused lib remove"
Revert "style(#33): ruff reformat"
Revert "test(#33): add a test service"
Revert "refactor(#33): mock client is legacy"
Revert "feat(#33): remove debug prints"
Revert "feat(#33): replace mock-client"
Revert "feat(#33): normalize the dataframe from yfinance"
Revert "feat(#33): add func to get data from yfinance"
fix(#33): yfinance error handeling
fix(#33): ruff error handeling