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 __init__(
      self,
      volume_limit=DEFAULT_EQUITY_VOLUME_SLIPPAGE_BAR_LIMIT,
      price_impact=0.1,
  ):
      super(VolumeShareSlippage, self).__init__()
  
      self.volume_limit = volume_limit
      self.price_impact = 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 1 to create a new VolumeShareSlippage object from inherited base classes: SlippageModel with example: obj = VolumeShareSlippage(volume_limit, price_impact)