Пример #1
0
    def get_active_position(self):
        """
        Get all of the active position associated with API_KEY - Requires authentication.

        @return Array <models.Position>
        """
        endpoint = "auth/r/positions"
        raw_positions = self.post(endpoint)
        return [Position.from_raw_rest_position(rp) for rp in raw_positions]