fixed so that it runs on both python2 and python3, also fixed a miss where I compared the string amount with an integer which always returned true in python2 but is an exception in python3 (thats why I found it), I could have found it if I just thought one step further when doing -int(amount) a few lines down
Merge branch 'master' of github.com:Jim-Holmstroem/stockmarket