๐Ÿ“ŠLong Term Traders

Incentives

circle-check

Long-term traders who are interested in taking opinionated long-term positions traditionally relied on CEX or OTC desks. Centralized venues attract large order flows because of the availability of novel trade execution schemes and privacy beyond the obvious reasons like MEV and gas fees.

However, given the recent turmoil with centralized parties (see FTX), the risks associated with trading on these platforms outweigh the advantages they used to offer.

TWAMMs automate the execution of large orders by breaking the order into smaller virtual orders and executing it over multiple blocks. Arbitrageurs pay gas fees to write virtual orders on-chain when they correct asset prices as they deviate. Liquidity providers earn swap fees plus MEV kickbacks, and the entire trade lifecycle stays on-chain.

Executing On-Chain

With new on-chain technologies like TWAMMs and future developments planned, trading volume will naturally flow to the most efficient and secure platforms. Here's the current flow to execute large trades on centralized trading venues:

  1. KYC/AML on the regulated trading venue

  2. Move on-chain assets to the trading venue

  3. Use Web UX or Telegram Chats to get quotes

  4. Execute trades

  5. Withdraw proceeds and move them back on-chain

The list doesn't take into account the myriad of risks (custodial, counter-party, etc), expenses (high swap fees, platform fees, etc), and time delay of all the steps listed above.

On-chain Trading Experience with TWAMM

With our periphery contract, you'll be able to interact with TWAMM directly from Etherscan or a multitude of our integration partners.

In essence, this is what a long-term trader does:

circle-info

swap $100M of ETH for USDC over 10,000 blocks

The smart contract executes the most efficient TWAP order on behalf of the trader. All the trader has done is step #4 from the list above. There's no change of custody or delays from setup till trade execution.

TWAMM Order with Uniswap V3 Range Orders

Below is a great example of how much better TWAMMs could be versus atomic execution venues like DEXs and aggregators. The same trade netted roughly ~$2M! more for the trader by using arbitrageurs to fill the order over multiple blocks.

Hypotheitcal TWAMM trade executed on Uniswap V3 with out of range LP positions

How to use

Code Example

Periphery

Example in Gnosis Safe: Long term swap from WETH -> USDC over 100 intervals

Who needs this today?

On-chain advantages of custody, programmability, and composability of capital are too attractive to ignore. TWAMMs are the ideal on-chain complement for trades that are large and time-insensitive such as peg maintenance, liquidations, & asset diversification.

Here's a short list of use cases and personas that can leverage TWAMMs:

๐Ÿ‘ซDAOschevron-right๐Ÿ’‰Open Market Operationschevron-right๐Ÿ’ผTreasury Managerschevron-right๐ŸŒŠLiquid Fundschevron-rightโš–๏ธToken Monetary Policychevron-right

Last updated