Fix issue #43.
When checking for available balance we should use floor.
Merge pull request #57 from lukavia/master

Fixed rounding issue in price calculation for trader