tradeapi: fix GetMinAmount()

Signed-off-by: Victor Shcherbinin <victorshch@gmail.com>