 
   request options, (error, res, string)->
 
-    retry = (err)->
-      console.error "#{c} jsonsina.coffee >> history 將重試: ", err
-      history(param, callback)
 
     if error?
       return retry(error)

      year: 年份
      type: day,week,month
###
history = (param, callback)->
  if param.symbol.length < 5
    return callback '代碼不對',null

          #console.log each
      else
        return retry('數據長度為 0')

      if res?.attempts > 1
        console.log(param.symbol,'數據請求次數: ', res.attempts)

