Margin PreviewGET
Advisory preview of the additional margin needed to open `volume` lots of `symbol_id` as a market BUY and as a market SELL, priced at the current bid. Account, group, symbol and access status, holidays and quotes are checked as for a BUY; trading sessions, volume limits, exposure limits, price protection and long-only restrictions on SELL are not, so an order can still be rejected. Pending orders are margin-checked when they trigger, not when placed. `required_margin` is clamped at 0, while `used_margin_after` and `free_margin_after` reflect margin released by hedging.
Authorization
AuthorizationRequiredBearer <token>JWT token obtained from the login endpoint
In: header
Path Parameters
account_idRequiredstringAccount ID to preview the margin for
Query Parameters
symbol_idRequiredstringSymbol to preview an order for
volumeRequirednumberOrder volume in lots
0Format: "double"Margin impact of a BUY and a SELL of the given volume
Account Metrics
Returns latest metrics snapshot for the authenticated user's account (PnL, Equity, Balance, Margins)
My Accounts
Lists all trading accounts (portfolios) owned by the authenticated client profile, with the account_id required by every other account-scoped operation. Each entry carries balance, credit, unrealized PnL, used margin, currency, trade status, demo flag and margin-call/stop-out flags, but excludes positions and orders. Start here when no account id is known. Returns an empty accounts array if the profile owns none.