Overview
The CSV Upload feature allows you to import trading transaction data through an intuitive web interface with drag-and-drop support and real-time processing feedback.Features
Drag & Drop
Drag CSV files directly onto the upload area
Progress Tracking
Real-time progress bar during processing
Upload History
View recent uploads and statistics
Validation
Automatic CSV format and size validation
CSV Format Requirements
Your CSV file must include these columns:| Column | Format | Description |
|---|---|---|
| Date | MM/DD/YYYY | Transaction date |
| Action | Text | Buy, Sell, Cash Dividend, etc. |
| Symbol | Text | Stock ticker |
| Description | Text | Transaction description |
| Quantity | Number | Number of shares (can be empty for dividends) |
| Price | Number | Price per share (can be empty for dividends) |
| Fees & Comm | Number | Trading fees |
| Amount | Number | Total transaction amount |
Example CSV
Upload Process
1
Navigate to Upload Page
Go to
/upload in your application2
Select File
Either drag and drop your CSV file or click to browse
3
Validation
The system validates file type (CSV only) and size (50MB max)
4
Processing
Watch real-time progress updates as the file is processed
5
Completion
View the upload in your history and navigate to the dashboard
Processing Flow
- File uploaded to Flask backend
- Server validation (file type, size)
- Trading analysis script processes CSV
- Database synchronization
- History updated and temp files cleaned up
Security
Authentication
Login required for all uploads
Validation
File type and size validation
Sanitization
Secure filename handling
Cleanup
Automatic temp file removal