replaced old order function with new one that checks amount and then passes on arguments to new place_order function
forgot to add the updates to trading.py in the last commit