Orders

Calculate position

Calculate profit/loss position based on filtered orders. Accepts the same query parameters as the list orders endpoint.

get/v2/orders/position/

Request

  • Base URL: https://magicmarkets.com (the document declares no server; this is the origin it was published from)
  • URL: https://magicmarkets.com/v2/orders/position/
  • Auth: API key in header X-Api-Key

Query parameters

statusstring[]
sportstring[]
event_idstring[]
order_typestring[]
date_fromstring date-time
date_tostring date-time
searchstring
include_cashout_infoboolean

Accepted for compatibility. cashout_info is currently returned on every position regardless of this flag.

Response

Position calculation

status'ok'

Changes

No recorded changes to this operation across all 1 revision of this API.