Exemplo n.º 1
    def get_value(self, deprecated = None):
        if deprecated != None:
            warninghelpers.deprecation_warning("The bars parameter is no longer used and will be removed in the next version.", stacklevel=2)

        return self.get_equity_with_bars(self.__bar_feed.get_current_bars())
Exemplo n.º 2
 def get_pending_orders(self):
     warninghelpers.deprecation_warning("get_pending_orders will be deprecated in the next version. Please use get_active_orders instead.", stacklevel=2)
     return self.get_active_orders()