There are several market-making bots around, this one is just and only looking to the price spread at one market. As soon as the price spread is higher than the fees combined then a buy and sell order will be sent. This is how profits get generated over time. However, the cutback is located into the price trend. It might very well be possible that only one order gets filled and then this bot fails.