RageTrade / utilities

Arbitrage bot for FTX and RageTrade
7 stars 5 forks source link

Position size would not be equal when we are shorting on rage #7

Closed 0xDosa closed 2 years ago

0xDosa commented 2 years ago

https://github.com/RageTrade/arbitrage-bot/blob/6f7e0c61b02e51509c47706055e8f991d21af1d6/arbitrage-bot/execute.ts#L127 Here since numerator is same but denominator is different position size on the two platforms would not be same. Is this intentional?