MCPcopy Create free account

hub / github.com/quantopian/zipline / functions

Functions4,252 in github.com/quantopian/zipline

↓ 1 callersMethodpublish
(self, model)
zipline/pipeline/hooks/progress.py:470
↓ 1 callersFunctionquantiles
Compute rowwise array quantiles on an input.
zipline/lib/quantiles.py:8
↓ 1 callersFunctionrandom_tick_prices
Construct a time series of prices that ticks by a random multiple of ``tick_size`` every period. Parameters ---------- starting_
zipline/testing/core.py:1641
↓ 1 callersMethodread
(self, dts, sids)
zipline/data/minute_bars.py:1414
↓ 1 callersFunctionread_checked_in_benchmark_data
()
zipline/testing/fixtures.py:568
↓ 1 callersFunctionreflected_binary_operator
Factory function for making binary operator methods on a Factor. Returns a function, "reflected_binary_operator" suitable for implementing
zipline/pipeline/factors/factor.py:245
↓ 1 callersFunctionregister
Register a data bundle ingest function. Parameters ---------- name : str The name of the bundle. f : call
zipline/data/bundles/core.py:224
↓ 1 callersFunctionregister
Register a new metrics set. Parameters ---------- name : str The name of the metrics set function : calla
zipline/finance/metrics/core.py:29
↓ 1 callersMethodregister_dataset
Explicitly map a datset to a collection of blaze expressions. Parameters ---------- dataset : DataSet The pipelin
zipline/pipeline/loaders/blaze/core.py:868
↓ 1 callersFunctionremoving
(path)
docs/deploy.py:17
↓ 1 callersFunctionrender
(pieces, style)
versioneer.py:1298
↓ 1 callersFunctionrender
(pieces, style)
zipline/_version.py:390
↓ 1 callersFunctionrender_git_describe
(pieces)
versioneer.py:1261
↓ 1 callersFunctionrender_git_describe
(pieces)
zipline/_version.py:353
↓ 1 callersFunctionrender_git_describe_long
(pieces)
versioneer.py:1280
↓ 1 callersFunctionrender_git_describe_long
(pieces)
zipline/_version.py:372
↓ 1 callersFunctionrender_pep440
(pieces)
versioneer.py:1175
↓ 1 callersFunctionrender_pep440
(pieces)
zipline/_version.py:267
↓ 1 callersFunctionrender_pep440_old
(pieces)
versioneer.py:1241
↓ 1 callersFunctionrender_pep440_old
(pieces)
zipline/_version.py:333
↓ 1 callersFunctionrender_pep440_post
(pieces)
versioneer.py:1215
↓ 1 callersFunctionrender_pep440_post
(pieces)
zipline/_version.py:307
↓ 1 callersFunctionrender_pep440_pre
(pieces)
versioneer.py:1199
↓ 1 callersFunctionrender_pep440_pre
(pieces)
zipline/_version.py:291
↓ 1 callersFunctionrepeat_last_axis
Restride `array` to repeat `count` times along the last axis. Parameters ---------- array : np.array The array to restride.
zipline/utils/numpy_utils.py:223
↓ 1 callersMethodretrieve_futures_contracts
Retrieve Future objects for an iterable of sids. Users generally shouldn't need to this method (instead, they should prefer
zipline/assets/assets.py:570
↓ 1 callersMethodretrieve_split_adjustment_data_for_sid
dates : pd.DatetimeIndex The calendar dates. sid : int The sid for which we want to retrieve adjustments.
zipline/pipeline/loaders/earnings_estimates.py:1217
↓ 1 callersFunctionroll_dts_to_midnight
(dts, trading_day)
zipline/sources/requests_csv.py:29
↓ 1 callersFunctionrotN
Rotate a list of elements. Pulls N elements off the end of the list and appends them to the front. >>> rotN(['a', 'b', 'c', 'd'], 2)
tests/test_labelarray.py:14
↓ 1 callersFunctionround_if_near_integer
Round a to the nearest integer if that integer is within an epsilon of a.
zipline/utils/math_utils.py:74
↓ 1 callersFunctionrun_algorithm
Run a trading algorithm. Parameters ---------- start : datetime The start date of the backtest. end : datetime T
zipline/utils/run_algo.py:296
↓ 1 callersMethodrun_graph
Compute the given TermGraph, seeding the workspace of our engine with `initial_workspace`. Parameters ----------
tests/pipeline/base.py:76
↓ 1 callersMethodrun_pipeline
Compute `pipeline`, providing values for at least `start_date`. Produces a DataFrame containing data for days between `start_date` a
zipline/algorithm.py:2345
↓ 1 callersFunctionsame
Check if two scalar values are "the same". Returns True if `x == y`, or if x and y are both NaN or both NaT.
zipline/utils/numpy_utils.py:366
↓ 1 callersFunctionsame
Check if all values in a sequence are equal. Returns True on empty sequences. Examples -------- >>> same(1, 1, 1, 1) True
zipline/utils/functional.py:88
↓ 1 callersFunctionscan_setup_py
()
versioneer.py:1658
↓ 1 callersFunctionsession_picker
(day)
tests/events/test_events.py:207
↓ 1 callersMethodsetUp
(self)
zipline/testing/fixtures.py:204
↓ 1 callersMethodset_date
(self, dt)
zipline/finance/blotter/blotter.py:28
↓ 1 callersMethodset_extra_rows
(self, term, all_dates, start_date,
zipline/pipeline/graph.py:302
↓ 1 callersMethodset_max_leverage
Set a limit on the maximum leverage of the algorithm. Parameters ---------- max_leverage : float The maximum leve
zipline/algorithm.py:2059
↓ 1 callersMethodset_min_leverage
Set a limit on the minimum leverage of the algorithm. Parameters ---------- min_leverage : float The minimum leve
zipline/algorithm.py:2072
↓ 1 callersMethodset_sid_attrs
Write all the supplied kwargs as attributes of the sid's file.
zipline/data/minute_bars.py:662
↓ 1 callersFunctionsetup
Lives in zipline.__init__ for doctests.
zipline/__init__.py:93
↓ 1 callersFunctionsetup_requirements
(requirements_path, module_names, conda_format=False)
setup.py:232
↓ 1 callersFunctionshift_dates
Shift dates of a pipeline query back by ``shift`` days. Parameters ---------- dates : DatetimeIndex All known dates. sta
zipline/pipeline/loaders/utils.py:267
↓ 1 callersFunctionshould_clean
(name)
zipline/data/bundles/core.py:590
↓ 1 callersMethodshould_trigger
(self, dt)
zipline/utils/events.py:449
↓ 1 callersMethodshould_trigger
(self, dt)
tests/events/test_events.py:492
↓ 1 callersFunctionsimplex_projection
r"""Projection vectors to the simplex domain Implemented according to the paper: Efficient projections onto the l1-ball for learning in high
zipline/examples/olmar.py:111
↓ 1 callersFunctionsimulate_minutes_for_day
Generate a random walk of minute returns which meets the given OHLCV profile for an asset. The volume will be evenly distributed through the d
zipline/testing/core.py:1672
↓ 1 callersFunctionsorted_diff
(rs, ss)
zipline/utils/range.py:309
↓ 1 callersMethodspecialize
Specialize a generic DataSet to a concrete domain. Parameters ---------- domain : zipline.pipeline.domain.Domain
zipline/pipeline/data/dataset.py:442
↓ 1 callersMethodsplit_by_chunk
Split a trace of a chunked pipeline execution into a list of traces for each chunk.
tests/pipeline/test_hooks.py:173
↓ 1 callersMethodsplit_next_and_previous_event_columns
Split requested columns into columns that should load the next known value and columns that should load the previous known value.
zipline/pipeline/loaders/events.py:119
↓ 1 callersMethodstart_chunk
(self, terms, start_date, end_date)
zipline/pipeline/hooks/progress.py:216
↓ 1 callersMethodstart_compute_term
(self, term)
zipline/pipeline/hooks/progress.py:246
↓ 1 callersMethodstart_load_terms
(self, terms)
zipline/pipeline/hooks/progress.py:239
↓ 1 callersMethodstart_of_simulation
(self, ledger, emission_rate,
zipline/finance/metrics/metric.py:263
↓ 1 callersFunctionsubtest
Construct a subtest in a unittest. Consider using ``zipline.testing.parameter_space`` when subtests are constructed over a single input
zipline/testing/core.py:899
↓ 1 callersFunctionsummary_method
(name)
zipline/pipeline/factors/factor.py:429
↓ 1 callersMethodsync_last_sale_prices
(self, dt, data_portal,
zipline/finance/ledger.py:457
↓ 1 callersMethodtearDownClass
(cls)
zipline/testing/fixtures.py:161
↓ 1 callersFunctiontesting_hooks_method
Factory function for making testing methods.
zipline/pipeline/hooks/testing.py:28
↓ 1 callersFunctiontimedelta_to_integral_minutes
Convert a pd.Timedelta to a number of minutes as an int.
zipline/utils/pandas_utils.py:202
↓ 1 callersMethodto_ctable
(self, raw_data, invalid_data_behavior)
zipline/data/bcolz_daily_bars.py:362
↓ 1 callersMethodto_execution_plan
Compile into an ExecutionPlan. Parameters ---------- domain : zipline.pipeline.domain.Domain Domain on w
zipline/pipeline/pipeline.py:177
↓ 1 callersMethodto_simple_graph
Compile into a simple TermGraph with no extra row metadata. Parameters ---------- default_screen : zipline.pipeline.
zipline/pipeline/pipeline.py:218
↓ 1 callersFunctiontrades_by_sid_to_dfs
(trades_by_sid, index)
zipline/testing/core.py:603
↓ 1 callersFunctiontwo_at_a_time
Iterate over ``it``, two elements at a time. ``it`` must yield an even number of times. Examples -------- >>> list(two_at_a_time([1,
tests/pipeline/test_hooks.py:523
↓ 1 callersFunctionunary_op_name
(op)
zipline/pipeline/expression.py:163
↓ 1 callersFunctionunary_operator
Factory function for making unary operator methods for Factors.
zipline/pipeline/factors/factor.py:284
↓ 1 callersFunctionunary_operator
Factory function for making unary operator methods for Filters.
zipline/pipeline/filters/filter.py:114
↓ 1 callersMethoduniversal_mixin_specialization
Create a new subtype of `principal_type` that adds this mixin to ``principal_type``. ``principal_type`` will be one of Factor, Filter
zipline/pipeline/mixins.py:307
↓ 1 callersFunctionunzip
Unzip a length n sequence of length m sequences into m seperate length n sequences. Parameters ---------- seq : iterable[iterable]
zipline/utils/functional.py:190
↓ 1 callersMethodupdate_adjustments
Merge ``adjustments`` with existing adjustments, handling index collisions according to ``method``. Parameters -----
zipline/lib/adjusted_array.py:226
↓ 1 callersMethodupdate_labels
Map a function over baseline and adjustment values in place. Note that the baseline data values must be a LabelArray.
zipline/lib/adjusted_array.py:340
↓ 1 callersFunctionupdate_namespace
A recursive function that takes a root element, list of namespaces, and the value being stored, and assigns namespaces to the root object
zipline/extensions.py:56
↓ 1 callersFunctionvalid_bounds
(t)
zipline/utils/input_validation.py:697
↓ 1 callersMethodvalidate_account_controls
(self)
zipline/algorithm.py:2051
↓ 1 callersMethodvalidate_column
(column_name, term)
zipline/pipeline/pipeline.py:267
↓ 1 callersFunctionvalidate_column_specs
Verify that the columns of ``events`` can be used by an EventsLoader to serve the BoundColumns described by ``next_value_columns`` and ``
zipline/pipeline/loaders/events.py:39
↓ 1 callersFunctionvalidate_column_specs
Verify that the columns of ``events`` can be used by a EarningsEstimatesLoader to serve the BoundColumns described by `columns`.
zipline/pipeline/loaders/earnings_estimates.py:74
↓ 1 callersFunctionvalidate_keys
Validate that a dictionary has an expected set of keys.
zipline/utils/input_validation.py:847
↓ 1 callersMethodvalidate_order_params
Helper method for validating parameters to the order API function. Raises an UnsupportedOrderParameters if invalid arguments are fou
zipline/algorithm.py:1309
↓ 1 callersFunctionvalidate_split_adjusted_column_specs
(name_map, columns)
zipline/pipeline/loaders/earnings_estimates.py:841
↓ 1 callersFunctionverbosify_label
(label)
zipline/testing/debug.py:84
↓ 1 callersFunctionverify_frames_aligned
Verify that DataFrames in ``frames`` have the same indexing scheme and are aligned to ``calendar``. Parameters ---------- frames
zipline/data/in_memory_daily_bars.py:142
↓ 1 callersMethodverify_trace
Verify a trace of a Pipeline execution.
tests/pipeline/test_hooks.py:118
↓ 1 callersFunctionversions_from_file
(filename)
versioneer.py:1146
↓ 1 callersFunctionversions_from_parentdir
(parentdir_prefix, root, verbose)
versioneer.py:1114
↓ 1 callersFunctionversions_from_parentdir
(parentdir_prefix, root, verbose)
zipline/_version.py:96
↓ 1 callersMethodvolumes
The volume field's aggregation returns the sum of all volumes between the market open and the `dt` If there has been no data
zipline/data/resample.py:448
↓ 1 callersMethodwait
Wait until the function is finished executing. Notes ----- In the :class:`~zipline.utils.pool.SequentialPool` case, this is a
zipline/utils/pool.py:45
↓ 1 callersFunctionwas_active
Whether or not `asset` was active at the time corresponding to `reference_date_value`. Parameters ---------- reference_date_valu
zipline/assets/assets.py:1554
↓ 1 callersFunctionweak_lru_cache
Weak least-recently-used cache decorator. If *maxsize* is set to None, the LRU features are disabled and the cache can grow without bound.
zipline/utils/memoize.py:211
↓ 1 callersFunctionwinsorise_uint32
Drops any record where a value would not fit into a uint32. Parameters ---------- df : pd.DataFrame The dataframe to winsorise.
zipline/data/bcolz_daily_bars.py:69
↓ 1 callersFunctionwith_defaults
Decorator for providing dynamic default values for a method. Usages: @with_defaults(foo=lambda self: self.x + self.y) def func(self
tests/pipeline/base.py:27
↓ 1 callersMethodwrite
Write the metadata to a JSON file in the rootdir. Values contained in the metadata are: version : int The value
zipline/data/minute_bars.py:281
↓ 1 callersMethodwrite
Write the frames to the target HDF5 file, using the format used by ``pd.Panel.to_hdf`` Parameters ----------
zipline/data/minute_bars.py:1347
← previousnext →1,301–1,400 of 4,252, ranked by callers