code: def close_position(self, repay_only):
          
          params = {'repay_only': repay_only}
          return self._send_message('post', '/position/close',
                                    data=json.dumps(params))
docs: Close position.
  
          Args:
              repay_only (bool): Undocumented by cbpro.
  
          Returns:
              Undocumented