fixed

CEX Global VWAP Asset Historical Endpoint

2024-04-05

Our team identified an issue with

where the value of the vwap property in the response was not idempotent across different startDate and endDate ranges specified by the user. This was due to the query parameter lookbackPeriod not being correctly processed as part of the API request.

{
	"timestamp": "2024-02-13 00:00:00 000",
	"asset": "btc",
	"price": 49992.5551999,
	"volume": 1402.64271963,
	"vwap": 43739.51164179    <<<<<< Was not idempotent because the lookbackPeriod was not respected
},

This issue has now been resolved. For a given lookbackPeriod, default or user-specified, the values of vwap will be the same regardless of the startDate and endDate range. The value of vwap is ONLY affected if the value of lookbackPeriod is changed by the user.