This needs more bug-testing, but I thought other people might find it useful anyway ;)
The main feature I was working on was the take profit and stop loss, which seem to work (nearly lol).
What this means is that if an opened long position reaches a desired level of profit (as a %) it will close trading (cashing in on the profit before continuing to trade), and if the positions value declines by a set amount (again a percentage) it will also close the trade (preventing further losses).
Hope it comes in useful and feel free to post improvements! (I can count my days using python on one hand still)