Method Name
private/get_option_settlement_history
private/get_option_settlement_historyGet expired option settlement history for a subaccount
Required minimum session key permission level is read_only
Parameters
subaccount_id
integer required |
Response
id string or integer required |
result object required |
result.
subaccount_id
integer required |
result.
settlements
array of objects required |
result.settlements[].
amount
string required |
result.settlements[].
expiry
integer required |
result.settlements[].
instrument_name
string required |
result.settlements[].
option_settlement_pnl
string required |
result.settlements[].
option_settlement_pnl_excl_fees
string required |
result.settlements[].
settlement_price
string required |
result.settlements[].
subaccount_id
integer required |
Example
{request_example_shell}{request_example_javascript}{request_example_python}The above command returns JSON structured like this:
{response_example_json}