Tradewaysdocs

Trade Detail

In-depth view of a single trade with stats, executions, adjustments, levels, chart drawings, custom fields, and images.

Trade Detail

The trade detail page shows everything about a single trade — stats, executions, adjustments, TP/SL levels, chart with drawings, custom fields, and image attachments.

Accessing a Trade

Click any row in the Trade Log or Month View to open the trade detail page at /trade/<tradeId>.

Trade detail header with symbol, direction badge, status badge, and result badge
Trade detail header with symbol, direction badge, status badge, and result badge

The header displays:

  • Symbol — click to edit via a dropdown selector
  • Direction badge — Long or Short
  • Status badge — Open or Closed
  • Result badge — Winner (green), Loser (red), or Breakeven (only shown for closed trades)

A back button returns you to the Trade Log or Month View, depending on where you navigated from.

Stats

Two stat rows span the full width of the page.

Key Metrics

StatDescription
Avg EntryWeighted average entry price
QtyTotal position size
P&LRealized profit/loss (net of commission when in Currency display mode)
Gross P&LGross P&L before commission (shown in Currency mode with commission)
CommissionTotal commission across all executions
R:RRisk-to-reward ratio (requires TP/SL levels)

In Currency display mode with commission data, the stats row shows Net P&L, Gross P&L, and Commission as separate cells. In Ticks mode, P&L is shown in ticks with Direction displayed as an additional stat.

Timing

StatDescription
OpenedTime the first execution was filled
ClosedTime the last execution closed the trade
DateDay and month of the trade open
DurationTime between open and close
WeekdayDay of the week
CWCalendar week number

Executions

The executions section lists every fill for the trade. Each row shows:

Side · Qty · Price · Date

When a trade has more than one execution, a price visual strip appears on the left showing fill prices relative to each other.

Editing an Execution

Hover over a row to reveal the edit and delete icons. Click the pencil icon to switch to inline editing mode where you can change the side, quantity, price, and timestamp. Confirm with the check icon or cancel with the X icon.

Deleting an Execution

Click the trash icon on hover. A confirmation dialog appears before the execution is removed.

Adding an Execution

For open trades, an Add Execution form appears below the execution list. Set the side (Buy/Sell), quantity, and price, then submit.

Adjustments

Trade detail adjustments section with swap and commission entries
Trade detail adjustments section with swap and commission entries

The Adjustments section tracks additional monetary events that affect the trade's P&L beyond executions and commissions. Click the + icon in the section header to open the add form.

Adjustment Types

TypeDescription
SwapOvernight financing charges or credits
DividendDividend payments received or owed
FundingFunding rate charges (common in crypto perpetuals)
BorrowShare borrowing fees for short positions
CommissionAdditional commission adjustments outside executions

Adding an Adjustment

Set the type, amount (positive for credits, negative for charges), and date/time, then submit. The adjustment amount uses the trade's settlement currency.

Editing and Deleting

Hover over an adjustment row to reveal the edit and delete icons. Click the pencil icon to switch to inline editing mode where you can change the type, amount, and date. Confirm with the check icon or cancel with the X icon. Click the trash icon and confirm the dialog to remove an adjustment.

Chart

Trade detail candlestick chart with execution markers
Trade detail candlestick chart with execution markers

The trade detail page includes an interactive candlestick chart powered by KLineCharts. The chart displays price data for the trade's symbol with execution markers overlaid.

Timeframes

A row of timeframe buttons in the chart header lets you switch between intervals (5s, 15s, 30s, 1m, 5m, 15m, 1h, 4h, 1D). The available timeframes depend on the resolution of the underlying data. The chart auto-selects a default timeframe based on the trade's duration.

Chart Settings

Click the gear icon to open the Chart Settings popover:

SettingOptions
Up/Down ColorsPreset color swatches or custom color picker for candles
GridToggle grid visibility
CrosshairLine, Dash, or None
Execution MarkersShow/hide execution markers and R:R zones on the chart
Marker ShapeTriangle, Diamond, or Dot
Marker SizeSmall, Medium, or Large
Label ContentPrice x Qty, Price only, Qty only, or None
Label SideNone, B/S (short), or Buy/Sell (full)
Buy/Sell ColorsPreset or custom colors for entry and exit markers

Click Reset to defaults to restore all settings.

Drawing Tools

A toolbar in the chart header provides drawing tools that persist across sessions:

ToolDescription
CursorDefault selection mode
Horizontal LineInfinite horizontal line at a price level
SegmentA line segment between two points
Horizontal RayA ray extending to the right from a point
Price LineA labeled price level line
RectangleA rectangular zone between two corner points

Select a tool, then click on the chart to place the drawing. Drawings are saved automatically and synced across devices. Drag a drawing to reposition it. Click the trash icon in the toolbar to delete all drawings for the trade.

Scroll to Trade

When chart data is available, a locate button appears in the chart header. Click it to auto-scroll and zoom the chart to the trade's execution range.

TP/SL Levels

The Levels section displays Take Profit and Stop Loss prices in a two-column grid. Each level shows the price and optional quantity. Click Add to create a new level. Click any existing level to edit it, or delete it. Toggle the input mode between Price (absolute) and Ticks (distance from entry).

R:R in the stats row is calculated from these levels.

Custom Fields

If the account has custom columns configured, they appear in the right column. Supported field types:

  • Checkbox — toggle on/off
  • Select — pick from predefined options
  • Tags — multi-select tag values
  • Text — free-form text input

All changes save immediately.

Images

The Images section shows all attached screenshots and charts. Drag and drop files onto the upload zone, or click to browse. Click an image to open the lightbox. Images can be deleted from within the gallery.

Journal

The trade detail page includes a Journal section with four tabs for trade-specific notes and context. See the Journal page for full details on how this integration works.

Actions Menu

Click the three-dot menu icon in the top-right corner to access:

  • Force Close — available only for open trades. Marks the trade as closed without adding a closing execution. Requires confirmation (hold Shift to skip the dialog).
  • Delete Trade — permanently removes the trade and all its executions. Requires confirmation (hold Shift to skip the dialog).

On this page