import os
arrRaise=[]
strTest=""
nZhangTing=0
nDieTing=0
strZhangTingDate=""
strDieTingDate=""
nEarn=0
nTotalEarn=0
nBuy=0
nSell=0
strBuyDate=""
strPrebuyDate=False#准备买入
bPreSell=False
bPreBuy=False
strSellDate=""
strOutput=""
nMoney=0
nDate=250
#nDate=125
for root,dirs,files in os.walk(r"..\\txt"):
for file in files:
strCodeTemp=os.path.join(root,file)[-10:-4]
#if(strCodeTemp!="000029"):
# continue
#print("股票代码:"+strCode)
strOutput+="股票代码:"+strCodeTemp+"\n"
date1=""
nStart1=0#第一天开盘价