2016年12月30日
摘要: x[0] = '0' or x[0]='6' or x[0]='3' len(x)=6 x.isdigit() *但是有的债券也是6位 *比如010007.IB 阅读全文
posted @ 2016-12-30 11:16 ppqchina 阅读(776) 评论(0) 推荐(0)
摘要: 没有matlab那样的保存中间变量可以用jupyter创建文件然后在pycharm中打开但是字体很奇怪- -所以还是用excel的中间文件方式#测试涨停# ret = asc.getPctChange('600868.SH,600000.SH','2016125','20161225','00030 阅读全文
posted @ 2016-12-30 10:31 ppqchina 阅读(15741) 评论(0) 推荐(0)
  2016年12月29日
摘要: ret2.loc[ret2['INNERCODE'].map(lambda x:x[0]=='6' or x[0]=='3' or x[0]=='0' ),:]和matlab不一样的风格 - -直接用filter更方便ret2 = filter(lambda x:x[0]=='6' or x[0]= 阅读全文
posted @ 2016-12-29 09:18 ppqchina 阅读(1573) 评论(0) 推荐(0)
  2016年12月28日
摘要: 三天前 datetime.datetime.now() - datetime.timedelta(days=3) 阅读全文
posted @ 2016-12-28 11:25 ppqchina 阅读(121) 评论(0) 推荐(0)
  2016年12月26日
摘要: cells(i,j).interior.color=5287936 green =255 red 阅读全文
posted @ 2016-12-26 18:59 ppqchina 阅读(330) 评论(0) 推荐(0)
  2016年12月22日
摘要: import easyguiimport osfrom jpype import * jarpath = "d:\jar"print "jarPath: %s" % jarpathjpath=getDefaultJVMPath()# jarpath= os.path.join(os.path.abs 阅读全文
posted @ 2016-12-22 17:05 ppqchina 阅读(1292) 评论(0) 推荐(0)
  2016年12月21日
摘要: ORDER BY t3.pctl DESC NULLS LAST http://blog.itpub.net/9932141/viewspace-600751/ http://blog.csdn.net/suyishuai/article/details/28856069 阅读全文
posted @ 2016-12-21 14:30 ppqchina 阅读(146) 评论(0) 推荐(0)
  2016年12月20日
摘要: show user desc 'table' SELECT DISTINCT SELECT * FROM emp WHERE comm is NOT NULL; SELECT * FROM emp WHERE NOT (sal > 1500 AND comm is NOT NULL); NOT IN 阅读全文
posted @ 2016-12-20 11:26 ppqchina 阅读(103) 评论(0) 推荐(0)
  2016年12月15日
摘要: http://www.cnblogs.com/wuhenke/archive/2010/03/20/1690535.html 阅读全文
posted @ 2016-12-15 11:20 ppqchina 阅读(73) 评论(0) 推荐(0)
摘要: 这两天国债期货跌的很猛 阅读全文
posted @ 2016-12-15 11:19 ppqchina 阅读(91) 评论(0) 推荐(0)