- Complete MVP for tracking Fidelity brokerage account performance - Transaction import from CSV with deduplication - Automatic FIFO position tracking with options support - Real-time P&L calculations with market data caching - Dashboard with timeframe filtering (30/90/180 days, 1 year, YTD, all time) - Docker-based deployment with PostgreSQL backend - React/TypeScript frontend with TailwindCSS - FastAPI backend with SQLAlchemy ORM Features: - Multi-account support - Import via CSV upload or filesystem - Open and closed position tracking - Balance history charting - Performance analytics and metrics - Top trades analysis - Responsive UI design Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
36 lines
861 B
Bash
Executable File
36 lines
861 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Quick transfer script - sends all necessary files to server
|
|
|
|
SERVER="pi@starship2"
|
|
REMOTE_DIR="~/fidelity"
|
|
|
|
echo "Transferring files to $SERVER..."
|
|
echo ""
|
|
|
|
# Critical fix files
|
|
echo "1. Transferring ULTIMATE_FIX.sh..."
|
|
scp ULTIMATE_FIX.sh $SERVER:$REMOTE_DIR/
|
|
|
|
echo "2. Transferring diagnose-307.sh..."
|
|
scp diagnose-307.sh $SERVER:$REMOTE_DIR/
|
|
|
|
echo "3. Transferring docker-compose.yml (with fixed healthcheck)..."
|
|
scp docker-compose.yml $SERVER:$REMOTE_DIR/
|
|
|
|
echo "4. Transferring main.py (without redirect_slashes)..."
|
|
scp backend/app/main.py $SERVER:$REMOTE_DIR/backend/app/
|
|
|
|
echo "5. Transferring README..."
|
|
scp READ_ME_FIRST.md $SERVER:$REMOTE_DIR/
|
|
|
|
echo ""
|
|
echo "✓ All files transferred!"
|
|
echo ""
|
|
echo "Next steps:"
|
|
echo " 1. ssh $SERVER"
|
|
echo " 2. cd ~/fidelity"
|
|
echo " 3. cat READ_ME_FIRST.md"
|
|
echo " 4. ./ULTIMATE_FIX.sh"
|
|
echo ""
|