- fixed bug that threw error on null amount buying and selling