Get account journal
get_journalRetrieve an account's in-memory journal of cTrader connection and trade events to diagnose why trading stopped or identify who sent a trade.
Instructions
The journal of one cTrader account, newest first: when it signed in at cTrader, became ready to trade, lost and regained its connection, and when its access was refreshed or refused; and every order, change and close the bridge carried out, with the request, the outcome (retcode, order, deal, position, or the error), the time it took, the caller's clientOrderId and User-Agent. Use it to answer why an account stopped trading or who sent a trade. The bridge keeps it in memory, at most 7 days and 1000 entries, and a bridge restart starts it afresh, so for the full record of closed trades use get_trade_history. cTrader accounts only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account_id": "<account_id>"
},
"name": "get_journal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | connection (the link to cTrader), trade (trade requests), or any. | any |
| limit | No | ||
| since | No | Only entries at or after this moment (UTC). Date (YYYY-MM-DD) or ISO-8601 datetime, in the broker's server time. | |
| account_id | Yes | An account_id from list_accounts. |