MCPcopy Create free account

hub / github.com/quantopian/zipline / functions

Functions4,252 in github.com/quantopian/zipline

Method_write
(cal, days, path, data)
zipline/testing/core.py:1509
Methodaccount
(self)
zipline/algorithm.py:1454
Methodaccount
(self)
zipline/finance/ledger.py:794
Methodaccount
(self)
zipline/finance/metrics/tracker.py:152
Methodadd_frame
zipline/utils/data.py:150
Methodadd_frame
zipline/utils/data.py:329
Methodadjustment_reader
(self)
zipline/data/data_portal.py:1424
Methodalive
(self)
zipline/utils/memoize.py:153
Methodall_assets
A list of Assets for all sids in cls.asset_finder.
zipline/testing/fixtures.py:474
Methodall_calendars
A list of all calendars for assets in this test suite.
zipline/testing/fixtures.py:493
Methodall_sessions
(self)
zipline/pipeline/domain.py:128
Methodall_sessions
(self)
zipline/pipeline/domain.py:193
Methodall_sessions
(self)
zipline/pipeline/domain.py:421
Methodalways_trigger
A should_trigger implementation that will always trigger.
zipline/utils/events.py:335
Functionanalyze
(context=None, results=None)
zipline/examples/buyapple.py:39
Functionanalyze
(context=None, results=None)
zipline/examples/dual_ema_talib.py:82
Functionanalyze
(context=None, results=None)
zipline/examples/dual_moving_average.py:69
Functionanalyze
(context=None, results=None)
zipline/examples/olmar.py:151
Methodanalyze
(context, perf)
tests/test_algorithm.py:3485
Methodand_
Logical and of two rules, triggers only when both rules trigger. This follows the short circuiting rules for normal and.
zipline/utils/events.py:271
Functionapi_method
(f)
zipline/utils/api_support.py:44
Functionapply
Apply a function to arguments. Parameters ---------- f : callable The function to call. *args, **kwargs **kwargs
zipline/utils/functional.py:13
Methodapply_date
(idx, offset=0)
tests/pipeline/test_engine.py:834
Methodarena
(self)
zipline/finance/trading.py:104
Methodarglebargle
()
tests/utils/test_preprocess.py:92
Methodargs
(self)
zipline/pipeline/hooks/testing.py:20
Functionas_labelarray
Curried wrapper around LabelArray, that round-trips the input data through `initial_dtype` first.
tests/pipeline/test_adjusted_array.py:90
Methodasdict
(self)
zipline/finance/slippage.py:213
MethodassertRaisesRegex
(self, *args, **kwargs)
zipline/testing/fixtures.py:254
Functionassert_adjustment_equal
(result, expected, path=(), **kwargs)
zipline/testing/predicates.py:692
Functionassert_asset_equal
(result, expected, path=(), msg='', **kwargs)
zipline/testing/predicates.py:779
Functionassert_categorical_equal
(result, expected, path=(), msg='', **kwargs)
zipline/testing/predicates.py:674
Methodassert_compute
(cls, estimate, today)
tests/pipeline/test_quarters_estimates.py:939
Methodassert_compute
(self, estimate, today)
tests/pipeline/test_quarters_estimates.py:966
Methodassert_compute
(self, estimate, today)
tests/pipeline/test_quarters_estimates.py:997
Functionassert_datasource_unframe_protocol
Assert that an event is valid output of zp.DATASOURCE_UNFRAME.
zipline/gens/utils.py:60
Functionassert_dict_equal
(result, expected, path=(), msg='', **kwargs)
zipline/testing/predicates.py:463
Methodassert_doesnt_resolve
(symbol, as_of_date)
tests/test_assets.py:1766
Functionassert_float_equal
(result, expected, path=(), msg='',
zipline/testing/predicates.py:399
Methodassert_get_history_window_called
Assert that get_history_window was called during fun(). Takes in a function fun and a boolean is_legacy.
tests/test_api_shim.py:251
Methodassert_get_spot_value_called
Assert that get_spot_value was called during the execution of fun. Takes in a function fun and a string field.
tests/test_api_shim.py:223
Functionassert_is_not_subclass
Assert that ``not_subcls`` is not a subclass of ``cls``. Parameters ---------- not_subcls : type The type to check. cls : typ
zipline/testing/predicates.py:247
Methodassert_keywords_and_call
(*args, **kwargs)
zipline/utils/input_validation.py:836
Functionassert_labelarray_equal
(result, expected, path=(), **kwargs)
zipline/testing/predicates.py:609
Functionassert_ndframe_equal
(result, expected, path=(), msg='', **kwargs)
zipline/testing/predicates.py:640
Functionassert_ordereddict_equal
(result, expected, path=(), **kwargs)
zipline/testing/predicates.py:521
Methodassert_resolves_in_each_country
(symbol, as_of_date, s
tests/test_assets.py:1780
Functionassert_set_equal
(result, expected, path=(), msg='', **kwargs)
zipline/testing/predicates.py:555
Functionassert_single_position
(test, zipline)
zipline/testing/core.py:128
Functionassert_slice_equal
(result, expected, path=(), msg='')
zipline/testing/predicates.py:753
Functionassert_timestamp_and_datetime_equal
Branch for comparing python datetime (which includes pandas Timestamp) and np.datetime64 as equal. Returns raises unless ``allow_datetim
zipline/testing/predicates.py:706
Functionassert_timestamp_equal
Assert that two pandas Timestamp objects are the same. Parameters ---------- left, right : pd.Timestamp The values to compar
zipline/testing/core.py:1019
Functionassert_trade_protocol
Assert that an event meets the protocol for datasource TRADE outputs.
zipline/gens/utils.py:50
Methodassert_window_prices
(window, prices)
tests/test_history.py:2148
Methodasset
Get the asset whose data is selected by this slice.
zipline/pipeline/mixins.py:637
Methodasset
(sid, symbol, start_date, end_date)
tests/test_assets.py:2250
Methodasset_end_dates
(self)
zipline/data/hdf5_daily_bars.py:694
Methodasset_start_dates
(self)
zipline/data/hdf5_daily_bars.py:690
Methodassets
(self)
tests/data/test_daily_bars.py:197
Methodassets_by_calendar
A dict from calendar -> list of assets with that calendar.
zipline/testing/fixtures.py:487
Functionasssert_mappingproxy_equal
(result, expected, path=(), msg='', **kwargs)
zipline/testing/predicates.py:490
Methodattach_pipeline
Register a pipeline to be computed at the start of each day. Parameters ---------- pipeline : Pipeline The pipeli
zipline/algorithm.py:2243
Methodayy_lmao
()
tests/metrics/test_core.py:43
Methodbad_compare
(opname, other)
zipline/pipeline/classifiers/classifier.py:123
Functionbarf
(*args, **kwargs)
zipline/pipeline/loaders/blaze/core.py:198
Methodbarf
(context, data)
tests/pipeline/test_pipeline_algo.py:248
Methodbase_mask
(self)
tests/pipeline/test_engine.py:823
Methodbatch_market_order
Place a batch market order for multiple assets. Parameters ---------- share_counts : pd.Series[Asset -> int] Map
zipline/algorithm.py:1894
Methodbatch_order
(self, *args, **kwargs)
zipline/testing/core.py:1578
Functionbefore_trading_start
(context, data)
zipline/examples/momentum_pipeline.py:75
Methodbefore_trading_start
(algo, data)
tests/test_tradesimulation.py:60
Methodbefore_trading_start
(context, data)
tests/pipeline/test_pipeline_algo.py:272
Methodbefore_trading_start
(context, data)
tests/pipeline/test_pipeline_algo.py:681
Methodbefore_trading_start
(context, data)
tests/pipeline/test_pipeline_algo.py:776
Methodbindings
(self)
zipline/pipeline/expression.py:324
Methodbroadcastable_col
(value, dtype)
tests/test_labelarray.py:206
Methodbroadcastable_row
(value, dtype)
tests/test_labelarray.py:203
Methodbuild_extensions
Lazily append numpy's include directory to Extension includes. This is done here rather than at module scope because
setup.py:65
Methodbundle_ingest
(environ, asset_db_writer, minute_bar_writer,
tests/data/bundles/test_core.py:106
Methodbundle_ingest_create_writers
( environ, asset_db_writer, minute_bar_writer,
tests/data/bundles/test_core.py:288
Methodbundle_ingest_no_create_writers
(*args, **kwargs)
tests/data/bundles/test_core.py:274
Functionbundles
List all of the available data bundles.
zipline/__main__.py:432
Functioncache_clear
Clear the cache and cache statistics
zipline/utils/memoize.py:110
Functioncache_info
Report cache statistics
zipline/utils/memoize.py:105
Functioncache_path
Get a path relative to the zipline cache directory. Parameters ---------- paths : iterable[str] List of requested path piece
zipline/utils/paths.py:237
Methodcal
(self)
zipline/utils/events.py:248
Methodcal
(self)
zipline/utils/events.py:321
Methodcal
(self)
zipline/utils/events.py:576
Methodcalculate
Calculate the amount of commission to charge on ``order`` as a result of ``transaction``. Parameters ----------
zipline/finance/commission.py:49
Methodcalculate
(order, transaction)
zipline/finance/commission.py:85
Methodcalculate
(self, order, transaction)
zipline/finance/commission.py:266
Methodcalculate
If the order hasn't had a commission paid yet, pay the fixed commission.
zipline/finance/commission.py:307
Methodcalculate
(order, transaction)
tests/metrics/test_metrics.py:391
Methodcalculate
(self, order, transaction)
tests/finance/test_commissions.py:82
Methodcalculate
(self, order, transaction)
tests/finance/test_commissions.py:89
Methodcalculate
(self, order, transaction)
tests/finance/test_commissions.py:115
Methodcalculate_minute_capital_changes
(dt)
zipline/gens/tradesimulation.py:191
Methodcalendar
The trading calendar that this exchange uses.
zipline/assets/exchange_info.py:49
Methodcalendar
(self)
zipline/pipeline/domain.py:190
Methodcancel
Cancel a single order Parameters ---------- order_id : int The id of the order relay_status : bool
zipline/finance/blotter/blotter.py:90
← previousnext →2,001–2,100 of 4,252, ranked by callers