Proposals
A proposal is a set of trades a firm asks a client to approve for one portfolio, with the firm’s rationale. The
client decides in the IDEALX app; when they accept, the trades are placed as orders. Proposals need an advisory or
discretionary mandate on the portfolio and, with a key, the advise scope.
What a proposal holds
Section titled “What a proposal holds”items: the trades, each{ "kind": "order", "instrumentId", "side", "type", "quantity" | "amount", "limitPrice"? }. Giveamount(in the investment’s currency) instead ofquantityto size by value.title(3–120 characters),note(the message to the client, up to 2,000),expiresInDays(1–30).rationale:recommendation(required before sending, up to 4,000 characters), optionalobjectiveandalternatives. It goes into the record of advice.costs: buys, sells, fees, FX cost, turnover, cash before and after, an estimated realised gain, and per line its weight now and after (nowBp,afterBp, in basis points).checks: the policy checks, eachpass,warnorblock, with the policy version.
Checks
Section titled “Checks”Checks run against the firm’s advice policy and the client’s restrictions, which IDEALX’s compliance module owns as
data: inside the mandate, client restrictions, concentration, mix by kind, product suitability for the account type,
cash after trades and the strategy’s saved checks. A warn is shown to the adviser; a block stops sending.
POST /v1/firms/{firmId}/proposals/check runs them without writing anything.
Second approval
Section titled “Second approval”A firm can require a colleague to approve proposals above an amount (checks.secondApproval: enabled, required
and the threshold). When it applies, submitting moves the proposal to pending_approval and a colleague with the
right role approves or returns it in Console. Nobody approves their own proposal, and a firm key acts as the admin
who made it, so the approver is always another person.
Lifecycle
Section titled “Lifecycle”draft ─► pending_approval ─► approved ─► sent ─► viewed ─► accepted ─► executing ─► executed ▲ │ │ │ └──► failed └─ returned ─┘ └────────┴──► declined | expired | superseded | withdrawndraft | pending_approval | approved ─► withdrawn| State | Meaning |
|---|---|
draft |
Being written; changes with PATCH |
pending_approval |
Waiting for a colleague’s second approval |
approved |
Approved, being sent |
sent, viewed |
With the client; views and lastViewedAt count their visits |
accepted |
The client accepted; orders follow |
executing, executed, failed |
The orders are running, done, or could not be placed (results) |
declined |
The client said no (declineReason) |
expired |
Not answered in time (expiresAt) |
superseded |
A newer proposal for the same portfolio replaced it (supersededBy) |
withdrawn |
The firm withdrew it |
Record of advice
Section titled “Record of advice”Sending freezes a record of advice: a PDF and its data, immutable, with a SHA-256 (adviceRecord). Its name
follows the account’s country (adviceRecordName, for example Record of advice or Suitability report). Download
it with GET /v1/firms/{firmId}/proposals/{proposalId}/advice-record.pdf.
Endpoints
Section titled “Endpoints”- POST
/v1/firms/{firmId}/proposals/checkDry run: costs, tax estimate and checks for trades, and whether a second approval applies - POST
/v1/firms/{firmId}/accounts/{accountId}/proposalsWrite a proposal for a portfolio: a draft, or sent at once with `send` - PATCH
/v1/firms/{firmId}/proposals/{proposalId}Change a draft: trades, title, message, rationale, expiry - POST
/v1/firms/{firmId}/proposals/{proposalId}/submitSend a draft: to a colleague for second approval when the firm's policy says so, else to the client - POST
/v1/firms/{firmId}/proposals/{proposalId}/withdrawWithdraw a proposal: a draft, one waiting for approval, or one the client has not answered - GET
/v1/firms/{firmId}/proposalsProposals your firm sent - GET
/v1/firms/{firmId}/proposals/{proposalId}One proposal: trades, costs, rationale, checks, history and the record of advice - GET
/v1/firms/{firmId}/proposals/{proposalId}/advice-record.pdfThe record of advice frozen when the proposal was sent