Journal actions / fillData

Fill data actions

Fill data actions read values from the broker page using CSS selectors and populate the journal trade form.

Content shape

Use a flat JSON object. Each key is a form field (symbol, direction, entryPrice, favorableExcursion, adverseExcursion, and so on). Each value is either a CSS selector string or an object with selector and an optional map for enum translation.

Site pattern

The site field must match an extension enabled-site entry exactly (for example *.tradingview.com). The extension loads actions with GET /api/journal-actions?site= plus encodeURIComponent so * becomes %2A.

Field mappers

Text fields are trimmed. Numbers are parsed from cell text. direction, entryMethod, and exitMethod accept a map from raw page text to model enum values. profitLoss, favorableExcursion, and adverseExcursion map to optional close-form numbers. Timestamps map to openedAtLocal or closedAtLocal.

Examples