MCPcopy Index your code

hub / github.com/quantopian/zipline / types & classes

Types & classes1,004 in github.com/quantopian/zipline

↓ 219 callersClassrange
Lazy range object with constant time containment check. The arguments are the same as ``range``.
zipline/utils/range.py:10
↓ 216 callersClassTimestamp
A click parameter that parses the value into pandas.Timestamp objects. Parameters ---------- tz : timezone-coercable, optional Th
zipline/utils/cli.py:61
↓ 127 callersClassPipeline
A Pipeline object represents a collection of named expressions to be compiled and executed by a PipelineEngine. A Pipeline has two impor
zipline/pipeline/pipeline.py:16
↓ 97 callersClassColumn
An abstract column of data, not yet associated with a dataset.
zipline/pipeline/data/dataset.py:39
↓ 64 callersClassLabelArray
An ndarray subclass for working with arrays of strings. Factorizes the input array into integers, but overloads equality on strings to c
zipline/lib/labelarray.py:91
↓ 52 callersClassF
tests/pipeline/test_factor.py:72
↓ 47 callersClassEquityCalendarDomain
An equity domain whose sessions are defined by a named TradingCalendar. Parameters ---------- country_code : str ISO-3166 tw
zipline/pipeline/domain.py:147
↓ 42 callersClassSomeFactor
tests/pipeline/test_term.py:71
↓ 30 callersClassOrder
zipline/finance/order.py:41
↓ 27 callersClassReturns
Calculates the percent change in close price over the given window_length. **Default Inputs**: [EquityPricing.close]
zipline/pipeline/factors/basic.py:38
↓ 25 callersClassExchangeInfo
An exchange where assets are traded. Parameters ---------- name : str or None The full name of the exchange, for example 'NEW YOR
zipline/assets/exchange_info.py:4
↓ 25 callersClassSimulationParameters
zipline/finance/trading.py:28
↓ 24 callersClassSimplePipelineEngine
PipelineEngine class that computes each term independently. Parameters ---------- get_loader : callable A function that is g
zipline/pipeline/engine.py:230
↓ 22 callersClassArgument
An argument to a function. Argument.no_default is a value representing no default to the argument. Argument.ignore is a value that says y
zipline/utils/argcheck.py:58
↓ 22 callersClassMarketOrder
Execution style for orders to be filled at current market price. This is the default for orders placed with :func:`~zipline.api.order`.
zipline/finance/execution.py:55
↓ 21 callersClassNumExprFactor
Factor computed from a numexpr expression. Parameters ---------- expr : string A string suitable for passing to numexpr. All
zipline/pipeline/factors/factor.py:1348
↓ 18 callersClassAdjustedArray
An array that can be iterated with a variable-length window, and which can provide different views on data from different perspectives.
zipline/lib/adjusted_array.py:181
↓ 17 callersClassC
tests/pipeline/test_classifier.py:31
↓ 17 callersClassTimedelta
A click parameter that parses values into pd.Timedelta objects. Parameters ---------- unit : {'D', 'h', 'm', 's', 'ms', 'us', 'ns'}, opti
zipline/utils/cli.py:106
↓ 17 callersClasstmp_asset_finder
Create a temporary asset finder using an in memory sqlite db. Parameters ---------- url : string The URL for the database connect
zipline/testing/core.py:835
↓ 16 callersClassMultipleOutputs
tests/pipeline/test_term.py:103
↓ 15 callersClassAssetExists
Pseudo-filter describing whether or not an asset existed on a given day. This is the default mask for all terms that haven't been passed a ma
zipline/pipeline/term.py:402
↓ 15 callersClassSimpleMovingAverage
Average Value of an arbitrary column **Default Inputs**: None **Default Window Length**: None
zipline/pipeline/factors/basic.py:99
↓ 15 callersClassSimulationBlotter
zipline/finance/blotter/simulation_blotter.py:43
↓ 14 callersClassBcolzMinuteBarReader
Reader for data written by BcolzMinuteBarWriter Parameters ---------- rootdir : string The root directory containing the met
zipline/data/minute_bars.py:887
↓ 13 callersClassDataFrameLoader
A PipelineLoader that reads its input from DataFrames. Mostly useful for testing, but can also be used for real work if your data fits i
zipline/pipeline/loaders/frame.py:32
↓ 13 callersClassInput
tests/pipeline/test_filter.py:575
↓ 13 callersClassMask
tests/pipeline/test_factor.py:98
↓ 12 callersClassAssetIDPlusDay
zipline/testing/core.py:1597
↓ 12 callersClassDailyLedgerField
Like :class:`~zipline.finance.metrics.metric.SimpleLedgerField` but also puts the current value in the ``cumulative_perf`` section. Parameter
zipline/finance/metrics/metric.py:68
↓ 11 callersClassDataPortal
Interface to all of the data that a zipline simulation needs. This is used by the simulation runner to answer questions about the data, like
zipline/data/data_portal.py:100
↓ 10 callersClassAlways
A rule that always triggers.
zipline/utils/events.py:330
↓ 10 callersClassBlazeLoader
A PipelineLoader for datasets constructed with ``from_blaze``. Parameters ---------- dsmap : mapping, optional An initial mapping
zipline/pipeline/loaders/blaze/core.py:810
↓ 10 callersClassEquitySessionDomain
A domain built directly from an index of sessions. Mostly useful for testing. Parameters ---------- sessions : pd.DatetimeIndex
zipline/pipeline/domain.py:374
↓ 10 callersClassFixedSlippage
Simple model assuming a fixed-size spread for all assets. Parameters ---------- spread : float, optional Size of the assumed
zipline/finance/slippage.py:341
↓ 10 callersClassLimitOrder
Execution style for orders to be filled at a price equal to or better than a specified limit price. Parameters ---------- limit_
zipline/finance/execution.py:72
↓ 10 callersClassNoRestrictions
A no-op restrictions that contains no restrictions.
zipline/finance/asset_restrictions.py:119
↓ 9 callersClassBcolzDailyBarReader
Reader for raw pricing data written by BcolzDailyOHLCVWriter. Parameters ---------- table : bcolz.ctable The ctable contanin
zipline/data/bcolz_daily_bars.py:376
↓ 9 callersClassC
tests/pipeline/test_factor.py:84
↓ 9 callersClassPerShare
Calculates a commission for a transaction based on a per share cost with an optional minimum cost per trade. Parameters ----------
zipline/finance/commission.py:144
↓ 9 callersClassSymbolNotFound
Raised when a symbol() call contains a non-existant symbol.
zipline/errors.py:345
↓ 8 callersClassArrayPredicate
A filter applying a function from (ndarray, *args) -> ndarray[bool]. Parameters ---------- term : zipline.pipeline.Term Term
zipline/pipeline/filters/filter.py:553
↓ 8 callersClassAssetID
CustomFactor that returns the AssetID of each asset. Useful for providing a Factor that produces a different value for each asset.
zipline/testing/core.py:1583
↓ 8 callersClassBcolzDailyBarWriter
Class capable of writing daily OHLCV data to disk in a format that can be read efficiently by BcolzDailyOHLCVReader. Parameters ----
zipline/data/bcolz_daily_bars.py:117
↓ 8 callersClassF
tests/pipeline/test_term.py:519
↓ 8 callersClassHistoricalRestrictions
Historical restrictions stored in memory with effective dates for each asset. Parameters ---------- restrictions : iterable of n
zipline/finance/asset_restrictions.py:155
↓ 8 callersClassNotThisMethod
versioneer.py:419
↓ 8 callersClassNthTradingDayOfWeek
A rule that triggers on the nth trading day of the week. This is zero-indexed, n=0 is the first trading day of the week.
zipline/utils/events.py:500
↓ 8 callersClassRollingSumDifference
tests/pipeline/test_engine.py:97
↓ 8 callersClassSimpleBeta
Factor producing the slope of a regression line between each asset's daily returns to the daily returns of a single "target" asset. Para
zipline/pipeline/factors/statistical.py:484
↓ 8 callersClassSomeFactor
tests/pipeline/test_pipeline.py:23
↓ 8 callersClassUnsupportedDataType
Raised by CustomFactors with unsupported dtypes.
zipline/errors.py:698
↓ 8 callersClassmappingproxy
zipline/utils/compat.py:29
↓ 7 callersClassAfterOpen
A rule that triggers for some offset after the market opens. Example that triggers after 30 minutes of the market opening: >>> AfterOpen
zipline/utils/events.py:356
↓ 7 callersClassAllPresent
Pipeline filter indicating input term has data for a given window.
zipline/pipeline/filters/filter.py:681
↓ 7 callersClassAssetDBWriter
Class used to write data to an assets db. Parameters ---------- engine : Engine or str An SQLAlchemy engine or path to a SQL data
zipline/assets/asset_writer.py:446
↓ 7 callersClassAssetFinder
An AssetFinder is an interface to a database of Asset metadata written by an ``AssetDBWriter``. This class provides methods for looking
zipline/assets/assets.py:276
↓ 7 callersClassBcolzMinuteBarWriter
Class capable of writing minute OHLCV data to disk into bcolz format. Parameters ---------- rootdir : string Path to the roo
zipline/data/minute_bars.py:353
↓ 7 callersClassFixedBasisPointsSlippage
Model slippage as a fixed percentage difference from historical minutely close price, limiting the size of fills to a fixed percentage of his
zipline/finance/slippage.py:602
↓ 7 callersClassFloats
tests/pipeline/test_computable_term.py:19
↓ 7 callersClassPerContract
Calculates a commission for a transaction based on a per contract cost with an optional minimum cost per trade. Parameters ---------
zipline/finance/commission.py:190
↓ 7 callersClassSecurityListSet
zipline/utils/security_list.py:98
↓ 7 callersClassSomeFilter
tests/pipeline/test_filter.py:90
↓ 7 callersClassStaticRestrictions
Static restrictions stored in memory that are constant regardless of dt for each asset. Parameters ---------- restricted_list :
zipline/finance/asset_restrictions.py:129
↓ 7 callersClassSubClass
tests/utils/test_final.py:34
↓ 7 callersClassVolumeShareSlippage
Model slippage as a quadratic function of percentage of historical volume. Orders to buy will be filled at:: price * (1 + price_impa
zipline/finance/slippage.py:247
↓ 7 callersClassinstance_of
An object that compares equal to any instance of a given type or types. Parameters ---------- types : type or tuple[type] The typ
zipline/testing/predicates.py:96
↓ 6 callersClassBenchmarkSource
zipline/sources/benchmark_source.py:25
↓ 6 callersClassDates
tests/pipeline/test_computable_term.py:31
↓ 6 callersClassEventsLoader
Base class for PipelineLoaders that supports loading the next and previous value of an event field. Does not currently support adjustmen
zipline/pipeline/loaders/events.py:61
↓ 6 callersClassInts
tests/pipeline/test_computable_term.py:67
↓ 6 callersClassMinuteResampleSessionBarReader
zipline/data/resample.py:513
↓ 6 callersClassMovingAverageConvergenceDivergenceSignal
Moving Average Convergence/Divergence (MACD) Signal line https://en.wikipedia.org/wiki/MACD A technical indicator originally developed b
zipline/pipeline/factors/technical.py:305
↓ 6 callersClassNextEarningsEstimatesLoader
zipline/pipeline/loaders/earnings_estimates.py:728
↓ 6 callersClassNoDataOnDate
Raised when a spot price cannot be found for the sid and date.
zipline/data/bar_reader.py:18
↓ 6 callersClassNotThisMethod
zipline/_version.py:46
↓ 6 callersClassPreviousEarningsEstimatesLoader
zipline/pipeline/loaders/earnings_estimates.py:787
↓ 6 callersClassRollingLinearRegressionOfReturns
Perform an ordinary least-squares regression predicting the returns of all other assets on the given asset. Parameters ----------
zipline/pipeline/factors/statistical.py:365
↓ 6 callersClassStrs
tests/pipeline/test_computable_term.py:53
↓ 6 callersClassTransaction
zipline/finance/transaction.py:24
↓ 6 callersClassVolatilityVolumeShare
Model slippage for futures contracts according to the following formula: new_price = price + (price * MI / 10000), where 'MI' is ma
zipline/finance/slippage.py:524
↓ 6 callersClass_RunAlgoError
Signal an error that should have a different message if invoked from the cli. Parameters ---------- pyfunc_msg : str The mess
zipline/utils/run_algo.py:37
↓ 5 callersClassBadBinaryOperator
Called when a bad binary operation is encountered. Parameters ---------- op : str The attempted operation left : zipline
zipline/pipeline/expression.py:106
↓ 5 callersClassBeforeClose
A rule that triggers for some offset time before the market closes. Example that triggers for the last 30 minutes every day: >>> BeforeC
zipline/utils/events.py:412
↓ 5 callersClassExprData
A pair of expressions and data resources. The expressions will be computed using the resources as the starting scope. Parameters --------
zipline/pipeline/loaders/blaze/core.py:722
↓ 5 callersClassFoo
tests/utils/test_preprocess.py:169
↓ 5 callersClassMockDailyBarReader
zipline/testing/core.py:979
↓ 5 callersClassMyFactor
tests/pipeline/test_hooks.py:471
↓ 5 callersClassNamedExplodingObject
An object which has no attributes but produces a more informative error message when accessed. Parameters ---------- name : str
zipline/utils/exploding_object.py:1
↓ 5 callersClassNamespace
A placeholder object representing a namespace level
zipline/extensions.py:86
↓ 5 callersClassPerTrade
Calculates a commission for a transaction based on a per trade cost. For orders that require multiple fills, the full commission is charged
zipline/finance/commission.py:280
↓ 5 callersClassRSI
Relative Strength Index **Default Inputs**: :data:`zipline.pipeline.data.EquityPricing.close` **Default Window Length**: 15
zipline/pipeline/factors/technical.py:43
↓ 5 callersClassRollingPearsonOfReturns
Calculates the Pearson product-moment correlation coefficient of the returns of the given asset with the returns of all other assets. Pe
zipline/pipeline/factors/statistical.py:222
↓ 5 callersClassRollingSpearmanOfReturns
Calculates the Spearman rank correlation coefficient of the returns of the given asset with the returns of all other assets. Parameters
zipline/pipeline/factors/statistical.py:315
↓ 5 callersClassSomeOtherFactor
tests/pipeline/test_term.py:80
↓ 5 callersClassStopLimitOrder
Execution style representing a limit order to be placed if market price reaches a threshold. Parameters ---------- limit_price :
zipline/finance/execution.py:131
↓ 5 callersClassTrivialFactor
A CustomFactor that doesn't do any work. This is used to test that we correctly track date bounds in hooks in the presence of windowed c
tests/pipeline/test_hooks.py:29
↓ 5 callersClassUsesSlicedInput
tests/pipeline/test_slice.py:74
↓ 5 callersClass_WeakArgs
Works with _WeakArgsDict to provide a weak cache for function args. When any of those args are gc'd, the pair is removed from the cache.
zipline/utils/memoize.py:123
↓ 4 callersClassAll
A Filter requiring that assets produce True for ``window_length`` consecutive days. **Default Inputs:** None **Default Window Lengt
zipline/pipeline/filters/smoothing.py:10
next →1–100 of 1,004, ranked by callers