mmdfish

Results 3 comments of mmdfish

Cannot produce here, you can change calculate_stock_spec.py line 171 to sh.600918 and debug calculate_stock_spec.py to check what is wrong with this stock if __name__=='__main__': starttime = datetime.datetime.now() **calculate_all_spec('sh.600918', 'sh.000001')** endtime...

你现在数据库已经生成,k线数据也都抓到了,可以运行daily_update.py了,因为你run_first_time.py没有运行完,所以没有生成date.txt,可以手动在同级目录下创建一个date.txt,内容是 2020-08-25

> - > - sql_cmd = "SELECT * FROM stock_day_k where code='" + ticker+"' and tradestatus='1' order by date desc limit 0,251" > - daily = pd.read_sql(sql=sql_cmd, con=db) > +...