Skip to content

fix(finance): chart data (connected Alpaca + Yahoo fallback) + button padding#109

Merged
ralyodio merged 1 commit into
masterfrom
fix/finance-charts-yahoo-alpaca-padding
Jun 17, 2026
Merged

fix(finance): chart data (connected Alpaca + Yahoo fallback) + button padding#109
ralyodio merged 1 commit into
masterfrom
fix/finance-charts-yahoo-alpaca-padding

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

Charts were blank (Stooq now bot-blocked, no prod market-data keys). Use the user's connected Alpaca keys for candles/quotes, add a keyless Yahoo provider as default+fallback, and restore button padding lost in the Tailwind v4 migration.

…+ button padding

- Charts were blank: the keyless Stooq source now returns an anti-bot challenge
  instead of CSV, and no app-level market-data keys are set in prod.
- Prefer the user's CONNECTED Alpaca keys for candles/quotes (getActiveBrokerCreds
  + getMarketDataProviderForProfile), matching the keys they entered.
- Add a keyless Yahoo provider (verified working) as the default + fallback, so the
  chart renders even if Alpaca data access fails (candles/quote routes fall back).
- globals.css: the Tailwind v4 `@utility btn` lost its padding in the v3->v4
  migration — restore `px-4 py-2` (+ gap-2) so all buttons aren't cramped.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ralyodio ralyodio merged commit a884a53 into master Jun 17, 2026
@github-actions

Copy link
Copy Markdown

vu1nz Security Review

0 finding(s) in PR #?

No security issues found.

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.

1 participant