How conexionesquantlab/cortex-discretional-journal works
Cortex is a Streamlit discretionary trading journal. Traders sign in, select a month, review or edit daily PNL/MAE and comments, and use performance metrics and charts to review results. The main app handles the interface and workflow; monthly CSV files provide local persistence. The README gives only a brief product description, and excerpts omit portions of app.py, so some UI-to-processing relationships are shown as unverified rather than asserted as source-confirmed calls.
Main entry points: app.py Performance metrics · data Monthly CSVs
Components 12
Journal interface
- Sign-in
app.py - Month selection
app.py - Daily trade grid
app.py - Session access
app.py
Trading analytics
- Performance metrics
app.py - Metric dashboard
app.py - Performance charts
app.py
Monthly records
- Monthly loader
app.py - Data cleaning
app.py - Monthly CSVs
data - Record saving
app.py
Other components
- Trader
Connections 13
- Trader → Sign-in: signs in
app.py - Sign-in → Session access: sets session
app.py - Trader → Month selection: selects month
- Month selection → Monthly loader: loads period
app.py - Monthly loader → Monthly CSVs: reads CSV
- Monthly loader → Data cleaning: cleans data
app.py - Data cleaning → Daily trade grid: provides rows
app.py - Trader → Daily trade grid: edits entries
- Daily trade grid → Record saving: saves edits
app.py - Record saving → Monthly CSVs: writes CSV
app.py - Data cleaning → Performance metrics: normalizes input
app.py - Performance metrics → Metric dashboard: supplies metrics
app.py - Performance metrics → Performance charts: supplies series
app.py