code: def get_orders_info(self,
                          symbol,
                          states:list,
                          types:list=None,
                          start_date=None,
                          end_date=None,
                          _from=None,
                          direct=None,
                          size=None,
                          _async=False):
          
          states = ','.join(states)
          params = {'symbol': symbol, 'states': states}
  
          if types:
              params['types'] = ','.join(types)
          if start_date:
              sd = parser.parse(start_date).date()
              params['start-date'] = str(sd)
          if end_date:
              ed = parser.parse(end_date).date()
              params['end-date'] = str(ed)
          if _from:
              params['from'] = _from
          if direct:
              assert direct in ['prev', 'next']
              params['direct'] = direct
          if size:
              params['size'] = size
          path = '/v1/order/orders'
          return api_key_get(params, path, _async=_async)
docs: 查询当前委托、历史委托
          :param symbol:
          :param states: 可选值 {pre-submitted 准备提交, submitted 已提交, partial-filled 部分成交, partial-canceled 部分成交撤销, filled 完全成交, canceled 已撤销}
          :param types: 可选值 {buy-market：市价买, sell-market：市价卖, buy-limit：限价买, sell-limit：限价卖}
          :param start_date:
          :param end_date:
          :param _from:
          :param direct: 可选值{prev 向前，next 向后}
          :param size:
          :return: