Module Expr Str ImportFrom alias Import alias identifier Import alias identifier ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad ListLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index CompareGtE AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Return SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad BinOpSub Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Return CompareGt NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Author: James Ma
Email stuff here: jamesmawm@gmail.com
 datetime datetime N/A pandas pd N/A datetime dt StrategyParameters N/A N/A __init__ N/A N/A self evaluation_time_secs resample_interval_secs N/A N/A N/A N/A self resample_interval_secs resample_interval_secs N/A N/A self __evaluation_time_secs evaluation_time_secs N/A N/A self __bootstrap_completed False N/A N/A self last_evaluation_time N/A N/A datetime now N/A N/A self __COL_BETA beta N/A N/A self __COL_VOLATILITY_RATIO volatility_ratio N/A N/A self indicators N/A N/A pd DataFrame columns N/A N/A self __COL_BETA N/A self __COL_VOLATILITY_RATIO N/A add_indicators N/A N/A self beta volatility_ratio N/A N/A N/A timestamp N/A N/A N/A dt datetime now N/A N/A N/A N/A self indicators loc N/A timestamp N/A beta volatility_ratio N/A N/A N/A N/A self indicators sort_index inplace True N/A trim_indicators_series N/A N/A self cutoff_timestamp N/A N/A N/A N/A self indicators N/A N/A self indicators N/A N/A N/A N/A self indicators index cutoff_timestamp N/A get_volatility_ratio N/A N/A self N/A N/A N/A N/A N/A self __get_latest_indicator_value N/A self __COL_VOLATILITY_RATIO 1 N/A get_beta N/A N/A self N/A N/A N/A N/A N/A self __get_latest_indicator_value N/A self __COL_BETA N/A __get_latest_indicator_value N/A N/A self column_name default_value N/A 0 N/A N/A N/A N/A len N/A self indicators 0 N/A N/A N/A N/A N/A N/A self indicators N/A column_name values N/A -1 N/A default_value N/A set_bootstrap_completed N/A N/A self N/A N/A N/A N/A self __bootstrap_completed True N/A N/A N/A self set_new_evaluation_time N/A is_evaluation_time_elapsed N/A N/A self N/A N/A N/A seconds_elapsed N/A N/A N/A N/A datetime now N/A self last_evaluation_time seconds N/A N/A seconds_elapsed N/A self __evaluation_time_secs N/A set_new_evaluation_time N/A N/A self N/A N/A N/A N/A self last_evaluation_time N/A N/A datetime now N/A is_bootstrap_completed N/A N/A self N/A N/A N/A N/A self __bootstrap_completed N/A N/A