Skip to main content
POST
Submit P&L Job

Headers

x-accept-type
string
required

application/json or application/xlsx

x-api-key
string
required

Your API key used to authenticate and authorize the request.

Query Parameters

from
number
required

Start timestamp (inclusive) for the P&L calculation period, expressed as Unix epoch time in milliseconds.

Required range: x >= 0
to
number
required

End timestamp (inclusive) for the P&L calculation period, expressed as Unix epoch time in milliseconds.

input
enum<string>
required

Type of input file. Allowed values: tradewise_settlement or tradebook.

Available options:
tradebook
output
enum<string>
default:tradewise_pnl
required

Type of output file. Allowed values: tradewise_pnl or scripwise_pnl

Available options:
tradewise_pnl,
scripwise_pnl

Body

application/json
name
string
@entity
string
sheets
object[]

Response

200 - application/json

200 OK

code
integer
data
object
transaction_id
string
timestamp
integer