More Resources
– Deep Dive into AI, LLMs, Automation, and
Engineering
Published: Fri, Nov 7th 2025
Trading is 90% psychology and 10% execution. The problem isn't that traders don't know this—it's that after a long day of staring at charts, the last thing anyone wants to do is write a detailed journal entry analyzing their emotional state.
We solved this by building a dedicated AI pipeline that does the heavy lifting. In our latest update, users can simply click a "Write my AI Journal" button, and the system generates a brutally honest, data-backed reflection of their trading session.
A generic prompt like "How was my trading?" returns generic garbage. To get a high-quality output, we have to feed the Large Language Model (LLM) high-quality, specific data. Before we even talk to the AI, our controller gathers a comprehensive snapshot of the user's day:
We instruct the LLM to return the response not just as text, but as formatted HTML. This includes:
We package all this into a structured data payload. Think of it as handing a case file to a senior analyst before asking for their opinion.
You can't just throw data at an LLM and hope for the best. We use a highly structured prompt designed to act as a strict accountability partner. Our prompt engineering enforces four distinct sections:
Crucially, we hardcode specific financial goals into the prompt—a $2,000 daily profit target and a $100,000 annual equity goal. This forces the AI to measure success against a concrete benchmark, not just "doing well."
"If daily profits are less than $2,000, acknowledge the shortfall and suggest steps to meet the goal in future sessions. Be brutally honest."
When our system receives the response, it doesn't just display it. It parses this HTML, extracts
the hidden title using regex, and then saves the entire entry into our UserJournal
database text fields. This creates a permanent, searchable record of performance driven entirely
by AI analysis.
The result is a friction-less feedback loop. By automating the "drudgery" of journaling, we ensure it actually happens. Traders get the benefit of a psychological review without the cognitive load of writing it, allowing them to focus on what matters: the next trade.