Method Name
public/get_perp_impact_twap
public/get_perp_impact_twapGet the TWAPs for the perp mid price, ask impact price, and bid impact price
Parameters
currency
string required |
end_time
integer required |
start_time
integer required |
Response
id string or integer required |
result object required |
result.
ask_impact_diff_twap
string required |
result.
bid_impact_diff_twap
string required |
result.
currency
string required |
result.
mid_price_diff_twap
string required |
Example
{request_example_shell}{request_example_javascript}{request_example_python}The above command returns JSON structured like this:
{response_example_json}