Implement Time Weighted Average Price (TWAP) functionality to enhance TON blockchain trading experience
Bounty Context
Why it's Important?
The introduction of TWAP functionality will open up the TON blockchain to a much larger audience of traders, especially those who are used to dealing with large sums of money. This will increase the liquidity of the TON ecosystem, attracting more users and development activity. A greater trading volume will also contribute to a more fine-grained price discovery process.
Problem showcase
As it stands, there is no equivalent to iceberg trades in the TON blockchain. This can act as a barrier to those looking to enter the ton ecosystem with a significant investment. Because there are no tools to facilitate larger trades, traders have to manually control the timing and size of their transactions to avoid slippage.
Potential Solution
We propose to implement a system based on Time Weighted Average Price (TWAP) similar to what exists in Ethereum. This will allow users to execute larger trades over a set period of time, reducing the impact of large trades on the market price. The TWAP algorithm achieves this by breaking down a large order into smaller ones, which are executed at regular intervals over a set period of time.
Defenition of Done
Implement TWAP functionality, Run tests to ensure TWAP system works as expected, Documentation of the TWAP system and how to use it, Deploy TWAP system on TON blockchain
Summary
Implement Time Weighted Average Price (TWAP) functionality to enhance TON blockchain trading experience
Bounty Context
Why it's Important? The introduction of TWAP functionality will open up the TON blockchain to a much larger audience of traders, especially those who are used to dealing with large sums of money. This will increase the liquidity of the TON ecosystem, attracting more users and development activity. A greater trading volume will also contribute to a more fine-grained price discovery process.
Problem showcase As it stands, there is no equivalent to iceberg trades in the TON blockchain. This can act as a barrier to those looking to enter the ton ecosystem with a significant investment. Because there are no tools to facilitate larger trades, traders have to manually control the timing and size of their transactions to avoid slippage.
Potential Solution We propose to implement a system based on Time Weighted Average Price (TWAP) similar to what exists in Ethereum. This will allow users to execute larger trades over a set period of time, reducing the impact of large trades on the market price. The TWAP algorithm achieves this by breaking down a large order into smaller ones, which are executed at regular intervals over a set period of time.
Defenition of Done
Implement TWAP functionality, Run tests to ensure TWAP system works as expected, Documentation of the TWAP system and how to use it, Deploy TWAP system on TON blockchain
References
https://docs.integral.link/size/concepts/swap-with-twap
REWARD
🪄 Created with the help of TON Bounties Creator Bot.