Skip to main content
GET
/
v1
/
account
/
equity
Get Equity Curve
curl --request GET \
  --url https://staging-api.polysimulator.com/v1/account/equity \
  --header 'X-API-Key: <x-api-key>'
[
  {
    "timestamp": "<string>",
    "cash_balance": "<string>",
    "position_value": "<string>",
    "total_value": "<string>",
    "pnl": "<string>"
  }
]

Headers

X-API-Key
string
required

Your PolySimulator API key

Query Parameters

days
integer
default:7

Number of days of history

Required range: 1 <= x <= 90

Response

Successful Response

timestamp
string
required
cash_balance
string
required
position_value
string
required
total_value
string
required
pnl
string
required