Module ImportFrom alias ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults kwarg body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return NameLoad decorator_list Assign NameStore NameLoad Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore Str decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Return CompareGt Call NameLoad AttributeLoad NameLoad attr Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return Str Return Str decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return Str Return Str decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return Str Return Str decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad Str attr decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore Str decorator_list
N/A zipline.utils.memoize lazyval ZiplineError N/A Exception N/A N/A msg None __init__ N/A N/A self N/A kwargs N/A N/A N/A self kwargs kwargs N/A message N/A N/A self N/A N/A N/A N/A str self N/A lazyval __str__ N/A N/A self N/A N/A N/A msg N/A N/A N/A self msg format N/A self kwargs N/A msg N/A N/A __unicode__ __str__ N/A __repr__ __str__ N/A NoTradeDataAvailable N/A ZiplineError N/A N/A N/A NoTradeDataAvailableTooEarly N/A NoTradeDataAvailable N/A N/A msg {sid} does not exist on {dt}. It started trading on {start_dt}. N/A NoTradeDataAvailableTooLate N/A NoTradeDataAvailable N/A N/A msg {sid} does not exist on {dt}. It stopped trading on {end_dt}. N/A BenchmarkAssetNotAvailableTooEarly N/A NoTradeDataAvailableTooEarly N/A N/A N/A BenchmarkAssetNotAvailableTooLate N/A NoTradeDataAvailableTooLate N/A N/A N/A InvalidBenchmarkAsset N/A ZiplineError N/A N/A msg N/A N/A 
{sid} cannot be used as the benchmark because it has a stock dividend on {dt}.  Choose another asset to use as the benchmark.
 strip N/A WrongDataForTransform N/A ZiplineError N/A N/A 
    Raised whenever a rolling transform is called on an event that
    does not have the necessary properties.
     N/A msg {transform} requires {fields}. Event cannot be processed. N/A UnsupportedSlippageModel N/A ZiplineError N/A N/A 
    Raised if a user script calls the set_slippage magic
    with a slipage object that isn't a VolumeShareSlippage or
    FixedSlipapge
     N/A msg N/A N/A 
You attempted to set slippage with an unsupported class. Please use VolumeShareSlippage or FixedSlippage.
 strip N/A SetSlippagePostInit N/A ZiplineError N/A N/A msg N/A N/A 
You attempted to set slippage outside of `initialize`. You may only call 'set_slippage' in your initialize method.
 strip N/A SetCancelPolicyPostInit N/A ZiplineError N/A N/A msg N/A N/A 
You attempted to set the cancel policy outside of `initialize`. You may only call 'set_cancel_policy' in your initialize method.
 strip N/A RegisterTradingControlPostInit N/A ZiplineError N/A N/A msg N/A N/A 
You attempted to set a trading control outside of `initialize`. Trading controls may only be set in your initialize method.
 strip N/A RegisterAccountControlPostInit N/A ZiplineError N/A N/A msg N/A N/A 
You attempted to set an account control outside of `initialize`. Account controls may only be set in your initialize method.
 strip N/A UnsupportedCommissionModel N/A ZiplineError N/A N/A 
    Raised if a user script calls the set_commission magic
    with a commission object that isn't a PerShare, PerTrade or
    PerDollar commission
     N/A msg N/A N/A 
You attempted to set commission with an unsupported class. Please use PerShare or PerTrade.
 strip N/A UnsupportedCancelPolicy N/A ZiplineError N/A N/A 
    Raised if a user script calls set_cancel_policy with an object that isn't
    a CancelPolicy.
     N/A msg N/A N/A 
You attempted to set the cancel policy with an unsupported class.  Please use
an instance of CancelPolicy.
 strip N/A SetCommissionPostInit N/A ZiplineError N/A N/A 
    Raised if a users script calls set_commission magic
    after the initialize method has returned.
     N/A msg N/A N/A 
You attempted to override commission outside of `initialize`. You may only call 'set_commission' in your initialize method.
 strip N/A TransactionWithNoVolume N/A ZiplineError N/A N/A 
    Raised if a transact call returns a transaction with zero volume.
     N/A msg N/A N/A 
