Module Expr Str ImportFrom alias alias alias Import alias identifier ImportFrom alias alias ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Dict Dict Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad Dict Expr Call NameLoad NameLoad Num Expr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Dict Str Num Dict Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Call NameLoad AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Dict Str Num Dict Expr Call NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Dict ListLoad NameLoad Expr Call NameLoad SubscriptLoad NameLoad Index NameLoad UnaryOpUSub AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr decorator_list decorator_list
N/A N/A 
Tests for insights.managers.gmv
 nose.tools eq_ raises ok_ N/A insights.managers.gmv gmv insights.test_framework FactoryManagerTestCase generate_fake_returns ComputeWeighsTestCase N/A FactoryManagerTestCase N/A N/A N/A GmvManagerTestCase N/A FactoryManagerTestCase N/A test_initialize N/A N/A self N/A N/A N/A manager N/A N/A gmv GlobalMinimumVariance N/A N/A N/A self _check_initialization manager N/A N/A eq_ N/A manager partial_sell 1.0 N/A test_optimize_empty_signals N/A N/A self N/A N/A N/A manager N/A N/A gmv GlobalMinimumVariance N/A N/A alloc e_ret e_risk N/A N/A manager optimize N/A N/A N/A N/A N/A self _check_optimize_return alloc e_ret e_risk N/A N/A eq_ alloc N/A N/A N/A eq_ e_ret 0 N/A N/A eq_ e_risk 1 N/A test_buy_signals_without_returns N/A N/A self N/A N/A N/A manager N/A N/A gmv GlobalMinimumVariance N/A N/A alloc e_ret e_risk N/A N/A manager optimize N/A goog 45.6 N/A N/A N/A N/A self _check_optimize_return alloc e_ret e_risk N/A N/A raises NotImplementedError test_buy_signals N/A N/A self N/A N/A N/A manager N/A N/A gmv GlobalMinimumVariance N/A N/A N/A manager advise historical_prices N/A generate_fake_returns N/A self test_sids N/A N/A alloc _ _ N/A N/A manager optimize N/A goog 45.6 N/A N/A N/A ok_ alloc N/A N/A sid weigh N/A N/A alloc iteritems N/A N/A N/A N/A self assertIsInstance N/A alloc N/A sid float N/A N/A N/A self assertGreaterEqual weigh 0 N/A N/A N/A self assertLessEqual weigh 1 N/A N/A N/A self assertIn sid N/A self test_sids N/A test_default_sell_signals N/A N/A self N/A N/A N/A to_sell N/A N/A self test_sids N/A 0 N/A manager N/A N/A gmv GlobalMinimumVariance N/A N/A N/A manager update N/A self test_pf None None N/A N/A eq_ N/A manager portfolio N/A self test_pf N/A N/A alloc _ _ N/A N/A manager optimize N/A N/A to_sell N/A N/A eq_ N/A alloc N/A to_sell N/A N/A N/A N/A N/A self test_pf positions N/A to_sell amount N/A N/A