Skip to main content

Endpoint

Returns closed derivative positions for an account.

Required path parameters

  • accountId — Trading account ID.

Response fields

  • s (string) — Request status. Always returns ok.
  • d (array) — Closed position rows.

Closed position fields

  • numofrow (number) — Row number.
  • dmacctno (string) — Margin account.
  • dtacctno (string) — Trading account.
  • qtty (number) — Quantity.
  • symbol (string) — Instrument symbol.
  • vwap (number) — Long average cost price.
  • svwap (number) — Short average cost price.
  • diff (number) — Difference value.
  • nvalue (number) — Contract multiplier.
  • vrdebtvmamt (number) — VM profit or loss.

cURL

Example response

Replace BASE_URL, ACCOUNT_ID, and ACCESS_TOKEN with your values.