Files
workspace/memory/2026-03-13.md

5.2 KiB

Memory - 2026-03-13

TA Service Fix (Mar 2)

  • TA service had hardcoded COINS list in config.py — changed to read from trader_config.json (single source of truth)
  • Now all 29 coins have TA signals in Redis (was 22 before)
  • Restarted coinex-ta-dev.service — confirmed all coins covered

TA Scoring Bug Fix (Mar 6)

  • composite_score from TA is directional: positive=bullish, negative=bearish
  • Dashboard was adding taScore blindly to BOTH long and short scores — wrong
  • Fix: Long combined = base + max(0, taScore), Short combined = base + abs(taScore) when negative
  • isLongSignal/isShortSignal now use combined scores for thresholds
  • Glitch completed fix, build passes, deployed

CoinEx Trader Features Spec (Mar 6)

  • Wrote spec at data/tasks/coinex-scoring-fix-and-features.md
  • Three parts: (1) scoring fix done, (2) trade confirmation page, (3) exchange-side TP/SL
  • D J wants to confirm trades before executing (pending trades queue → approve/reject from UI)
  • D J wants CoinEx native TP/SL orders instead of bot polling every 5min
  • Parts 2 and 3 not yet assigned to Glitch

Cron Optimization (Mar 9)

  • Standup changed from daily → weekly Monday 10 AM
  • Task dispatcher DISABLED (task board empty for days, burning tokens)
  • SPARK idea gen already weekly Monday 10 AM
  • Cuts ~14 empty cron runs per week

VS Code Installed (Mar 5)

  • Installed VS Code 1.110.0 on VM via .deb package

Credit Card Research (Mar 6-10)

  • D J evaluating Delta Reserve Amex: 125K SkyMiles for $6K spend, $650/yr fee
  • Currently has Amex Platinum ($895/yr) — only using ~$700 in credits (airline, digital, Uber)
  • Discussed churning strategy — warned about Amex lifetime rule and popup jail
  • Also researched Aven HELOC card (7.49-14.99% APR, 2% cash back, home equity backed)
  • Both topics shelved for now

Real Estate Analysis (Mar 10-13)

  • D J evaluating $345K new build rental property (3/2, 1,400 sqft)
  • $2K/mo rent, 6.25% rate, 20% down ($75K total cash in)
  • VERDICT: NO-GO — 0.58% rent-to-price ratio (need ≥0.8%), negative cash flow 5+ years
  • Mortgage consumes 89% of effective income
  • Break-even rate needed: 4.57% (current 6.25%)
  • Max price at current rate for break-even: $299K
  • Built detailed Excel: 6 tabs (Executive Summary, Expense Breakdown, 20-Year Cash Flow, vs Alternatives, Risk Scenarios, Break-Even Analysis)
  • Sent 3 versions: dark theme → plain → plain v2 (new build adjusted, 20yr alternatives, everything explained)

Cost Segregation Strategy Analysis

  • D J considering partnership to buy multiple properties with cost seg studies
  • ARI modeled 5-property portfolio over 5 years
  • VERDICT: NO-GO — At >$150K AGI, $0 passive loss deduction against W-2
  • $337,877 in stranded passive losses after 5 years
  • Negative cash flow ALL 5 years (-$3,393 to -$7,471/yr)
  • No material participation assumed (correct for partnership)
  • Built Excel with portfolio model and sent to D J

1% Rule Discussion

  • Explained rent-to-price ratio concept
  • 1% rule nearly impossible in most markets at current rates
  • Modern floor: 0.8% minimum
  • D J's deal at 0.58% is speculation, not investing

Learning Feed App (NEW PROJECT - Mar 13)

  • Concept: Social media-style infinite scroll feed with AI-generated learning posts
  • D J's personal tool — replaces mindless scrolling with knowledge absorption
  • Hijacks dopamine loop: same scroll behavior, educational content instead
  • Spec: data/tasks/learning-feed-spec.md
  • Project: projects/learning-feed/
  • Gitea: https://git.letsgetnashty.com/case/learning-feed (private)
  • Port: 3001
  • Stack: Next.js 16 + Tailwind v4 + Framer Motion + ShadCN + SQLite + Claude Sonnet for content gen
  • Phase 1 MVP delivered by Glitch: Feed page, 3 post types (Quick Fact, Quiz, Deep Dive), 5 seeded topics, fake author system, 40 posts, dark mode, PWA manifest
  • Fixed: better-sqlite3 native module issue — added serverExternalPackages to next.config.ts
  • Phase 2 in progress (Glitch): Topic management UI (add/toggle/delete), Unsplash images on 60-70% of posts, infinite scroll via Intersection Observer
  • Topics: Real Estate Investing, Tax Strategy, Crypto & Blockchain, Personal Finance, US History
  • Dynamic topic expansion planned (engagement-based discovery)
  • Hidden spaced repetition planned (facts resurface as quizzes)
  • D J specifically wants it to NOT feel like studying

Key Insight

  • D J has hard time sitting down to study or remembering without deadlines
  • This app is a personal self-hack: replace social media habit with learning habit
  • Zero activation energy — just open and scroll

Learning Feed Debugging (Mar 13, 4:30 PM)

  • Built successfully — all routes compile (feed, interact, saved, stats, topics APIs + pages)
  • Had port 3001 conflict with stale next-server process (pid 528151) — killed with fuser -k
  • Stale .next cache was serving old "Knowledge Builder" app — full rebuild fixed HTML
  • /api/feed endpoint returning empty response (not valid JSON) — needs investigation
  • HTML page loads but shows "Loading..." (client-side fetch to API failing)
  • Database exists at data/learning-feed.db
  • Need to check /tmp/learning-feed.log for server startup errors
  • Likely issue: API route handler or SQLite connection problem