MCPcopy Create free account

hub / github.com/ailabx/alphalab / functions

Functions269 in github.com/ailabx/alphalab

Methodcalculate_vwap
(group_close, group_volume)
panda_factor/generate/factor_utils.py:353
Functioncall_w_context
(*args, **kwargs)
alphalens/plotting.py:40
Functioncompute_mean_returns_spread
Computes the difference between the mean returns of two quantiles. Optionally, computes the standard error of this difference. Param
alphalens/performance.py:530
Functioncreate_event_study_tear_sheet
Creates an event study tear sheet for analysis of a specific event. Parameters ---------- factor_data : pd.DataFrame - MultiIndex
alphalens/tears.py:614
Functioncreate_full_tear_sheet
Creates a full tear sheet for analysis and evaluating single return predicting (alpha) factor. Parameters ---------- factor_data
alphalens/tears.py:468
Functioncreate_pyfolio_input
Simulate a portfolio using the input factor and returns the portfolio performance data properly formatted for Pyfolio analysis. For more
alphalens/performance.py:1046
Functioncustomize
Decorator to set plotting context and axes style during function call.
alphalens/plotting.py:34
Functiondec
(*args, **kwargs)
alphalens/utils.py:79
Functiondemean_forward_returns
Convert forward returns to returns relative to mean period wise all-universe or group returns. group-wise normalization incorporates the
alphalens/utils.py:397
Functionf
(xs)
alphalens/performance.py:610
Functionfactor_alpha_beta
Compute the alpha (excess returns), alpha t-stat (alpha significance), and beta (market exposure) of a factor. A regression is run with t
alphalens/performance.py:265
Functionfactor_rank_autocorrelation
Computes autocorrelation of mean factor ranks in specified time spans. We must compare period to period factor ranks rather than factor value
alphalens/performance.py:620
Functiong
(xs)
alphalens/performance.py:613
Methodget_all
获取所有配置
config.py:131
Methodget_available_functions
获取所有可用的函数列表
panda_factor/generate/factor_engine.py:300
Functionget_bond_list
()
datafeed/ts_utils.py:9
Methodget_current_dt
(self)
backtest/backtrader_strategy.py:170
Methodget_current_holding_symbols
(self)
backtest/backtrader_strategy.py:185
Methodget_data_pos_percent
(self, name)
backtest/backtrader_strategy.py:192
Methodget_my_analyzer
(result)
backtest/backtrader_engine.py:380
Functionmean_information_coefficient
Get the mean information coefficient of specified groups. Answers questions like: What is the mean IC for each month? What is the mea
alphalens/performance.py:80
Functionmean_return_by_quantile
Computes mean returns for factor quantiles across provided forward returns columns. Parameters ---------- factor_data : pd.DataF
alphalens/performance.py:461
Methodnext
(self)
backtest/backtrader_engine.py:68
Methodnext
(self)
backtest/backtrader_strategy.py:303
Functionnon_unique_bin_edges_error
Give user a more informative error in case it is not possible to properly calculate quantiles on the input dataframe (factor)
alphalens/utils.py:54
Methodnotify_order
订单状态通知
backtest/backtrader_strategy.py:25
Methodnotify_trade
(self, trade)
backtest/backtrader_strategy.py:250
Methodopt
(self, strategy,symbols,start_date='20101001', end_date=datetime.now().strftime('%Y%m%d'),*args,**kwargs)
backtest/backtrader_engine.py:372
Functionplot_cumulative_returns
Plots the cumulative returns of the returns series passed in. Parameters ---------- factor_returns : pd.Series Period wise r
alphalens/plotting.py:769
Functionplot_cumulative_returns_by_quantile
Plots the cumulative returns of various factor quantiles. Parameters ---------- quantile_returns : pd.DataFrame Returns by f
alphalens/plotting.py:817
Functionplot_events_distribution
Plots the distribution of events in time. Parameters ---------- events : pd.Series A pd.Series whose index contains at least
alphalens/plotting.py:982
Functionplot_factor_rank_auto_correlation
Plots factor rank autocorrelation over time. See factor_rank_autocorrelation for more details. Parameters ---------- factor_auto
alphalens/plotting.py:633
Functionplot_ic_by_group
Plots Spearman Rank Information Coefficient for a given factor over provided forward returns. Separates by group. Parameters -------
alphalens/plotting.py:606
Functionplot_ic_hist
Plots Spearman Rank Information Coefficient histogram for a given factor. Parameters ---------- ic : pd.DataFrame DataFrame
alphalens/plotting.py:269
Functionplot_ic_qq
Plots Spearman Rank Information Coefficient "Q-Q" plot relative to a theoretical distribution. Parameters ---------- ic : pd.Dat
alphalens/plotting.py:317
Functionplot_ic_ts
Plots Spearman Rank Information Coefficient and IC moving average for a given factor. Parameters ---------- ic : pd.DataFrame
alphalens/plotting.py:214
Functionplot_information_table
(ic_data, return_df=False)
alphalens/plotting.py:180
Functionplot_mean_quantile_returns_spread_time_series
Plots mean period wise returns for factor quantiles. Parameters ---------- mean_returns_spread : pd.Series Series with diffe
alphalens/plotting.py:516
Functionplot_monthly_ic_heatmap
Plots a heatmap of the information coefficient or returns by month. Parameters ---------- mean_monthly_ic : pd.DataFrame The
alphalens/plotting.py:711
Functionplot_quantile_average_cumulative_return
Plots sector-wise mean daily returns for factor quantiles across provided forward price movement columns. Parameters ----------
alphalens/plotting.py:872
Functionplot_quantile_returns_bar
Plots mean period wise returns for factor quantiles. Parameters ---------- mean_ret_by_q : pd.DataFrame DataFrame with quant
alphalens/plotting.py:372
Functionplot_quantile_returns_violin
Plots a violin box plot of period wise returns for factor quantiles. Parameters ---------- return_by_q : pd.DataFrame - MultiIndex
alphalens/plotting.py:452
Functionplot_quantile_statistics_table
(factor_data, return_df=False)
alphalens/plotting.py:198
Functionplot_returns_table
( alpha_beta, mean_ret_quantile, mean_ret_spread_quantile, return_df=False )
alphalens/plotting.py:136
Functionplot_top_bottom_quantile_turnover
Plots period wise top and bottom quantile factor turnover. Parameters ---------- quantile_turnover: pd.Dataframe Quantile tu
alphalens/plotting.py:674
Functionplot_turnover_table
(autocorrelation_data, quantile_turnover, return_df=False)
alphalens/plotting.py:158
Methodprenext
(self)
backtest/backtrader_engine.py:65
Functionprint_table
Pretty print a pandas DataFrame. Uses HTML output if running inside Jupyter Notebook, otherwise formatted text output. Parameters
alphalens/utils.py:438
Functionquantile_calc
(x, _quantiles, _bins, _zero_aware, _no_raise)
alphalens/utils.py:147
Functionquantile_turnover
Computes the proportion of names in a factor quantile that were not in that quantile in the previous period. Parameters ----------
alphalens/performance.py:575
Methodrank_group
(group)
panda_factor/generate/factor_utils.py:13
Functionrate_of_return
Convert returns to 'one_period_len' rate of returns: that is the value the returns would have every 'one_period_len' if they had grown at a s
alphalens/utils.py:864
Methodreload
重新加载配置文件
config.py:127
Methodrolling_argmax
(group)
panda_factor/generate/factor_utils.py:150
Methodrolling_argmin
(group)
panda_factor/generate/factor_utils.py:219
Methodrolling_cov
(s1, s2, window)
panda_factor/generate/factor_utils.py:288
Methodrolling_std
(group)
panda_factor/generate/factor_utils.py:95
Methodrun_strategy
(self, strategy, symbols,start_date='20101001', end_date=datetime.now().strftime('%Y%m%d'),*args,**kwargs)
backtest/backtrader_engine.py:246
Methodscale_group
(group)
panda_factor/generate/factor_utils.py:244
Methodselect_all
(self)
backtest/backtrader_strategy.py:45
Functionsrc_ic
(group)
alphalens/performance.py:54
Functionstd_conversion
one_period_len standard deviation (or standard error) approximation Parameters ---------- period_std: pd.DataFrame DataFrame
alphalens/utils.py:891
Functiontimedelta_strings_to_integers
Converts pandas string representations of timedeltas into integers of days. Parameters ---------- sequence : iterable List o
alphalens/utils.py:971
Functionto_weights
(group, _demeaned, _equal_weight)
alphalens/performance.py:168
Methodts_rank
(group)
panda_factor/generate/factor_utils.py:188
Methodupdate_config
更新配置并保存到文件
config.py:101
Methodvalidate_expression
验证表达式语法
panda_factor/generate/factor_engine.py:304
Methodweight_risk_parity
(self, data_selected)
backtest/backtrader_strategy.py:120
Methodweighted_mean
(x)
panda_factor/generate/factor_utils.py:231
← previous201–269 of 269, ranked by callers