A modern, web-based trading journal application for systematic trade documentation, performance analysis, and thesis tracking. Built for traders who want to improve their decision-making through disciplined journaling and data-driven insights.
This trading journal helps traders document their trades, track investment theses, and analyze performance over time. With a clean, modern interface and powerful analytics, it provides the tools needed to become a more systematic and successful trader.
- Multi-step Trade Entry: Comprehensive trade documentation with pre-trade analysis, entry details, and post-trade review
- Trade List & Filtering: View, search, and filter trades with advanced sorting options
- Trade Detail View: Deep dive into individual trades with timeline visualization
- Screenshot Attachments: Visual documentation of chart setups and trade conditions
- Export to Markdown: Export trade data for external analysis
- Quarterly Thesis Documentation: Track your market outlook and investment thesis each quarter
- Version History: See how your thinking evolved over time
- Trade-to-Thesis Linking: Connect trades to your broader market thesis
- Thesis Comparison: Compare theses across different quarters
- Performance Charts: Visualize P&L over time with interactive charts
- Trade Statistics: Win rate, average return, total trades, and more
- Custom Date Ranges: Filter analytics by specific time periods
- Full-text Search: Search across all trades and theses
- Dark/Light Themes: Multiple professional themes including Cosmic Dark, Arctic Light, Sunset, Matrix, and Synthwave
- Responsive Design: Works seamlessly on desktop and mobile
- Smooth Animations: Powered by Framer Motion for fluid interactions
- Glass Morphism Effects: Modern, professional aesthetic
We're actively developing integration with Hyperliquid, a decentralized exchange, to bring real-time trading data directly into your journal:
- Automatic Trade Import: Pull your trades from Hyperliquid automatically
- Live Position Tracking: Monitor your open positions in real-time
- Trade Annotation: Add thesis, entry/exit plans, and notes to your DEX trades
- Pre-Trade Planning: Document your thinking before entering a position
- Exit Strategy Management: Define and track your exit conditions
- Risk Management: Set and monitor stop losses and take profit levels
- Performance Sync: Automatic P&L calculation synced with your DEX activity
This integration will allow you to:
- View your Hyperliquid trades in the journal
- Add detailed analysis and thesis to each trade
- Plan entries and exits before execution
- Track emotional state and decision-making process
- Compare planned vs. actual execution
- Improve trading discipline through systematic documentation
- Frontend Framework: React 18.3 with TypeScript 5.5
- Build Tool: Vite 7.0
- State Management: Zustand 5.0
- Styling: Tailwind CSS 4.1 with custom financial theme
- UI Components: shadcn/ui with Radix UI primitives
- Animations: Framer Motion 12
- Charts: Recharts 3.1
- Form Management: React Hook Form 7.61 + Zod 4.0 validation
- Search: Fuse.js 7.1 for fuzzy search
- Routing: React Router 7.7
- Rich Text: TipTap 3.0
- Professional: Clean, modern interface that looks like a premium application
- Data-Dense: Display lots of information clearly without overwhelming
- Financial Theme: Clear profit/loss visualization with green/red color coding
- Fast & Responsive: Smooth animations, quick search, optimized performance
- Offline-First: All data stored locally for privacy and speed
# Clone the repository
git clone https://github.com/damskyftw/tradingjournal.git
# Navigate to project directory
cd tradingjournal
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Run tests
npm testnpm run dev # Start Vite dev server
npm run build # Build for production
npm run preview # Preview production build
npm run test # Run tests
npm run test:ui # Run tests with UI
npm run lint # Lint code
npm run lint:fix # Fix linting issues
npm run format # Format code with Prettier
npm run typecheck # TypeScript type checkingtrading-journal/
βββ src/
β βββ renderer/
β βββ src/
β β βββ components/ # React components
β β β βββ ui/ # shadcn/ui components
β β β βββ dashboard/ # Dashboard widgets
β β β βββ charts/ # Chart components
β β βββ pages/ # Page components
β β βββ contexts/ # React contexts
β β βββ hooks/ # Custom hooks
β β βββ store/ # Zustand stores
β β βββ services/ # API & storage services
β β βββ lib/ # Utilities
β β βββ types/ # TypeScript types
β β βββ styles/ # Global styles
β βββ index.html
βββ public/ # Static assets
βββ tests/ # Test files
- Pre-Trade Planning: Document your thesis, setup, and entry criteria
- Trade Execution: Record entry price, position size, and initial stop loss
- Trade Management: Track adjustments, scaling in/out
- Post-Trade Review: Analyze what went right/wrong, lessons learned
- Create one thesis per quarter
- Link multiple trades to a single thesis
- Track thesis performance over time
- Compare market outlook vs. actual results
- Total P&L with visual indicators
- Win rate percentage
- Average return per trade
- Trade volume by month
- P&L timeline chart
- Trade distribution analysis
- Local Storage: All data stored in browser localStorage (no cloud sync)
- No Analytics: No tracking or data collection
- Open Source: Full transparency of code
- No API Keys Required: Currently no external services (until DEX integration)
This is a personal project currently in active development. Contributions, suggestions, and feedback are welcome!
MIT License - feel free to use and modify for your own trading journal needs.
- Trade management (CRUD)
- Thesis management
- Basic analytics
- Search functionality
- Modern UI with themes
- Advanced performance metrics
- Trade pattern recognition
- Custom reports
- Data export/import
- Hyperliquid API integration
- Real-time trade sync
- Position tracking
- Automated P&L calculation
- Trade annotation workflow
- Mobile app
- Calendar view
- Trade templates
- Risk management tools
- AI-powered insights
For questions, issues, or feature requests, please open an issue on GitHub.
Note: This project is in active development. The Hyperliquid DEX integration is coming soon and will revolutionize how you track and analyze your decentralized trading activity.
Built with β€οΈ for systematic traders