Sui.

Post

Share your knowledge.

Pluto Dev👽.
Jan 15, 2025
Expert Q&A

How do Turbos and Cetus DEXs calculate trading prices?

I'm curious about how decentralized exchanges (DEXs) like Turbos and Cetus calculate the prices for trading pairs. What mechanisms or algorithms do they use?

  • SDKs and Developer Tools
2
2
Share
Comments
.

Answers

2
skywinder.
Jan 16 2025, 01:40

For more detailed information on how Turbos and Cetus specifically implement these mechanisms, you can refer to their documentation. Turbos has its documentation available at Turbos Docs, and Cetus can be found at Cetus Docs. These resources should provide enough info and technical implementation details.

2
Best Answer
Comments
.
elfDani.
Jan 16 2025, 11:34

While the specifics can vary, DEXs like Turbos and Cetus typically use automated market-making algorithms to determine the price of trading pairs. These algorithms often rely on smart contracts to automatically facilitate trades when liquidity providers offer to trade currency pairs at predefined rates. The price is usually determined by the ratio of the reserves of each token in a liquidity pool. When a trade is executed, the proportions of tokens in the pool change, which in turn affects the price.

1
Comments
.

Do you know the answer?

Please log in and share it.

Sui is a Layer 1 protocol blockchain designed as the first internet-scale programmable blockchain platform.

400Posts559Answers
Sui.X.Peera.

Earn Your Share of 1000 Sui

Gain Reputation Points & Get Rewards for Helping the Sui Community Grow.

Reward CampaignJuly