Investment Schedule Tracker

Define a recurring investment plan, ingest real trades, and watch loan‑health and performance update — powered by Lambda, DynamoDB, and a lightweight Eleventy + Alpine.js UI.

Published on Nov 11, 2025

Table of Contents

    Context & Goals

    The investor needed a single place to model recurring buys funded from a Whole Life policy’s cash value, then compare actual performance (trades and transfers) against policy cost.

    Key Capabilities

    • Schedule modeling: total vs. monthly investment, per‑asset % allocation, start/end dates, and optional auto‑compound settings.
    • Event ledger: BUY, REINVEST_REWARDS, STAKE_DEPOSIT, TRANSFER_OUT with notes and metadata.
    • Kraken import: endpoints map trades and withdrawals into normalized events with fees and price at creation.
    • Loan health: server‑computed totals (invested, rewards, interest, unrealized P/L) rendered in the dashboard.
    • Backfill: fill in missing events for a schedule/date range (idempotent), or run a daily scheduler to plan due actions.

    Stack

    • UI: Eleventy + Tailwind with Alpine.js for a lightweight dashboard.
    • APIs: AWS Lambda behind API Gateway (JWT auth via Cognito); common helpers for schedules, events, pricing, and metrics.
    • Data: DynamoDB single‑table design for schedules/events; assets list from SSM Parameter Store.
    • Auth: Cognito hosted UI and token refresh flow; investor role gates access.

    Status

    Private client build. Demo available on request (sample data only).

    Share this article: