def positions(self): """Returns the user's positions data Returns: (:object: `dict`): JSON dict from getting positions """ return self.session.get(endpoints.positions(), timeout=15).json()
def securities_owned(self): """Returns list of securities' symbols that the user has shares in Returns: (:object: `dict`): Non-zero positions """ return self.session.get(endpoints.positions() + '?nonzero=true', timeout=15).json()