~snip
Awesome test tx! Suggestion: raise "Time Delay Price", by the moment the bot sends the BUY order and the moment it is placed correctly on the order book, might pass a few seconds (especially if your original order is split in microorders) so, if the price stays cheap enough, the bot would keep buying over your Max Balance%, until the poloniex callback says us the orders are placed.
~Gun