Journal actions / fillFromHistory

Fill from history actions

Fill from history actions use a builtin multi-row parser to read the latest trade group from a history table, then fill the journal form.

Content shape

Same flat field map as fill data, plus groupMaxRows at the top level. Each field selector should target cells within the history table context the runner opens.

groupMaxRows

groupMaxRows controls how many table rows belong to one trade group when resolving the latest closed trade. Typical TradingView history tables use 4.

Open vs close location

Use openPosition or closePosition location to control which form fields are applied after the history group is resolved.

Examples