Transaction {txn} has a volume of zero.
 strip N/A TransactionWithWrongDirection N/A ZiplineError N/A N/A 
    Raised if a transact call returns a transaction with a direction that
    does not match the order.
     N/A msg N/A N/A 
Transaction {txn} not in same direction as corresponding order {order}.
 strip N/A TransactionWithNoAmount N/A ZiplineError N/A N/A 
    Raised if a transact call returns a transaction with zero amount.
     N/A msg N/A N/A 
Transaction {txn} has an amount of zero.
 strip N/A TransactionVolumeExceedsOrder N/A ZiplineError N/A N/A 
    Raised if a transact call returns a transaction with a volume greater than
the corresponding order.
     N/A msg N/A N/A 
Transaction volume of {txn} exceeds the order volume of {order}.
 strip N/A UnsupportedOrderParameters N/A ZiplineError N/A N/A 
    Raised if a set of mutually exclusive parameters are passed to an order
    call.
     N/A msg {msg} N/A CannotOrderDelistedAsset N/A ZiplineError N/A N/A 
    Raised if an order is for a delisted asset.
     N/A msg {msg} N/A BadOrderParameters N/A ZiplineError N/A N/A 
    Raised if any impossible parameters (nan, negative limit/stop)
    are passed to an order call.
     N/A msg {msg} N/A OrderDuringInitialize N/A ZiplineError N/A N/A 
    Raised if order is called during initialize()
     N/A msg {msg} N/A SetBenchmarkOutsideInitialize N/A ZiplineError N/A N/A 
    Raised if set_benchmark is called outside initialize()
     N/A msg 'set_benchmark' can only be called within initialize function. N/A AccountControlViolation N/A ZiplineError N/A N/A 
    Raised if the account violates a constraint set by a AccountControl.
     N/A msg N/A N/A 
Account violates account constraint {constraint}.
 strip N/A TradingControlViolation N/A ZiplineError N/A N/A 
    Raised if an order would violate a constraint set by a TradingControl.
     N/A msg N/A N/A 
Order for {amount} shares of {asset} at {datetime} violates trading constraint
{constraint}.
 strip N/A IncompatibleHistoryFrequency N/A ZiplineError N/A N/A 
    Raised when a frequency is given to history which is not supported.
    At least, not yet.
     N/A msg N/A N/A 
Requested history at frequency '{frequency}' cannot be created with data
at frequency '{data_frequency}'.
 strip N/A HistoryInInitialize N/A ZiplineError N/A N/A 
    Raised when an algorithm calls history() in initialize.
     N/A msg history() should only be called in handle_data() N/A OrderInBeforeTradingStart N/A ZiplineError N/A N/A 
    Raised when an algorithm calls an order method in before_trading_start.
     N/A msg Cannot place orders inside before_trading_start. N/A MultipleSymbolsFound N/A ZiplineError N/A N/A 
    Raised when a symbol() call contains a symbol that changed over
    time and is thus not resolvable without additional information
    provided via as_of_date.
     N/A msg N/A N/A 
Multiple symbols with the name '{symbol}' found. Use the
as_of_date' argument to to specify when the date symbol-lookup
should be valid.

Possible options:{options}
     strip N/A SymbolNotFound N/A ZiplineError N/A N/A 
    Raised when a symbol() call contains a non-existant symbol.
     N/A msg N/A N/A 
Symbol '{symbol}' was not found.
 strip N/A RootSymbolNotFound N/A ZiplineError N/A N/A 
    Raised when a lookup_future_chain() call contains a non-existant symbol.
     N/A msg N/A N/A 
