Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
6eac68f
feat: add price history scraper and initial data
twirtle2 Feb 22, 2026
1b12032
feat: add fiat overlay to rewards history chart
twirtle2 Feb 22, 2026
9fe5465
feat: add scheduled workflow for price updates
twirtle2 Feb 22, 2026
7cfb681
Restructure Price Impact Analysis: stacked layout, improved legend sp…
twirtle2 Feb 22, 2026
1a8ee07
feat: set up github pages deployment
twirtle2 Feb 22, 2026
31ff19a
chore: fix deploy.yml syntax and add branch trigger
twirtle2 Feb 22, 2026
0e42050
chore: revert github pages config and switch to cloudflare pages
twirtle2 Feb 22, 2026
7090567
chore: add wrangler.jsonc to fix cloudflare build
twirtle2 Feb 23, 2026
a308a99
chore: trigger update-prices on push to feature branch for visibility
twirtle2 Feb 23, 2026
da11e4e
chore: add diagnostics to price update flow
twirtle2 Feb 23, 2026
35d78ff
chore: switch pricing source to MEXC to bypass regional blocks
twirtle2 Feb 23, 2026
6a740fa
chore: update algo price history [skip ci]
actions-user Feb 23, 2026
8102627
chore: sync local price history update
twirtle2 Feb 23, 2026
78096dc
chore: add wrangler to devDependencies to fix cloudflare build
twirtle2 Feb 23, 2026
61b82bc
chore: sync package-lock.json with package.json
twirtle2 Feb 23, 2026
5cf938e
Align timezone handling to UTC across pricing script and frontend
twirtle2 Feb 23, 2026
820350a
Fix TypeScript any types in Recharts tooltips
twirtle2 Feb 23, 2026
f78209b
Apply Prettier formatting to chart components
twirtle2 Feb 23, 2026
12cdda7
chore: fix prettier formatting for ci
twirtle2 Feb 23, 2026
2837844
Merge pull request #1 from twirtle2/codex/fix-prettier-ci
twirtle2 Feb 23, 2026
bec722c
Clamp reward scatter x-axis to actual receipt dates
twirtle2 Feb 23, 2026
544dec2
Add x-axis padding to prevent clipped scatter points
twirtle2 Feb 23, 2026
4b257c1
Add fixed x-axis padding to avoid bubble edge clipping
twirtle2 Feb 23, 2026
57a407e
Clamp reward scatter x-axis to actual receipt dates
twirtle2 Feb 23, 2026
03ff61a
chore: update algo price history [skip ci]
actions-user Feb 24, 2026
43b4d9b
Merge remote-tracking branch 'origin/main' into feat/fiat-price-overlay
twirtle2 Feb 24, 2026
2418ffe
fix: align price updates to UTC close boundary
twirtle2 Feb 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/update-prices.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Update Price History

on:
schedule:
# Run at 00:00 UTC so new closed daily candles are picked up at UTC day boundaries.
- cron: "0 0 * * *"
push:
branches: [main, feat/fiat-price-overlay]
pull_request:
branches: [main]
workflow_dispatch:

jobs:
update-prices:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: true

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
cache: "npm"

- name: Install dependencies
run: npm install

- name: Fetch new prices
run: npm run fetch-prices

- name: Commit and push changes
run: |
git config --local user.email "action@github.com"
git config --local user.name "github-actions[bot]"
git status
if ! git diff --quiet src/data/algo-price-history.json; then
echo "Changes detected, committing..."
git add src/data/algo-price-history.json
git commit -m "chore: update algo price history [skip ci]"
git push origin HEAD:${{ github.ref_name }}
else
echo "No new price data found."
fi
Loading