code: def track(self, symbol):
          quote_ctx = OpenQuoteContext(host='127.0.0.1', port=11111)
          now = datetime.datetime.now()
          end_str = now.strftime('%Y-%m-%d')
          start = now - datetime.timedelta(days=365)
          start_str = start.strftime('%Y-%m-%d')
          _, temp = quote_ctx.get_history_kline(symbol, start=start_str, end=end_str)
          #print(temp)
          high = temp['high'].values
          low = temp['low'].values
          open = temp['open'].values
          
          '''
          y_amplitude = []
          for i in range(len(high)):
              temp = high[i] - low[i]
              y_amplitude.append(temp)
          '''
          y_amplitude = high - low
          print(y_amplitude)
          y_a_r = y_amplitude[-1] / open[-2]
          if y_a_r > 0.05:
              up_ = open[-1] + 0.5 * y_amplitude[-1]
              down_ = open[-1] - 0.5 * y_amplitude[-1]
          else:
              up_ = open[-1] + 2 / 3 * y_amplitude[-1]
              down_ = open[-1] - 2 / 3 * y_amplitude[-1]
          #print(up_, down_)
          return up_, down_
docs: 确定上下轨