This commit is contained in:
mvonsteinkirch 2023-02-08 09:08:45 -08:00
parent bf818f2682
commit d3a292bfd1
133 changed files with 26 additions and 40 deletions

View file

@ -0,0 +1,50 @@
## arbitrage
<br>
### tl;dr
<br>
* since **liquidity on-chain is fragmented** (thousands of pools don't communicate with each other, each providing quotes for swapping assets in real-time), it creates an opportunity to buy low and sell high across different pools. for example, two DEXes offer a token at two different prices so that a token can be bought at the lower-priced DEX and sold on the higher-priced DEX in a single atomic transaction.
* due to the nature of the evm's atomic execution, **atomic arbitrages** are possible (as opposed to tradefi): smart contracts allow the packaging a sequential execution of txs, for a set of conditions. if the conditions are not met, the execution can fail, undoing all the on-chain interactions that just occurred.
##### [arbitrage types:](https://mirror.xyz/0xc19565163aFdEe3783FC970E4Bd0275B11848d34/a_v8f9yRqRFAvmOaEltTkPJSt1geSAwQdDps2Avb-DA)
* spatial (exchanges are located in different locations)
* triangular (profit from trading loops)
* statistical (rely on mathematical models for high-frequency arbs)
* cross-exchange
* sandwich
<br>
<img width="350" src="https://user-images.githubusercontent.com/1130416/217386455-c829a750-3bf1-4786-899d-adcb7d816573.png">
<br>
----
### in this dir
<br>
* [arbitrage patterns](patterns)
* [cool arb txs in the wild](mev_bots_wild)
<br>
----
### resources
<br>
* [anatomy of arber bots](https://github.com/go-outside-labs/mev-toolkit/blob/main/anatomy_of_mev_bots/bots/arbers.md)

View file

@ -0,0 +1,15 @@
## interesting mev arb found in the wild
<br>
### 2022
* [arbitrageur begins with 1,000 Wrapped Ether (WETH), and ends up with 1,045](https://etherscan.io/tx/0x5e1657ef0e9be9bc72efefe59a2528d0d730d478cfc9e6cdd09af9f997bb3ef4)
* https://etherscan.io/tx/0x46bf75f983f72ab1e7d391b9b618634d5452d2979bd13e95d7ed83c39b621cae
* https://etherscan.io/tx/0x6ab410a68c9dbc1f4bb9ecf4e63aebbcef1fd6e4f58b1961b5e58fc76093b91c
* https://etherscan.io/tx/0x76e5fb10ce1cf21846839a35eca09d8da5a53512292986e887a705bf4cdec349
* https://etherscan.io/tx/0x565d1b25538e7b8f385d4656e9f3d3e4570eade3af747e49d0464c08db68d1a7
* https://etherscan.io/tx/0xda8ee92d0796af8889f1fc1a71a7072dfeeb5694692f163b77b302bf34393ff8
* https://etherscan.io/tx/0x299c020e03d93caa937e43f21093a4f3e6457efdc27c174495fc2cc1f293e9b2
* https://etherscan.io/tx/0xc649f14593613f93a3ef5dbfba55d50e5b4888ae25e277bba99c6884ffdda86b

View file

@ -0,0 +1,30 @@
## arbitrage patterns
<br>
### tl; dr
<br>
* spatial arbitrage involving one uniswap v3 pool and other venue seems to be the most common in 2022, followed by triangle arbitrage with one or two uniswap v3 pools.
<br>
----
### in this dir
<br>
* [spatial arb](spatial.md)
* [triangle arb](triangle.md)
* [taxed tokens](taxed.md)
<br>
---
### resources

View file

@ -0,0 +1,11 @@
## spatial patterns
### tl; dr
* also known as geographical arbitrage, it occurs when an arbitrageur looks for price differences between geographically separate markets.
<br>
---
### resources

View file

@ -0,0 +1 @@
## taxed tokens

View file

@ -0,0 +1 @@
## triangle pattern