def get_index_bars(self, category, market, code, start, count): cmd = GetIndexBarsCmd(self.client, lock=self.lock) cmd.setParams(category, market, code, start, count) return cmd.call_api()