Skip to main content

CSV Mock Data Generator

Generate realistic mock financial transaction data for testing.

Arguments

  • $1: type - "raw" or "normalized"
  • $2: month - "january", "february", etc.
  • $3: year - "2026"
  • $4: account_name - "checkings", "savings", etc.

Output Formats

Raw CSV (Bank Export Style)

Date,Description,Withdrawals,Deposits,Category,Balance
"01/31/2026","DEBIT CARD PURCHASE Amazon Prime*KV2819","$148.32","","Subscriptions","$42,156.78"

Normalized CSV (Standard)

date,description,category,deposit,withdrawal,balance,account_name
2026-01-31,Amazon Prime Subscription,,148.32,,42156.78,checkings

Transaction Types

Generate 50-100 transactions including:

  • Regular income (paycheck deposits)
  • Recurring bills (rent, utilities, subscriptions)
  • Food (groceries, restaurants)
  • Engineering tools (Cursor, OpenAI, Anthropic)
  • Entertainment subscriptions
  • Random purchases (Amazon)
  • Transfers between accounts

Category Mappings

KeywordsCategory
CURSOR, OPENAI, ANTHROPIC, GOOGLE CLOUDengineering
TRADINGVIEWtrading
grocery, restaurantfood
RENT, utilitiesbills
NETFLIX, SPOTIFYentertainment
AMAZON, AMZNamazon
Prime, recurringsubscriptions
VENMO, ZELLEtransfers
PAYCHECK, salaryincome

Workflow

  1. Parse arguments
  2. Determine output directory
  3. Create directory if needed
  4. Generate realistic transactions
  5. Write CSV file
  6. Stop hook validates output

Usage

/finance-mock-generator raw january 2026 checkings
/finance-mock-generator normalized february 2026 savings