Commit Graph

18 Commits

Author SHA1 Message Date
Luke Van Seters
e388271b55 Constrain sandwiches to require the backrun swap to be similar in amount and from the same address as the frontrun 2022-01-10 13:53:10 -05:00
Luke Van Seters
11aebe078a Require price difference to be less than 1% between swaps 2022-01-07 13:06:41 -05:00
Luke Van Seters
69cad7537e Break swap outs / ins check into a function 2022-01-07 12:22:45 -05:00
Luke Van Seters
bb94eba02a Change to max_route_length to make the logic clearer 2022-01-03 16:09:34 -05:00
Luke Van Seters
4e9ff10988 Cut out early from arbitrages if we've already found a shorter path 2022-01-03 15:59:56 -05:00
Luke Van Seters
bd99188f6e Rename rest 2021-12-22 22:41:10 -05:00
Luke Van Seters
fa5be12e81 Fix docstring 2021-12-22 22:41:10 -05:00
Luke Van Seters
22769c9529 Remove TODO - not needed for now 2021-12-22 22:41:10 -05:00
Luke Van Seters
17c9b835ac Simplify smallest logic. Fix tests 2021-12-22 22:41:10 -05:00
Luke Van Seters
46b768c147 Break out shortest logic into a function 2021-12-22 22:41:10 -05:00
Luke Van Seters
46f7786c4f Only keep the shortest route instead 2021-12-22 22:41:10 -05:00
Luke Van Seters
154d356621 Only keep the longest arb 2021-12-22 22:41:10 -05:00
Taarush Vemulapalli
4cb3383d1a New error column for arbitrages (#180) 2021-12-22 08:00:54 -08:00
Gui Heise
d2a1814774 skip start swap 2021-12-06 15:18:32 -05:00
Gui Heise
be19c42275 add start and end route check 2021-12-06 11:52:41 -05:00
Gui Heise
12a82e918b Add contract_address in arbs 2021-11-19 11:03:06 -05:00
Sam Ragsdale
d952287b2d Adjust arbitrage path creation to not depend on pool_address, adjust tests accordingly 2021-10-18 09:29:58 -07:00
Luke Van Seters
f9b3c82d2d Write arbitrages to the DB 2021-08-13 12:44:51 -04:00