Arbitrage Profit for Constant Product AMM | DeFi

  Рет қаралды 5,687

Smart Contract Programmer

Smart Contract Programmer

Күн бұрын

Equations for arbitrage profit in a constant product AMM such as Uniswap V2
Notes
github.com/sta...
Take a course
www.smartcontr...
Follow
/ programmersmart
/ discord
t.me/smartcont...
smartcontractp...
#Solidity #SmartContract #Ethereum #スマートコントラクト

Пікірлер: 13
@smartcontractprogrammer
@smartcontractprogrammer Жыл бұрын
Notes github.com/stakewithus/notes Take a course www.smartcontract.engineer/
@horizon_eth
@horizon_eth 11 ай бұрын
That was a very useful video for me, thanks for letting me know to calculate arbitrage profit for Constant Product AMMs. I just want to ask one more thing, how can we calculate the Arbitrage Profit for Concentrated Liquidity AMMs like Uniswap V3 pools ? I searched on your youtube channel and there wasn't anything about it, so could you explain me how can the profit be calculated on V3 pool ? like WETH-USDC pool? thanks.
@smartcontractprogrammer
@smartcontractprogrammer 11 ай бұрын
easiest way is to simulate the transaction before sending
@horizon_eth
@horizon_eth 11 ай бұрын
@@smartcontractprogrammer thanks for the info.
@Namids
@Namids Жыл бұрын
Please am slowly following all your videos...
@breeze2375
@breeze2375 Жыл бұрын
you can adjust playback speed to a lower speed. this video also has close captions which you can use to make notes. programming is a sport, you gotta code and code and code and code till you hear someone speak this fast and you can grasp the concept. enjoy and happy hacking!
@crashbdx
@crashbdx Жыл бұрын
Very interesting, how can we calculate the optimum dx amount to sell for maximum profit?
@smartcontractprogrammer
@smartcontractprogrammer Жыл бұрын
calculate dx that will bring P to P - dp
@luce36
@luce36 Жыл бұрын
😵‍💫
@comechina
@comechina 11 ай бұрын
is it possible to use the same method between 2 AMM or a CEX must be use because of the CEX price certainty?
@smartcontractprogrammer
@smartcontractprogrammer 11 ай бұрын
Math also works for 2 AMM, assuming the one of them has a deep liquidity. Here we replace the CEX with the AMM with the larger liquidity.
@ViralKiller
@ViralKiller Жыл бұрын
didnt understand a word
@dipoadekeye8851
@dipoadekeye8851 Жыл бұрын
This calculation is too complex, wish you could explain it simply to us amateurs
Uniswap V3 Capital Efficiency | DeFi
6:08
Smart Contract Programmer
Рет қаралды 1,8 М.
Constant Product AMM Math | DeFi
25:40
Smart Contract Programmer
Рет қаралды 12 М.
小天使和小丑太会演了!#小丑#天使#家庭#搞笑
00:25
家庭搞笑日记
Рет қаралды 55 МЛН
World‘s Strongest Man VS Apple
01:00
Browney
Рет қаралды 35 МЛН
Staking Rewards - Math, Examples and Algorithm | DeFi
43:06
Smart Contract Programmer
Рет қаралды 7 М.
Uniswap V2 Arbitrage Optimal Amount In
18:51
Smart Contract Programmer
Рет қаралды 2,8 М.
Uniswap V3 - Curve of Real Reserves | DeFi
13:27
Smart Contract Programmer
Рет қаралды 5 М.
UNISWAP V3 - New Era Of AMMs? Architecture Explained
16:49
Finematics
Рет қаралды 176 М.
Quant Strategy: Arbitrage Trading Algorithm (Cross-Exchange)
15:37
But how does bitcoin actually work?
25:16
3Blue1Brown
Рет қаралды 15 МЛН
Lecture 5.5 AMM Arbitrage
12:09
Berkeley RDI Center on Decentralization & AI
Рет қаралды 3 М.
Lecture 5.8 How to Detect Trading Opportunities in DeFi
18:02
Berkeley RDI Center on Decentralization & AI
Рет қаралды 3 М.
Uniswap V2 - Pricing | DeFi
9:23
Smart Contract Programmer
Рет қаралды 17 М.
小天使和小丑太会演了!#小丑#天使#家庭#搞笑
00:25
家庭搞笑日记
Рет қаралды 55 МЛН