Post
Share your knowledge.
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
Answers
2For 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.
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.
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.

- 24p30p... SUI+78
1
- MoonBags... SUI+71
2
- Meaning.Sui... SUI+43
3
- ... SUIJojo+34
- ... SUIOpiiii+31
- ... SUI0xduckmove+20
- ... SUIHaGiang+20
- ... SUIfomo on Sui+16
- ... SUI
- ... SUI
- Why does BCS require exact field order for deserialization when Move structs have named fields?53
- Multiple Source Verification Errors" in Sui Move Module Publications - Automated Error Resolution43
- Sui Transaction Failing: Objects Reserved for Another Transaction25
- How do ability constraints interact with dynamic fields in heterogeneous collections?05