'Returns the number of shares.
This will be a possitive number for a long position, and a negative number for a short position.
.. note::
If the entry order was not filled, or if the position is closed, then the number of shares will be 0.'

def getShares(self):

    return self.__shares