Root symbol '{root_symbol}' was not found.
 strip N/A SidsNotFound N/A ZiplineError N/A N/A 
    Raised when a retrieve_asset() or retrieve_all() call contains a
    non-existent sid.
     plural N/A N/A self N/A N/A N/A N/A N/A len N/A self sids 1 N/A lazyval sids N/A N/A self N/A N/A N/A N/A N/A self kwargs N/A sids N/A lazyval msg N/A N/A self N/A N/A N/A N/A self plural N/A N/A No assets found for sids: {sids}. N/A No asset found for sid: {sids[0]}. N/A lazyval N/A EquitiesNotFound N/A SidsNotFound N/A N/A 
    Raised when a call to `retrieve_equities` fails to find an asset.
     msg N/A N/A self N/A N/A N/A N/A self plural N/A N/A No equities found for sids: {sids}. N/A No equity found for sid: {sids[0]}. N/A lazyval N/A FutureContractsNotFound N/A SidsNotFound N/A N/A 
    Raised when a call to `retrieve_futures_contracts` fails to find an asset.
     msg N/A N/A self N/A N/A N/A N/A self plural N/A N/A No future contracts found for sids: {sids}. N/A No future contract found for sid: {sids[0]}. N/A lazyval N/A ConsumeAssetMetaDataError N/A ZiplineError N/A N/A 
    Raised when AssetFinder.consume() is called on an invalid object.
     N/A msg N/A N/A 
AssetFinder can not consume metadata of type {obj}. Metadata must be a dict, a
DataFrame, or a tables.Table. If the provided metadata is a Table, the rows
must contain both or one of 'sid' or 'symbol'.
 strip N/A MapAssetIdentifierIndexError N/A ZiplineError N/A N/A 
    Raised when AssetMetaData.map_identifier_index_to_sids() is called on an
    index of invalid objects.
     N/A msg N/A N/A 
AssetFinder can not map an index with values of type {obj}. Asset indices of
DataFrames or Panels must be integer sids, string symbols, or Asset objects.
 strip N/A SidAssignmentError N/A ZiplineError N/A N/A 
    Raised when an AssetFinder tries to build an Asset that does not have a sid
    and that AssetFinder is not permitted to assign sids.
     N/A msg N/A N/A 
AssetFinder metadata is missing a SID for identifier '{identifier}'.
 strip N/A NoSourceError N/A ZiplineError N/A N/A 
    Raised when no source is given to the pipeline
     N/A msg N/A N/A 
No data source given.
 strip N/A PipelineDateError N/A ZiplineError N/A N/A 
    Raised when only one date is passed to the pipeline
     N/A msg N/A N/A 
Only one simulation date given. Please specify both the 'start' and 'end' for
the simulation, or neither. If neither is given, the start and end of the
DataSource will be used. Given start = '{start}', end = '{end}'
 strip N/A WindowLengthTooLong N/A ZiplineError N/A N/A 
    Raised when a trailing window is instantiated with a lookback greater than
    the length of the underlying array.
     N/A msg N/A N/A Can't construct a rolling window of length {window_length} on an array of length {nrows}. strip N/A WindowLengthNotPositive N/A ZiplineError N/A N/A 
    Raised when a trailing window would be instantiated with a length less than
    1.
     N/A msg N/A N/A Expected a window_length greater than 0, got {window_length}. strip N/A WindowedInputToWindowedTerm N/A ZiplineError N/A N/A 
    Raised when a windowed Pipeline API term is specified as an input to
    another windowed term.

    This is an error because it's generally not safe to compose windowed
    functions on split/dividend adjusted data.
     N/A msg Can't compute windowed expression {parent} with windowed input {child}. N/A TermInputsNotSpecified N/A ZiplineError N/A N/A 
    Raised if a user attempts to construct a term without specifying inputs and
    that term does not have class-level default inputs.
     N/A msg {termname} requires inputs, but no inputs list was passed. N/A TermOutputsEmpty N/A ZiplineError N/A N/A 
    Raised if a user attempts to construct a term with an empty outputs list.
     N/A msg {termname} requires at least one output when passed an outputs argument. N/A WindowLengthNotSpecified N/A ZiplineError N/A N/A 
    Raised if a user attempts to construct a term without specifying window
    length and that term does not have a class-level default window length.
     N/A msg {termname} requires a window_length, but no window_length was passed. N/A InvalidTermParams N/A ZiplineError N/A N/A 
    Raised if a user attempts to construct a Term using ParameterizedTermMixin
    without specifying a `params` list in the class body.
     N/A msg Expected a list of strings as a class-level attribute for {termname}.params, but got {value} instead. N/A DTypeNotSpecified N/A ZiplineError N/A N/A 
    Raised if a user attempts to construct a term without specifying dtype and
    that term does not have class-level default dtype.
     N/A msg {termname} requires a dtype, but no dtype was passed. N/A NotDType N/A ZiplineError N/A N/A 
    Raised when a pipeline Term is constructed with a dtype that isn't a numpy
    dtype object.
     N/A msg {termname} expected a numpy dtype object for a dtype, but got {dtype} instead. N/A UnsupportedDType N/A ZiplineError N/A N/A 
    Raised when a pipeline Term is constructed with a dtype that's not
    supported.
     N/A msg Failed to construct {termname}.
