Journal
The Journal records your closed trades: paper trades land on their own, and you can log one by hand or import a broker tradebook CSV. The Stats view turns those entries into win rate, profit factor, expectancy, drawdown, an equity curve, a calendar and breakdowns.
Trades
Click a trade to open its figures, notes, setup, tags, mistakes and rating, saved as you type. Right-click or long-press it to filter to its symbol or day. Columns without room stay in the drawer; ⋯ ▸ Columns hides optional ones. ⋯ lists the keys.
Entry sources
| Badge | Source | What it means |
|---|---|---|
| P | Paper | Added when a paper position closes. Trade fields are locked; only the annotations can be edited. |
| M | Manual | Logged with +. Annotations can be edited and the entry deleted from its drawer. |
| Z | Zerodha import | Created from a Zerodha Console tradebook. Stored as a manual entry tagged zerodha-import, so it can be deleted like one. |
Importing a Zerodha tradebook
- In Zerodha Console open Reports ▸ Tradebook, pick the segment and dates, and download the CSV.
- Click the upload icon in the toolbar (⋯ ▸ Import a tradebook on a narrow panel) and drop the file or choose it.
- Check the preview and click Import N trades.
Only the Zerodha Console tradebook layout is recognised today (columns
symbol, isin, trade_date, exchange, segment, series, trade_type, auction, quantity, price, trade_id, order_id, order_execution_time). Other brokers
and a column mapper are planned.
What the preview shows
Every tradebook row is one fill. FutPrint sorts each instrument's fills by time and matches them FIFO into round trips: a trade runs from the fill that opens a position to the one that brings it back to flat. Scaling in and out stays one trade with average entry and exit prices; selling more than you hold closes one trade and opens the next with the remainder.
| Column | Meaning |
|---|---|
| Status | matched — found in FutPrint's symbol master. assumed — an equity that the master does not list; the symbol is built as NAME-EQ, edit it if needed. unmatched — type the FutPrint symbol to import the row. duplicate — every fill of the trade is already in the journal, so it is skipped. overlap — some of its fills are already journalled (a reversal whose other half landed, or a position a later file widened); it stays unticked, since shared fills would count twice. typed — a symbol you entered. |
| Zerodha symbol / FutPrint symbol | RELIANCE becomes RELIANCE-EQ, NIFTY24JULFUT stays a monthly future, NIFTY24JUL24500CE resolves to that month's last expiry and the weekly NIFTY2470424500CE to 4 July 2024. |
| Gross P&L | Exit minus entry on the matched quantity, before charges. |
| Est. charges | An estimate from FutPrint's charge schedules (brokerage per order, STT or CTT on the sell side, exchange, SEBI, stamp, GST): the exchange's options or futures profile, and the equity intraday profile for shares (a delivery trade's STT differs). The journal stores what is sent; it does not compute charges itself. |
| Fills | Fills in the round trip. A * marks a position still open when the file ended; only the closed part is imported. |
The summary strip counts duplicates, unmatched rows, rows the parser could not read and open lots (positions still open when the file ends). Open lots are not imported; log them by hand once they close, or import a tradebook covering both entry and exit.
Good to know
- Re-importing is safe. Each entry keeps its Zerodha trade ids in a
[zerodha-tradebook]line at the end of its notes. Keep that line; the next import checks it to skip duplicates. - Expired contracts. The symbol master keeps expired contracts for a
while. Older ones show as
unmatched; type the FutPrint symbol (NIFTY26061624500CEstyle, date as YYMMDD) to import them. - Product type is inferred: same-day trips are MIS, multi-day equity is CNC and multi-day derivatives are NRML.
- Times in the tradebook are IST; they are stored with that offset.
- Charges in Stats include the estimated option charges, so treat net figures on imported options as approximate until checked against the contract note.
Stats
The strip above both views shows net P&L, win rate, profit factor, expectancy and max drawdown for the range (+n opens the rest on a small panel). Stats adds average win and loss, charges, the trade count, the cumulative realized P&L curve, a month calendar (click a day to filter Trades and write a day note) and breakdowns by setup, symbol, side, source and hour.