You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This task can be implemented on the frontend side only theoretically.
If a TWAP order has >5 parts, it will create a significant load on order-book API and frontend
We must display the filled % of TWAP order in the orders table, receipt modal, etc.
How to calculate the percent:
startTime
of an ordergetTradeableOrder
and manipulatingstartTime
we can generate all parts of TWAP orderTODO
cowswap/src/modules/twap/const.ts
Line 35 in 426668c
cowswap/src/modules/twap/utils/emulateTwapAsOrder.ts
Line 7 in 426668c
The text was updated successfully, but these errors were encountered: