DEX Protocol
Oracles
Details about Oracles on the DEX
Fluid’s DEX has an inbuilt most optimized TWAP oracle. It allows you to fetch the last 5 min data in <15k gas; Last 15 min data in <30k gas. This makes it optimal to be able to use DeFi.
It also returns extra data such as the maxima & minima within that time frame. Maxima is the highest price & minima is the lowest price during the period the user is fetching. This makes it easier to anticipate the token’s volatility or manipulation and adjust the protocol’s behavior accordingly.