예제 #1
0
 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()
예제 #2
0
파일: hq.py 프로젝트: gvc0461082002/pytdx
 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()