jesse/models/Position.py
def type(self) -> str:
        """
        The type of open position - long, short, or close

        :return: str
        """
        if self.qty > 0:
            return 'long'
        if self.qty < 0:
            return 'short'

        return 'close'

        The type of open position - long, short, or close

        :return: str
        
The type of open position - long, short, or close
The type of open position - long short or close
def type(self) -> str:
        if self.qty > 0:
            return 'long'
        if self.qty < 0:
            return 'short'
        return 'close'
def type ( self ) -> str : if self . qty > 0 : return 'long' if self . qty < 0 : return 'short' return 'close'
The type of open position - long, short, or close
The type of open position - long short or close
"""
        The type of open position - long, short, or close

        :return: str
        """
None
self