Exemplo n.º 1
0
 def __init__(self, market_type, frequence, start, end, code_list, commission_fee):
     super().__init__(market_type,  frequence, start, end, code_list, commission_fee)
     mastrategy = MAStrategy(user_cookie=self.user.user_cookie, portfolio_cookie= self.portfolio.portfolio_cookie, account_cookie= 'mastrategy')
     #maminstrategy = MAMINStrategy()
     self.account = self.portfolio.add_account(mastrategy)