My suggestion is to add to the bot the followin functions and class:
lua code:Self.Mount()
Market.GetBuyOffers(itemid) --return all offers in a table {OfferID = a, PlayerName = b, Price = c, Anonymous = true/false}
Market.GetSellOffers(itemid) --return all offers in a table
Market.Buy(itemid, offerid) --buys an item from an specific offer
Market.Sell(itemid, offerid) --sells an item to an specific offer