tomcat123a / -chanlun

文件 笔和线段的一种划分.py,只需要把k线high,low数据输入,就能自动实现笔,线段,中枢,买卖点,走势类型的划分了。可以把sh.csv 作为输入文件。个人简历见.pdf。时间的力量。有人说择时很困难,有人说选股很容易,有人说统计套利需要的IT配套设施很重要。还有人说系统有不可测原理。众说纷纭。分布式的系统,当你的影响可以被忽略,你才能实现,Jiang主席所谓之,闷声发大财。第一周,大盘跌了1%,挣钱了一万,挣了5%。 #股票 #股市 #缠论 https://v.kuaishou.com/bFEl6M Copy this message and open 【Kwai】to view!
491 stars 300 forks source link

运行直接死循环,麻烦看看 #6

Open kaybinwong opened 4 years ago

kaybinwong commented 4 years ago
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  [Previous line repeated 2 more times]
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  [Previous line repeated 4 more times]
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  [Previous line repeated 2 more times]
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  [Previous line repeated 3 more times]
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  [Previous line repeated 12 more times]
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  [Previous line repeated 2 more times]
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  [Previous line repeated 2 more times]
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  [Previous line repeated 1 more times]
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  [Previous line repeated 1 more times]
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  [Previous line repeated 1 more times]
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 317, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 346, in judge
    judge(prev_i,cur_i,-d)
  File "chanlun.py", line 330, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 309, in judge
    judge(prev_i,cur_i,d)
  File "chanlun.py", line 306, in judge
    if cur_i - prev_i < 4 or df1['od'].iloc[cur_i] != d:
  File "C:\Python37\lib\site-packages\pandas\core\indexing.py", line 1500, in __getitem__
    return self._getitem_axis(maybe_callable, axis=axis)
  File "C:\Python37\lib\site-packages\pandas\core\indexing.py", line 2215, in _getitem_axis
    if com.is_bool_indexer(key):
  File "C:\Python37\lib\site-packages\pandas\core\common.py", line 118, in is_bool_indexer
    (is_array_like(key) and is_extension_array_dtype(key.dtype))):
  File "C:\Python37\lib\site-packages\pandas\core\dtypes\inference.py", line 334, in is_array_like
    return is_list_like(obj) and hasattr(obj, "dtype")
  File "C:\Python37\lib\site-packages\pandas\core\dtypes\inference.py", line 293, in is_list_like
    return (isinstance(obj, compat.Iterable)
  File "C:\Python37\lib\abc.py", line 139, in __instancecheck__
    return _abc_instancecheck(cls, instance)
RecursionError: maximum recursion depth exceeded in comparison

修改了sh.csv的路径后运行报上面错

cnspot commented 4 years ago

import sys import pandas as pd import numpy as np from datetime import date import os sys.setrecursionlimit(30000)

加上最后一句,限定递归上限