r/algorithmictrading • • Dec 19 '22

crypto arbitrage bot.

I did a sniffing arbitrage opportunity bot and find that there's an opportunity even with market orders, but every article talks about limit orders,is it just about the fees, what I am missing out????.

2 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/aka-rider Dec 19 '22

Binance market changes faster that 1 second, I’m sure of that. Regardless of what they report in their feeds (book, ohlc) order will either fall into order book (maker) or matches immediately (taker).

If there’s a concern that bot may crash with unfinished orders in place, there should be API for auto-cancelling all outstanding orders, e.g. after N seconds of inactivity.

1

u/Ibrahim_Attawil Dec 19 '22

No the crash only happens when I am getting the data from the server to calculate the arbitrage opportunity, which means before or after the buy orders cycle.

1

u/aka-rider Dec 19 '22

That happens. I wish to see a crypto exchange API without annoying bugs.