Wednesday, January 4, 2023

2023-01-04 ATOM arb

Let's arb $ATOM.

But before we do that, let's mint some $USK from the $ATOM I have on hand.

But before we do that, let's see how much $ATOM I have on hand.

See how complicated my life is?  this is the part where you shower me with love and sympathy for my complicated life. 

So, the first thing I do is go to BLUE and check my $ATOM-balance: 


61.9 $ATOM

So, let's split the this $ATOM 50/50: mint/arb

I go to BLUE, again, and add 31 $ATOM to my bag, then mint 110 $USK.


That leaves ~31 $ATOM to arb.

Next, I go to ./vern, my main man, ./vern


./vern sez I can arb 31 $ATOM to 5 gazillion $ATOM via the LP KUJI-ATOM order books.

That's totally whack. So, wat do?

I ask ./emily. I ask her nicely.

I propose 4 simple $ATOM-arb-paths. ./emily provides the results of running those paths at market prices.

Based upon those results, it's looking like:
  • ATOM,USK,KUJI,ATOM
I take this $ATOM-arb-path and run it through Mr. gantt. 

This gives me a work-flow so I may track progress of the arb. 

Then I place the FRIST order on the arb-path:



And we're OFT! to the races!

The large sell-order is for an $ATOM-arb, so: I claim the $USK, 


consult ./vern who sez:


  • ATOM,USK,axlUSDC,wETH,USK,ATOM

so I run the gantt-chart 
and place the next order:

  • 2022-01-07 placed: 302.7602 USK -> 319.098 axlUSDC, BUY at 0.9488 fulfilled

I collect the $axlUSDC (the buy-order hit), including the $ATOM arb'd amount.

I consult with ./vern, my main man, ./vern.


./vern be fine with continuing.

So I do:

Okay, the wETH/axlUSDC board is a mess, as $wETH decided to sky this morning. I have one partially-filled order, and, wouldn't you know? it's for my $ATOM-arb.

SO! I have to figure out how to arb with a partial order.

Joy.

./vern? GIT OVAH HEAHE! I NEED YUR HELP! 😤😤😤

So, what I did was to set up two sets of trades:

1. 0.0567 wETH -> _ ATOM

AND

2. The remaining axlUSDC: 247.9447 -> _ ATOM

./vern, my main man, ./vern pathed those trades, coming up with 29.4 $ATOM, which is LESS than the 30.9286 $ATOM we started with.


What to do? 

What I CAN do is get creative with my orders and finesse my way back to 31 $ATOM.

But I'm not going to do that. Why?

I traded $ATOM for $wETH at a deep discount to today's price. AND I have $ATOM-for-arbing in reserve.

I'm going to keep the $wETH gained and declare victory! ✌️

  • 2023-01-09: 30.9286 $ATOM arb cancelled

No comments:

Post a Comment