Market Data

public/get_perp_impact_twap

Returns TWAPs of the perp mid, ask impact and bid impact prices minus spot for a currency between start_time and end_time (unix seconds).

post/public/get_perp_impact_twap

Request

  • Base URL: https://api.derive.xyz/v3
  • URL: https://api.derive.xyz/v3/public/get_perp_impact_twap
  • Auth: none declared

Request body

currencystring required
end_timeinteger required
start_timeinteger required

Response

Success

ask_impact_diff_twapstring required
bid_impact_diff_twapstring required
currencystring required
mid_price_diff_twapstring required

Changes

No recorded changes to this operation across all 1 revision of this API.