simulateBuy performance issue fix
Merge pull request #26 from SyDr/develop

simulateBuy performance issue fix