Skip to content

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.

  • items: the trades, each { "kind": "order", "instrumentId", "side", "type", "quantity" | "amount", "limitPrice"? }. Give amount (in the investment’s currency) instead of quantity to 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), optional objective and alternatives. 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, each pass, warn or block, with the policy version.

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.

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.

draft ─► pending_approval ─► approved ─► sent ─► viewed ─► accepted ─► executing ─► executed
▲ │ │ │ └──► failed
└─ returned ─┘ └────────┴──► declined | expired | superseded | withdrawn
draft | 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

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.