Pipeline terms of dtype {dtype} are not yet supported. N/A BadPercentileBounds N/A ZiplineError N/A N/A 
    Raised by API functions accepting percentile bounds when the passed bounds
    are invalid.
     N/A msg Percentile bounds must fall between 0.0 and 100.0, and min must be less than max.
Inputs were min={min_percentile}, max={max_percentile}. N/A UnknownRankMethod N/A ZiplineError N/A N/A 
    Raised during construction of a Rank factor when supplied a bad Rank
    method.
     N/A msg Unknown ranking method: '{method}'. `method` must be one of {choices} N/A AttachPipelineAfterInitialize N/A ZiplineError N/A N/A 
    Raised when a user tries to call add_pipeline outside of initialize.
     N/A msg Attempted to attach a pipeline after initialize().attach_pipeline() can only be called during initialize. N/A PipelineOutputDuringInitialize N/A ZiplineError N/A N/A 
    Raised when a user tries to call `pipeline_output` during initialize.
     N/A msg Attempted to call pipeline_output() during initialize. pipeline_output() can only be called once initialize has completed. N/A NoSuchPipeline N/A ZiplineError KeyError N/A N/A 
    Raised when a user tries to access a non-existent pipeline by name.
     N/A msg No pipeline named '{name}' exists. Valid pipeline names are {valid}. Did you forget to call attach_pipeline()? N/A UnsupportedDataType N/A ZiplineError N/A N/A 
    Raised by CustomFactors with unsupported dtypes.
     N/A msg {typename} instances with dtype {dtype} are not supported. N/A NoFurtherDataError N/A ZiplineError N/A N/A 
    Raised by calendar operations that would ask for dates beyond the extent of
    our known data.
     N/A msg {msg} N/A UnsupportedDatetimeFormat N/A ZiplineError N/A N/A 
    Raised when an unsupported datetime is passed to an API method.
     N/A msg The input '{input}' passed to '{method}' is not coercible to a pandas.Timestamp object. N/A PositionTrackerMissingAssetFinder N/A ZiplineError N/A N/A 
    Raised by a PositionTracker if it is asked to update an Asset but does not
    have an AssetFinder
     N/A msg PositionTracker attempted to update its Asset information but does not have an AssetFinder. This may be caused by a failure to properly de-serialize a TradingAlgorithm. N/A AssetDBVersionError N/A ZiplineError N/A N/A 
    Raised by an AssetDBWriter or AssetFinder if the version number in the
    versions table does not match the ASSET_DB_VERSION in asset_writer.py.
     N/A msg The existing Asset database has an incorrect version: {db_version}. Expected version: {expected_version}. Try rebuilding your asset database or updating your version of Zipline. N/A AssetDBImpossibleDowngrade N/A ZiplineError N/A N/A msg The existing Asset database is version: {db_version} which is lower than the desired downgrade version: {desired_version}. N/A HistoryWindowStartsBeforeData N/A ZiplineError N/A N/A msg History window extends before {first_trading_day}. To use this history window, start the backtest on or after {suggested_start_day}. N/A