class_docstr: Model slippage as a function of the volume of contracts traded.
class_docstr_tok: ["Model","slippage","as","a","function","of","the","volume","of","contracts","traded","."]
code: def __repr__(self):
      return """
  {class_name}(
      volume_limit={volume_limit},
      price_impact={price_impact})
  """.strip().format(
          class_name=self.__class__.__name__,
          volume_limit=self.volume_limit,
          price_impact=self.price_impact,
      )
  
imports: from __future__ import division
  from abc import abstractmethod
  import math
  import numpy
  from pandas import isnull
  from six import with_metaclass
  from toolz import merge
  from catalyst.assets import Equity, Future
  from catalyst.errors import HistoryWindowStartsBeforeData
  from catalyst.finance.constants import ROOT_SYMBOL_TO_ETA
  from catalyst.finance.shared import AllowedAssetMarker, FinancialModelMeta
  from catalyst.finance.transaction import create_transaction
  from catalyst.utils.cache import ExpiringCache
  from catalyst.utils.dummy import DummyMapping
label_desc: Use image node_id 2 for calling the VolumeShareSlippage obj's underlying member method code with example usage: obj.__repr__() and returns: str