'Track and record values each day.
Parameters
**kwargs
The names and values to record.
Notes
These values will appear in the performance packets and the performance
dataframe passed to ``analyze`` and returned from
:func:`~zipline.run_algorithm`.'

@api_method
def record(self, *args, **kwargs):

    args = ([iter(args)] * 2)
    positionals = zip(*args)
    for (name, value) in chain(positionals, iteritems(kwargs)):
        self._recorded_vars[name] = value
