m*0
2 楼
def download(symbol):
import urllib
start_date = '19900101'
end_date = '20100426'
url = 'http://ichart.yahoo.com/table.csv?s=%s&' % symbol + \
'd=%s&' % str(int(end_date[4:6]) - 1) + \
'e=%s&' % str(int(end_date[6:8])) + \
'f=%s&' % str(int(end_date[0:4])) + \
'g=d&' + \
'a=%s&' % str(int(start_date[4:6]) - 1) + \
'b=%s&' % str(int(start_date[6:8])) + \
'c=%s&' % str(int(start_date[0:4])) + \
【在 z****e 的大作中提到】
: 多谢
import urllib
start_date = '19900101'
end_date = '20100426'
url = 'http://ichart.yahoo.com/table.csv?s=%s&' % symbol + \
'd=%s&' % str(int(end_date[4:6]) - 1) + \
'e=%s&' % str(int(end_date[6:8])) + \
'f=%s&' % str(int(end_date[0:4])) + \
'g=d&' + \
'a=%s&' % str(int(start_date[4:6]) - 1) + \
'b=%s&' % str(int(start_date[6:8])) + \
'c=%s&' % str(int(start_date[0:4])) + \
【在 z****e 的大作中提到】
: 多谢
相关阅读
Gold game is over, keep shorting it...我也来一个optiohouse开户买了我的pick的同学们都大发发了吧太给力了!Amazon 购物捐助OCEF 2010 Q4 总结 (转载)30年河东30年河西,但是末代好书记却60年如一日 (转载)如何看一个操作策略是不是跳大神晚上是总统讲话糊涂劫匪持枪闯进中文学校抢劫 引学生哄堂大笑 ZZanalysts on solarLYSCF 能hold 不?阳光明媚的寒冷星期一我靠,睡梦被龙霸打断啊屁们爱现在是理想进入价位求香港创业板,code: 8235 赛迪顾问 估值应为多少?最后收绿吧?重新load铺了看着atpg涨快8%,没上,哎LOGI (logitech)有人关注没?老5,干船上了没?how FAZ work?