Learn › Glossary › Decision Journal

Decision Journal

A per-decision log of what a strategy saw and did: the rule evaluated, the operand values at that moment, and the resulting action or inaction. A journal turns 'why did it sell?' from archaeology into lookup, and is the difference between auditable automation and a black box.

A decision journal is a per-decision log of what a strategy saw and did. Each entry names the rule that was evaluated, the values of the inputs at that moment, and the result, which is either an action such as a buy or a sale or a decision to do nothing. With a journal, the question of why a strategy sold on a particular day has a lookup answer: the entry shows the rule, the numbers and the outcome. Without one, the answer has to be rebuilt from prices and guesses.

A trade list is a different record. It shows fills: what was bought or sold, when, at what price. A decision journal covers the fills and also the sessions where the rules were checked and nothing happened. For a rule that decides once a day, most entries are of that second kind, which is why the journal has to include inaction to be useful.

DeployQuant logs every decision the strategy makes with the prices and indicator values it saw at that moment, and the full decision log is part of the free plan. The measured data below comes from the backtests in this library and shows how many decisions a daily rule makes, how few lead to a trade, and what a reader can check in an entry.

What one entry holds

An entry has three parts. The first is the rule: which condition was being tested, written the way the strategy states it. The golden cross template holds while the 50-day average is above the 200-day and steps aside when it crosses below. The RSI mean reversion template buys when the 14-day RSI drops below 30 and sells when it recovers above 70. The dip buyer waits for a 10% drawdown from the 20-day high and takes profit at +8%.

The second part is the operand values at the moment of the decision. For the golden cross these are the two averages and whether the strategy holds a position. For the RSI template it is the RSI reading. For the dip buyer it is the drawdown from the 20-day high. Recording the values is what turns a log line such as "no action" into a statement that can be checked: the RSI was above 30, so the buy condition was false.

The third part is the result. An action carries the order that followed. Inaction carries the reason, and the reason is the operand values read against the rule. A journal that stored only the actions could not tell a rule that was waiting from a rule that was broken, because both look like silence.

Fill prices in the backtests on this site are adjusted for splits and dividends, so they sit below the quotes printed at the time. A journal entry shows the price the strategy saw, and a fill shows the price the order got. The two are separate facts and a reader comparing them should expect small differences.

Why inaction is most of the record

A daily rule is evaluated on every session. The backtests in this library cover 1,444 sessions for each fund, from 2021-01-04 to 2026-10-02, so a rule that decides once a day makes 1,444 decisions on one fund. How many of them end in a trade depends on the template. The median number of round trips across the 59 funds tested is 3 for the golden cross and 2 for the dip buyer. The momentum breakout has a median of 6 and the trend plus trailing stop a median of 4.

Busier templates are still mostly quiet. The 3-month momentum rule has a median of 12 round trips, the SMA 10/50 trend 17, the 200-day regime filter 18 and the EMA 12/26 trend 22. RSI mean reversion has 15. The monthly cycle has 69, the weekly 7% target 106 and the RSI(2) snapback 166.

The reason is visible in the market data. On SPY, RSI(14) was below 30 on 18 sessions out of 1,444, and above 70 on 134. RSI(2) was below 10 on 146 sessions. SPY closed above its 200-day average on 77.99% of sessions and crossed it 30 times. A strategy that buys on RSI(14) below 30 therefore had at most 18 sessions in which its condition was true, and every other session produced a decision to wait. A journal that logs those other sessions is the only place the strategy's patience is recorded.

The same exercise on other funds gives different counts. RSI(14) was below 30 on 15 sessions for QQQ, 33 for IWM, 18 for TQQQ, 61 for TLT and 116 for UVXY. UVXY closed above its 200-day average on 4.18% of sessions, against 77.99% for SPY. The rule is the same and the number of entries differs several times over, because the fund's behaviour decides how often the condition is met.

Questions an entry can answer

Why did it sell on that day? The entry shows which exit condition was true and the prices and indicator values the strategy saw when it acted.

Why did it not buy during the drop? For the dip buyer, the entry shows the drawdown from the 20-day high, and whether it had reached 10%. The counts differ by fund. A drop of 10% inside 20 days happened 11 times on SPY, covering 23 days. On QQQ it happened 21 times over 82 days, on IWM 26 times over 67 days and on TLT 3 times over 5 days. On TQQQ it happened 56 times over 478 days and on UVXY 81 times over 1,130 days. A user who expected the dip buyer to act during an equity sell-off can read the entries and see whether the condition was met on the fund the strategy was holding.

Why did the live result differ from the backtest? A journal from each side can be compared entry by entry. If the live strategy saw a different indicator value at the same moment, the data differs. If it saw the same values and acted differently, the order handling differs. Without a journal on both sides, the comparison is a discussion of averages.

What changed after the last edit? Each edit alters the rules, and a journal from before and after shows which decisions moved. This is the use that matters when a strategy was built or edited with the AI: the question of what the strategy actually does is answered by reading its decisions, and the question of whether the edit was a good idea is separate. The answer page on editing an AI-generated strategy covers the editing side.

Journals on funds that behave differently

Operand values mean different things on different funds, and a journal records them so a reader can judge a signal in context. The measured RSI statistics below are for the whole window and are not forecasts.

On SPY, the 18 sessions with RSI(14) below 30 were followed by a median 20-day return of 2.86%, against a baseline of 1.73% for all sessions. On QQQ the 15 such sessions were followed by 1.42% against a baseline of 1.74%. On IWM the 33 sessions were followed by 0.22% against 0.82%. On TQQQ the 18 sessions were followed by 6.9% against 3.62%. On TLT the 61 sessions were followed by -1.63% against -0.6%, and on UVXY the 116 sessions were followed by -5.82% against -11.36%.

