def test__signals_handler(self): manager = PortfolioManager() order_book = manager.trade_signals_handler({ 'goog': -532.12, 'aaple': 723.23 })
def test__signals_handler(self): manager = PortfolioManager() order_book = manager.trade_signals_handler({"goog": -532.12, "aaple": 723.23})
def test__setup(self): manager = PortfolioManager(0.02) assert (manager) manager.setup_strategie('Equity', {'max_weight': 0.8})
def test__setup(self): manager = PortfolioManager(0.02) assert manager manager.setup_strategie("Equity", {"max_weight": 0.8})