Import journal actions
Import or export EndureTrade trading journal journal actions as JSON from the web app — paste text or upload a file. You can also share this page URL with an AI assistant so it generates a valid import file for you.
Page URL for AI prompts: https://www.enduretrade.com/docs/actions/import
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
| id | string (uuid) | No | If provided and matches an existing action, updates that row; otherwise ignored on create |
| name | string | Yes | Button label shown in the extension |
| site | string | Yes | Must match an extension enabled-site pattern exactly (e.g. *.tradingview.com) |
| location | string | Yes | "openPosition" | "closePosition" | "toolbar" |
| action | string | Yes | "fillData" | "fillFromHistory" | "click" |
| iconId | string | No | Defaults to "play". See extension icon ids in the web app action form. |
| content | object | No | JSON object for a single step, or a JSON array of steps. Array steps may set action, content, and optional waitMs. See /docs/actions/[actionType] for examples. |
| enabled | boolean | No | Defaults to true |
| sortOrder | integer | No | Defaults to 0; lower values appear first |
Example
You can import one object or a list of objects. Everything is checked before any rows are written.
[
{
"name": "From position",
"site": "*.tradingview.com",
"location": "openPosition",
"action": "fillData",
"iconId": "play",
"content": {
"entryPrice": "[data-account-manager-page-id=\"positions\"] td[data-label=\"Avg Fill Price\"]",
"direction": {
"selector": "td[data-label=\"Side\"]",
"map": {
"buy": "long",
"sell": "short"
}
}
},
"enabled": true,
"sortOrder": 0
}
]How import behaves
When id matches a record you already own, that record is updated. When id is missing or does not match, a new record is created and any unknown id is ignored. Read-only fields such as userId and timestamps from export files are ignored.