Skip to main content
POST
Calculate portfolio margin, pnl and greeks

Authorizations

APIKey
string
header
required

General API key with at least read-only access

Authent
string
header
required

Authentication string

Query Parameters

Response

200 - application/json

Simulated portfolio calculations

maintenanceMargin
number<double>
required
initialMargin
number<double>
required
pnl
number<double>
required
portfolioMarginBreakdown
object
required

Breakdown of components that make up the portfolio margin calculation.

greeks
object
required
result
enum<string>
required
Available options:
success
Example:

"success"

serverTime
string<date-time>
required

Server time in Coordinated Universal Time (UTC)

Example:

"2020-08-27T17:03:33.196Z"