use available and trading balances, trade form fixes