def call_property(self, other_args: List[str]): """Process property command""" optimizer_view.property_weighting(self.tickers, other_args)
def call_dividend(self, other_args: List[str]): """Process dividend command""" other_args.insert(0, "dividendYield") optimizer_view.property_weighting(self.tickers, other_args)
def call_div_yield(self, other_args: List[str]): po_api.property_weighting(self.tickers, "dividendYield", other_args)
def call_mktcap(self, other_args: List[str]): """Process mktcap command""" other_args.insert(0, "marketCap") optimizer_view.property_weighting(self.tickers, other_args)
def call_mkt_cap(self, other_args: List[str]): po_api.property_weighting(self.tickers, "marketCap", other_args)