An RSI reading of the same size led to a better than usual result on SPY and TQQQ, a worse than usual result on QQQ and IWM, and a loss on TLT. The entry for each buy would read the same: the RSI was below 30 and the rule bought. The journal records that the rule did what it was written to do. It does not say the rule was right, and the distinction matters when a series of buys loses money. The entries show that the rule was applied correctly, and the rest of the evidence, the backtest and the behaviour of the fund, says whether the rule suits it.

The funds' own buy-and-hold results in the window were 14.56% a year for SPY, 16.7% for QQQ, -8.23% for TLT, 25.35% for TQQQ, 7.5% for IWM and -48.74% for UVXY. Their maximum drawdowns were 23.99%, 34.23%, 42.77%, 80.77%, 31.34% and 98.42%. The operand values of a strategy trading TQQQ move much more from day to day than those of one trading SPY, since TQQQ's annualized volatility was 67.11% against 16.41% for SPY.

The journal inside a backtest-to-live workflow

DeployQuant describes four steps for a strategy: build it, backtest it, paper trade it on the live feed, and deploy it with real money in the user's own brokerage account. The decision log is present in each of them. A backtest produces the log on historical minute data, so a user can read why every trade happened before any money is at risk. The same strategy can then be paper traded on the live feed.

Several features around the log use the same record. In the code view, the AI can be asked a question such as why a strategy exits early, and every change it makes is checkpointed, with a history that lists each backtest run and its return. When the AI converts a strategy between blocks and Python, it backtests both versions and compares the fills, so a conversion that changes the trades is caught before it is saved. Comparing fills is a comparison of what the two versions did, and the decision log is where the reason for any difference would be read.

On a live account every order is tagged with the strategy that placed it, and the platform's accounting follows the broker's own fill reports. The order side of the record is therefore attributed to the same strategy that wrote the journal entry. Strategies sharing an account each run in their own sleeve with their own cash, positions and profit and loss, so an entry belongs to one strategy and one sleeve.

A related idea is the strategy IR, which describes a strategy as structured data and versions it. Because the strategy is versioned, every live order can cite the exact version that placed it, so a reader can pair an order with the rules that produced it. The backtesting entry in this glossary covers the other half: a backtest is evidence about a rule and does not prove how it will behave.

The answer page on stopping a strategy in a drawdown is a place where a journal is useful, since it lets a user check whether the current losses come from the rule working as designed or from a decision that looks wrong.

What a journal does not do

A journal records what a strategy saw and did. It does not make the strategy profitable, and it does not predict anything. A rule that loses money will produce a journal in which every entry is correct and the account is still down. The backtests in this library are hypothetical, run on one window with no fees or slippage in the headline results, and they show what happened to a rule on one fund over 5.74 years.

A journal is also only as good as the data it records. If the prices fed to a strategy are wrong, the entries will faithfully log the wrong values. Splits and dividends adjust historical prices, so a value logged in the backtest can differ from the quote that was printed on the day. The journal shows the number the strategy used.

The entries are a tool for review. Reading them takes time, and the 1,444 sessions of a 5.74-year test are too many to scan by eye, so the useful way to read a journal is to jump to a trade, to a drawdown, or to the sessions around a change, and to read the entries there. Everything in this entry is about reading decisions after the fact, and none of it is investment advice.

Frequently asked questions

What is a decision journal in trading?

It is a per-decision log of what a strategy saw and did: the rule evaluated, the values of its inputs at that moment, and the resulting action or inaction. It lets a trader look up why a trade happened. In an automated system the log is written by the software for every decision.

How is a decision journal different from a trade list?

A trade list records fills, the orders that executed. A decision journal also records the sessions where a rule was checked and nothing happened. For a daily rule most sessions fall in that second group, since the golden cross has a median of 3 round trips across 59 funds and 1,444 sessions to evaluate.

Does DeployQuant keep a decision journal?

DeployQuant logs each decision with the prices and indicator values the strategy saw at that moment, and the full decision log is included in the free plan. Users can read why each trade happened after a backtest.

Why log decisions when the strategy does nothing?

A strategy that is waiting and a strategy that is broken look the same in a trade list. The journal shows the input values and the rule, so a wait is visible as a false condition. On SPY, RSI(14) was below 30 on only 18 of 1,444 sessions, so an RSI buy rule waits on almost all of them.

Can a decision journal improve my returns?

It does not change what the rule does, so it does not change the return by itself. It helps a reader find a rule that behaves differently from the written description, or compare a live run with a backtest. Backtest results are hypothetical and do not promise future returns.

What should I look for when reading a journal?

Start with the trades that lost the most and the sessions just before them. Check that the operand values match the rule as written, then check that the order that followed matches the decision. The same RSI signal led to a median 20-day return of 2.86% on SPY and -1.63% on TLT, so the context of the fund matters too.

Run a strategy that uses this yourself, free →

Build it from blocks (or type it in English), backtest it on 5.7 years of minute data in seconds, tweak any parameter, then paper trade it on live data. No card, no broker needed to start.

Related terms

BacktestingSimulating a strategy's rules against historical market data to estima…Strategy IR (Intermediate Representation)A strategy expressed as structured data — triggers, conditions, action…

Backtests are hypothetical, computed by DeployQuant's engine on minute-resolution consolidated US market data (2021-01-04 to 2026-10-02, $10,000 starting capital, no margin, no fees or slippage in the headline run; buy-and-hold puts 98% of the account in at the first open, as the templates do) and do not guarantee future results. Nothing on this page is investment advice. Live trading involves risk of loss.