NabilAfkar
Back to Portfolio
FintechAnalyticsDatabase

Trading Journal & Capital Discipline Platform

A professional trading journal and risk management platform designed to help traders track performance, enforce disciplined risk management, and implement structured capital growth.

Designed with a risk-first trading architecture, the platform introduces a structured 50 / 30 / 20 profit allocation model that automatically distributes every realized trading profit into three capital layers: Vault Lock, Compound Pool, and Fun / Withdraw.

Role
Product Designer & Full-Stack Developer
Client
Personal Product Development
Year
2026

Visual Overview

Explore the system interface through the trading dashboard and trade management modules that provide clear visibility into trading performance and capital allocation.

Authentication screen for trading journal
Authentication screen for trading journal
Authentication screen for trading journal
Setting up risk per trade limits
Onboarding wizard for system structure
Configuring active trading accounts
Dashboard for trading accounts management
Global risk guardrails and parameters
Defining maximum exposure for new trade
Entering trade specifics and pair details
Pending trade with risk snapshot
Pre-trade plan checklist and executions
Chart analysis and uploaded visuals
Finalizing and recording trade outcome
Adding reflections and post-trade notes
Capital distribution ledger and compound pool
Account overview with compounding engine
Performance snapshot and equity curve
Recording new daily lessons
Monthly calendar journal history
Selecting single or group trade execution
Splitting risk across a group execution
Dashboard for group trade parent view
Monitoring multiple executions within group
Group outcome calculation after completion
Reviewing finalized single trade

01The Problem

Many retail traders struggle with maintaining trading discipline due to the absence of structured risk management tools and reliable performance tracking systems.

Most traders rely on spreadsheets or fragmented tools to record trades, which often leads to inconsistent data, limited visibility into trading performance, and difficulty evaluating long-term strategy effectiveness.

Additionally, traders frequently reinvest all profits back into trading without any structured capital protection mechanism, which often results in profits being lost during drawdowns.

  • Lack of structured trade journaling systems
  • Difficulty measuring performance relative to risk exposure
  • No automated system to enforce profit protection
  • Absence of capital management frameworks for sustainable compounding

02The Approach

To address these challenges, the system was designed as a centralized trading journal platform that integrates trade tracking, risk management, and capital allocation into a unified workflow.

Instead of focusing solely on profit and loss, the platform emphasizes risk-based decision evaluation and automated capital discipline, allowing traders to manage risk exposure while preserving profits.

A key innovation of the platform is the integration of automated risk compounding calculations, which dynamically adjusts allowable risk exposure based on the trader’s capital growth and profit allocation rules.

  • Risk-First Architecture: Every trade is evaluated relative to predefined risk parameters rather than raw profit.
  • Automated Risk Compounding System: The system automatically calculates effective trading risk using base capital and compound pool allocations.
  • Structured Profit Allocation (50 / 30 / 20 Rule): Realized profits are distributed into capital protection and compounding layers.
  • Transparent Capital Accounting: All capital movements are tracked to maintain consistency between allocations and the real trading account balance.

03The Impact

By integrating capital allocation and automated risk calculations directly into the trading journal workflow, the platform encourages disciplined trading behavior and helps traders maintain consistent capital growth.

Instead of exposing all profits to risk, the system creates a clear separation between protected profits, compounding capital, and withdrawable funds, reducing the likelihood of giving back gains during volatile trading periods.

  • Improved trading discipline through automated risk rules
  • Clear separation between protected profits and active trading capital
  • Structured capital compounding mechanism
  • Better visibility into trading performance and decision quality

Workflow System

The system integrates trade data, risk calculations, and capital allocation logic into a single workflow that ensures consistent performance tracking and disciplined capital management.

1
Data SourceTrade data is entered by the trader, including entry price, stop loss, take profit, and trade results.
2
Processing LayerThe backend processes trade outcomes and automatically calculates risk exposure, profit and loss, R-multiple performance, capital allocation updates, and compounding risk adjustments.
3
Database LayerAll trades, capital allocations, and account events are stored in a structured database, enabling long-term performance tracking and historical analysis.
4
Management LayerThe system manages operational components such as trading accounts, risk configuration, strategy tracking, and capital allocation rules.
5
User InterfaceUsers interact with the platform through a trading dashboard that provides performance analytics, risk exposure monitoring, trade history, and capital allocation visualization.

Key Features

50 / 30 / 20 Capital Allocation System

The platform introduces a structured capital discipline model where realized trading profits are automatically distributed into three capital layers: 50% Vault Lock, 30% Compound Pool, and 20% Fun/Withdraw.

Automated Risk Compounding Calculation

The system dynamically calculates the trader’s effective risk exposure by combining base risk derived from trading capital with the compound pool allocation, allowing gradual scaling.

Group Trade Management

The platform supports group trade tracking, allowing multiple executions within a single trading idea to be grouped and evaluated as one decision.

Performance Analytics Dashboard

A comprehensive dashboard displays key trading metrics including win rate, average R-multiple, profit factor, and monthly performance statistics.

Capital Movement Ledger

All capital changes, including profit allocations and loss adjustments, are recorded in a transaction ledger system to ensure transparency and consistency.

Technologies Used

Next.js (Server Actions)
React
TailwindCSS
PostgreSQL (Supabase)
Supabase Authentication
Realtime Database Queries
Risk-First Trading Architecture
Event-Driven Capital Ledger
Role-Based Access Control (RBAC)

Project Context

This project was developed as an independent product initiative focused on improving trading discipline and capital management for individual traders.

The platform incorporates practical trading workflows and integrates structured capital management principles commonly used by professional traders, including risk-based position sizing, automated profit allocation, and controlled compounding strategies.

By combining trade journaling with capital discipline mechanisms, the system provides traders with a more structured approach to managing both performance and risk.

Next Step

Ready to build something amazing?

Let's discuss how we can translate your vision into a high-performance digital product that delivers results.