예제 #1
0
 def test__signals_handler(self):
     manager = PortfolioManager()
     order_book = manager.trade_signals_handler({
         'goog': -532.12,
         'aaple': 723.23
     })
예제 #2
0
 def test__signals_handler(self):
     manager = PortfolioManager()
     order_book = manager.trade_signals_handler({"goog": -532.12, "aaple": 723.23})
예제 #3
0
 def test__setup(self):
     manager = PortfolioManager(0.02)
     assert (manager)
     manager.setup_strategie('Equity', {'max_weight': 0.8})
예제 #4
0
 def test__setup(self):
     manager = PortfolioManager(0.02)
     assert manager
     manager.setup_strategie("Equity", {"max_weight": 0.8})