autotrade_vending struct to Plugin(HPM)

`autotrade_db_final` (see comment at the function definition)