Arbitrage-Bot icon indicating copy to clipboard operation
Arbitrage-Bot copied to clipboard

Where are you transferring from one exchange to another for the arbitrage?

Open markclayton opened this issue 4 years ago • 1 comments

Hi!

I had a question around the place_buy_sell_order() function. (Great code btw!). In order to profit from the arbitrage, where are you performing the transfer from one to the other. It seems like you are just placing a buy order on exchange1 and a sell order on exchange2. Does ccxt handle that behind the scenes? I'm just trying to understand where the profit is made because from reading it, it seems like this code does not actually make profit.

Thanks!

markclayton avatar Jul 14 '20 15:07 markclayton

Currently, I have commented on the buying and selling functions because it comes with a risk and I don't want to enable them by default.

ccxt does allow for placing orders, you can read more about it here: https://github.com/ccxt/ccxt/wiki/Manual#market-orders.

Unfortunately, I didn't have much time to put in developing this bot. I published it because my client didn't pay for the project so it had no use. If you find it helpful and would like to contribute to making it better, you are welcome to do so :)

andrei-zgirvaci avatar Jul 19 '20 03:07 andrei-zgirvaci