Market Data
public/get_perp_impact_twap
Changed onReturns 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 URLhttps://api.derive.xyz/v3
- Authnone declared
Request body
Get Perp Impact Twap Request required
Parameters for public/get_perp_impact_twap. Timestamps are unix seconds, as either a JSON number or a string-encoded integer.
currency, string required
end_time, integer required
start_time, integer required
Response
Success
Perp Impact Twap Result required
TWAPs of the perp mid, ask impact and bid impact prices minus spot.
ask_impact_diff_twap, string required
bid_impact_diff_twap, string required
currency, string required
mid_price_diff_twap, string required
Changes
- info
added the media type
application/jsonfor the response with the status
- info