I need to find out whether the last closed order was a short or long position for a specific symbol, is this possible?
If so please could you point me in the right direction with some of the functions I will need
Yes. Loop through the Order's history to find the last one and check if it's a short or a long.
Oh wow, how did I not see that -_-