Agent Portfolio API: amount and balance appear to be scaled by ~50x vs actual position value
I'm running an automated strategy against an Agent Portfolio via the public API (v2 unified order endpoint). I've hit an inconsistency between the values the API reports and what the app actually shows, and I'd like to understand whether this is expected behaviour or a known issue.
The setup is the following:
- Agent Portfolio funded with roughly $200
- Orders placed via `POST /api/v2/trading/execution/orders`
- Portfolio read via `GET /api/v1/trading/info/portfolio`
I observe:
The portfolio endpoint reports a `credit` value about 50x higher than the amount I actually funded. A portfolio funded with a couple hundred dollars reports a five-figure balance.
I submitted a market buy with `amount: 50` and `orderCurrency: "usd"`. The order executed successfully, but the resulting position is worth **$1**, not $50. The app shows a fraction of a share consistent with a $1 notional at the instrument's current price — exactly 1/50th of what I requested.
Oddly, the reported `credit` decreased by ~51 units after that order (50 plus what looks like a fee) — so the balance figure moves on the *scaled* axis while the actual position value does not. The two are not consistent with each other.
My questions are:
- Are `amount` and `credit` on Agent Portfolios expressed in a unit other than account currency? If so, where is the conversion documented?
- If this is a display/reporting bug, is a fix in progress? I'd rather not hardcode a 50x multiplier in my client and then have it break when the values are corrected.
Also: the `mock=true` query parameter, which works on the v1 execution endpoints, appears to be silently ignored on the v2 unified order endpoint — the order executes for real and returns a live `orderId`. If that's expected, it would be worth documenting explicitly, since it's an easy way to place unintended live orders while testing.
Happy to provide request IDs, order IDs and timestamps privately to anyone from eToro who can look into it. Not posting them here for obvious reasons.
Anyone else running an Agent Portfolio seeing the same scaling?