从网易获取股票数据

import urllib.request
import re

##def downback(a,b,c):
##    ''''
##    a:已经下载的数据块
##    b:数据块的大小
##    c:远程文件的大小
##   '''
##    per = 100.0 * a * b / c
##    if per > 100 :
##        per = 100
##    print('%.2f%%' % per)

stock_CodeUrl = 'http://quote.eastmoney.com/stocklist.html'

#获取股票代码列表
def urlTolist(url):
    allCodeList = []
    html = urllib.request.urlopen(url).read()
    #html = html.decode('gbk')
    html = html.decode('UTF-8')
    s = r'<li><a target="_blank" href="http://quote.eastmoney.com/\S\S(.*?).html">'
    pat = re.compile(s)
    code = pat.findall(html)
    for item in code:
        if item[0]=='6' or item[0]=='3' or item[0]=='0':
            allCodeList.append(item)
    return allCodeList
    
allCodelist = urlTolist(stock_CodeUrl)
print(len(allCodelist))

allCodelist=[
'300877',
'300867',
'605123',
'605255',
'300873',
'300876',
'300865',
'300871',
'300878',
'300862',
'300106',
'300857',
'300446',
'300176',
'300368',
'300313',
'300116',
'300269',
'300152',
'300064',
'300801',
'300261',
'300869',
'300870',
'300135',
'300386',
'300131',
'300868',
'300240',
'300185',
'300051',
'688393',
'300343',
'300350',
'300798',
'300875',
'300861',
'300071',
'300526',
'300866',
'300248',
'300475',
'300301',
'300791',
'300588',
'600823',
'002537',
'600321',
'600189',
'603683',
'603161',
'605333',
'002885',
'603663',
'600976',
'603688',
'603709',
'002903',
'300654',
'000881',
'603826',
'603931',
'603226',
'603595',
'605008',
'002855',
'002677',
'000755',
'605388',
'002993',
'603787',
'600158',
'002534',
'603848',
'000897',
'002429',
'002327',
'300317',
'300178',
'300280',
'300108',
'300237',
'300076',
'300145',
'300325',
'300459',
'300266',
'002862',
'300230',
'300033',
'688051',
'603167',
'603728',
'300111',
'300579',
'000568',
'603238',
'002858',
'300210',
'300423',
'300247',
'300410',
'002722',
'002861',
'300847',
'688050',
'603995',
'300840',
'300418',
'300007',
'300561',
'300193',
'300658',
'300872',
'300843',
'300471',
'300367',
'002691',
'300510',
'300592',
'300091',
'300077',
'300153',
'300385',
'300541',
'300085',
'300370',
'300800',
'002198',
'002213',
'300824',
'300278',
'300117',
'000785',
'603268',
'600543',
'300329',
'603655',
'002875',
'002312',
'300065',
'300312',
'300128',
'300630',
'300810',
'300217',
'300848',
'603819',
'002803',
'300333',
'300595',
'300849',
'300364',
'600726',
'300838',
'000301',
'300304',
'603535',
'601216',
'603589',
'300202',
'688596',
'300700',
'300747',
'300827',
'300239',
'300013',
'300556',
'300061',
'002927',
'300163',
'300803',
'300094',
'300048',
'603665',
'300344',
'300328',
'300287',
'300052',
'300465',
'300105',
'688198',
'300032',
'300197',
'002843',
'300442',
'300411',
'300022',
'300200',
'300099',
'002335',
'300262',
'300507',
'300139',
'300058',
'002616',
'600145',
'300860',
'300400',
'300141',
'300044',
'002390',
'002931',
'300062',
'688558',
'002076',
'300486',
'300452',
'603901',
'002716',
'002970',
'300864',
'688004',
'600746',
'300499',
'300297',
'300201',
'300167',
'300323',
'300025',
'300586',
'300171',
'600568',
'002857',
'300539',
'300043',
'300432',
'300309',
'600306',
'600809',
'300256',
'300098',
'002173',
'600146',
'300675',
'300079',
'300219',
'300281',
'300506',
'600816',
'002089',
'300515',
'300468',
'300221',
'300029',
'300835',
'300335',
'300310',
'600346',
'300687',
'002210',
'000587',
'300500',
'300187',
'000858',
'600226',
'300688',
'300557',
'300765',
'300606',
'300554',
'603926',
'300272',
'300228',
'300795',
'300311',
'600841',
'300235',
'300622',
'300670',
'300366',
'300047',
'002519',
'603028',
'300008',
'600176',
'002781',
'603076',
'300444',
'300437',
'603303',
'603256',
'600255',
'688366',
'300743',
'300635',
'300067',
'300211',
'300149',
'000692',
'300074',
'002370',
'300140',
'600565',
'000799',
'000560',
'688369',
'300466',
'002969',
'300822',
'300785',
'000911',
'603605',
'300339',
'002367',
'300324',
'300282',
'300264',
'300375',
'600249',
'002064',
'002472',
'300063',
'300647',
'300716',
'300730',
'603882',
'300828',
'300267',
'300830',
'002980',
'300464',
'300160',
'300303',
'300057',
'000596',
'300359',
'300129',
'600570',
'002281',
'300836',
'002785',
'300322',
'002282',
'603317',
'002431',
'300469',
'300819',
'300419',
'300102',
'300356',
'600835',
'300762',
'300739',
'002724',
'300242',
'300134',
'603955',
'300164',
'300089',
'000572',
'300039',
'600396',
'300337',
'603871',
'300643',
'603697',
'300433',
'300805',
'600979',
'002434',
'688178',
'600129',
'300130',
'300066',
'300330',
'300360',
'688128',
'603557',
'300732',
'300460',
'300851',
'300249',
'300691',
'000988',
'300245',
'300002',
'300412',
'300276',
'688088',
'300158',
'300821',
'300038',
'300759',
'300420',
'603369',
'603380',
'300231',
'300050',
'300084',
'300189',
'002641',
'600797',
'300845',
'300295',
'300656',
'300056',
'002492',
'300403',
'300621',
'300603',
'300859',
'002563',
'300388',
'300846',
'000822',
'000737',
'300327',
'300069',
'688177',
'601456',
'603533',
'300678',
'600419',
'300234',
'300748',
'300300',
'300100',
'300472',
'000566',
'688288',
'603001',
'688233',
'300021',
'603236',
'300018',
'300484',
'603187',
'300710',
'300502',
'300649',
'300096',
'000633',
'300631',
'300180',
'300110',
'300461',
'601888',
'300701',
'600763',
'300543',
'300299',
'002851',
'300705',
'300694',
'600199',
'000890',
'300602',
'300080',
'002142',
'300030',
'300165',
'300826',
'603869',
'300336',
'300624',
'002247',
'002304',
'600206',
'300697',
'300181',
'300107',
'605188',
'300073',
'002366',
'300154',
'300853',
'300421',
'603045',
'300549',
'300389',
'300288',
'300619',
'300147',
'002158',
'002524',
'300150',
'300055',
'002705',
'300292',
'300011',
'300296',
'300436',
'600749',
'300195',
'603716',
'603198',
'300112',
'300355',
'300514',
'300555',
'300818',
'600236',
'300031',
'300017',
'002255',
'300812',
'603500',
'300024',
'600130',
'300229',
'002849',
'300380',
'300641',
'300476',
'300222',
'300430',
'002848',
'600323',
'300405',
'002430',
'300341',
'300650',
'603466',
'300718',
'300314',
'002979',
'002895',
'300434',
'300086',
'300636',
'300479',
'300808',
'300407',
'688286',
'300684',
'603033',
'300409',
'300786',
'002259',
'300713',
'300532',
'002308',
'300755',
'300332',
'300831',
'300553',
'002026',
'300268',
'300751',
'600882',
'300081',
'300529',
'000877',
'600704',
'603520',
'300133',
'603886',
'300560',
'300440',
'300605',
'300040',
'300279',
'300578',
'600580',
'002052',
'300779',
'002314',
'300807',
'300348',
'603456',
'603895',
'300490',
'600555',
'300425',
'300209',
'300371',
'002762',
'002488',
'688318',
'603106',
'300227',
'603517',
'300041',
'300665',
'600850',
'300293',
'300172',
'600861',
'300645',
'300291',
'688321',
'300583',
'300298',
'300806',
'688313',
'300637',
'300612',
'002959',
'300168',
'300781',
'603729',
'603168',
'002899',
'300682',
'300179',
'300727',
'300109',
'300607',
'600215',
'300124',
'002727',
'300535',
'688600',
'300184',
'300663',
'688368',
'002648',
'300020',
'600559',
'601555',
'300717',
'300698',
'002890',
'300711',
'300611',
'603903',
'300644',
'603610',
'603618',
'300283',
'300204',
'300263',
'300608',
'603977',
'300376',
'300493',
'300005',
'300519',
'300126',
'300735',
'002901',
'603908',
'300817',
'300417',
'300352',
'605088',
'601208',
'002877',
'002365',
'300683',
'300118',
'688579',
'002242',
'002502',
'300014',
'300467',
'300422',
'300191',
'300478',
'300477',
'300796',
'688021',
'600156',
'300155',
'688389',
'300513',
'000982',
'601038',
'688080',
'300170',
'300196',
'688188',
'300564',
'603223',
'002726',
'600201',
'300494',
'002925',
'300589',
'300495',
'002916',
'300823',
'300075',
'002636',
'300802',
'002222',
'300789',
'300664',
'600218',
'600455',
'002381',
'688055',
'300377',
'002660',
'002289',
'002630',
'600350',
'300528',
'002649',
'300540',
'002201',
'603012',
'300306',
'300026',
'000893',
'600247',
'300182',
'300404',
'300315',
'300035',
'603013',
'002573',
'002873',
'300597',
'300045',
'000157',
'002194',
'300534',
'300780',
'300745',
'300731',
'300424',
'300194',
'300483',
'603918',
'002745',
'600779',
'300220',
'300338',
'300811',
'300049',
'300634',
'600889',
'300161',
'300059',
'600031',
'300833',
'300799',
'300259',
'600883',
'300097',
'300399',
'300365',
'300334',
'300790',
'603298',
'002197',
'300518',
'300703',
'300255',
'603348',
'603628',
'300103',
'300053',
'300353',
'300203',
'600596',
'601028',
'002487',
'603885',
'603365',
'603086',
'600894',
'002595',
'601163',
'300019',
'601519',
'603919',
'002812',
'300042',
'603258',
'600141',
'300252',
'300604',
'600874',
'300813',
'002601',
'600636',
'300448',
'000096',
'300852',
'300569',
'300215',
'300585',
'603681',
'002952',
'000555',
'300004',
'002334',
'002382',
'002782',
'300254',
'002528',
'002830',
'600519',
'300068',
'002831',
'002010',
'002539',
'300620',
'300289',
'600885',
'002071',
'300642',
'300173',
'603060',
'300768',
'002414',
'601155',
'300174',
'002654',
'603978',
'603936',
'000952',
'600681',
'002647',
'300582',
'603050',
'300773',
'688155',
'600857',
'603797',
'300462',
'300517',
'603613',
'002310',
'300793',
'603662',
'603916',
'603806',
'600276',
'000705',
'300736',
'300590',
'000425',
'300347',
'603083',
'002962',
'002896',
'002568',
'300742',
'300563',
'300797',
'002137',
'002298',
'600219',
'300609',
'603615',
'300677',
'603556',
'688027',
'603309',
'002131',
'300224',
'002640',
'688418',
'002863',
'300277',
'603233',
'300162',
'300572',
'002767',
'300537',
'600183',
'300521',
'300829',
'000987',
'002184',
'300148',
'300265',
'600661',
'300692',
'600886',
'605399',
'000090',
'603868',
'002384',
'300016',
'300640',
'002978',
'688586',
'600619',
'300527',
'000661',
'603790',
'002801',
'002906',
'002361',
'603496',
'300319',
'300458',
'300384',
'300046',
'601608',
'688379',
'600702',
'600671',
'300214',
'600132',
'603228',
'002612',
'600197',
'603421',
'002249',
'002661',
'002684',
'300855',
'605158',
'300809',
'603711',
'603077',
'600717',
'300284',
'603551',
'300480',
'300190',
'300233',
'000581',
'300491',
'603587',
'600610',
'300546',
'688588',
'002922',
'000860',
'600545',
'300143',
'603239',
'300363',
'603739',
'600345',
'600115',
'300009',
'600237',
'688003',
'300321',
'002174',
'600368',
'601177',
'600896',
'603578',
'300157',
'300760',
'002670',
'300441',
'000513',
'002806',
'002690',
'000789',
'000585',
'688518',
'600660',
'002796',
'300251',
'300207',
'300746',
'000676',
'300591',
'600781',
'600446',
'300450',
'002637',
'002775',
'300503',
'000813',
'603444',
'300208',
'603181',
'603079',
'002587',
'603288',
'002219',
'002148',
'605366',
'000722',
'002512',
'603277',
'300177',
'600872',
'688519',
'605166',
'600521',
'002743',
'300825',
'300250',
'300667',
'300470',
'300166',
'300850',
'688338',
'300533',
'605118',
'300763',
'002470',
'300570',
'002410',
'688299',
'300720',
'300672',
'603289',
'002241',
'300439',
'300394',
'603757',
'300119',
'605222',
'300550',
'002653',
'002272',
'300749',
'603883',
'603316',
'603023',
'300674',
'603959',
'300414',
'300576',
'300088',
'002540',
'600690',
'605318',
'300615',
'300318',
'002179',
'002657',
'000990',
'600021',
'002455',
'002773',
'300253',
'600865',
'300660',
'300593',
'600200',
'000017',
'603127',
'000593',
'688165',
'002856',
'002007',
'688200',
'300538',
'603330',
'600780',
'002751',
'000921',
'300127',
'600399',
'600618',
'603055',
'603963',
'603331',
'300752',
'600406',
'300113',
'600487',
'600767',
'688077',
'603279',
'000800',
'002943',
'002805',
'300054',
'300392',
'002254',
'300587',
'000020',
'002787',
'600529',
'688556',
'601567',
'000929',
'002451',
'002559',
'002322',
'002507',
'300511',
'002821',
'605100',
'603650',
'603203',
'002811',
'000850',
'000712',
'603778',
'000656',
'603699',
'603121',
'002713',
'002605',
'688096',
'002518',
'000620',
'300095',
'002783',
'000005',
'688599',
'002992',
'002401',
'300681',
'000001',
'603390',
'688466',
'600926',
'603259',
'603676',
'002293',
'688218',
'002403',
'601012',
'002988',
'300137',
'300772',
'603822',
'601218',
'000416',
'600603',
'603214',
'603779',
'300504',
'603388',
'603656',
'603068',
'600647',
'300625',
'603690',
'300509',
'600235',
'300520',
'300369',
'000856',
'600696',
'600463',
'002712',
'300398',
'600007',
'002730',
'000948',
'600436',
'603727',
'300856',
'300354',
'002444',
'601233',
'600633',
'603156',
'603508',
'600298',
'688500',
'002448',
'000032',
'603319',
'603706',
'600818',
'300571',
'300594',
'603988',
'600109',
'300708',
'603990',
'300706',
'688028',
'300429',
'002735',
'600819',
'002995',
'688309',
'000955',
'300488',
'601838',
'600753',
'300693',
'300782',
'601801',
'600070',
'688033',
'300722',
'601677',
'300307',
'300199',
'603939',
'002578',
'000980',
'002248',
'300402',
'002355',
'300487',
'002917',
'603507',
'603377',
'688030',
'600025',
'300125',
'601512',
'300070',
'002353',
'688168',
'603758',
'000048',
'600377',
'688360',
'000703',
'688090',
'002629',
'600356',
'600378',
'300159',
'002869',
'000401',
'300358',
'002606',
'601222',
'002627',
'603669',
'600426',
'002687',
'002209',
'300456',
'600322',
'603329',
'002280',
'002113',
'300626',
'600290',
'000582',
'600909',
'600801',
'601949',
'603829',
'000615',
'603538',
'600182',
'603383',
'601138',
'603568',
'300689',
'002474',
'002292',
'002599',
'603139',
'002463',
'002027',
'601113',
'002602',
'300652',
'603558',
'600389',
'002930',
'688058',
'002961',
'000739',
'000715',
'300842',
'002972',
'600877',
'688229',
'300542',
'600657',
'603569',
'300435',
'002607',
'300558',
'688036',
'603527',
'600383',
'002987',
'000672',
'688228',
'300662',
'600148',
'002315',
'603657',
'603897',
'600599',
'600984',
'002703',
'600689',
'601919',
'000823',
'300078',
'002757',
'300548',
'600787',
'605066',
'603015',
'600550',
'688039',
'300326',
'300723',
'603087',
'000837',
'600855',
'002750',
'600856',
'603366',
'002880',
'600110',
'002879',
'600774',
'603689',
'603922',
'002859',
'002633',
'600665',
'300232',
'600785',
'603813',
'000532',
'002686',
'600985',
'688358',
'600029',
'002656',
'002876',
'002486',
'600094',
'000687',
'601880',
'600579',
'002152',
'002897',
'002678',
'002771',
'603900',
'601965',
'688159',
'300505',
'002682',
'300320',
'600723',
'002817',
'300387',
'002620',
'601336',
'601098',
'600733',
'002760',
'000977',
'603269',
'002836',
'603290',
'000576',
'600505',
'002169',
'002759',
'603998',
'001965',
'000429',
'688566',
'603488',
'600571',
'603896',
'600880',
'002351',
'000960',
'002592',
'600674',
'000729',
'002305',
'603693',
'002928',
'601318',
'002326',
'002250',
'603041',
'603328',
'002715',
'002826',
'603090',
'002883',
'002577',
'002774',
'002095',
'300629',
'002554',
'600149',
'600802',
'300273',
'600851',
'002449',
'002051',
'000963',
'300345',
'688258',
'600933',
'002408',
'603585',
'600048',
'002263',
'000498',
'603192',
'600243',
'600476',
'300122',
'002371',
'002729',
'603408',
'601700',
'000999',
'300438',
'002967',
'000810',
'300036',
'002306',
'603515',
'600708',
'300707',
'300485',
'002405',
'300669',
'600530',
'600892',
'300628',
'603063',
'002733',
'300725',
'603928',
'002155',
'600520',
'300015',
'000628',
'600172',
'000586',
'603358',
'603755',
'002755',
'603315',
'600557',
'601211',
'300601',
'002614',
'002841',
'603701',
'600728',
'603222',
'002139',
'002825',
'603633',
'002698',
'002380',
'300581',
'603398',
'600496',
'688555',
'300668',
'002044',
'603138',
'002977',
'688100',
'603637',
'000651',
'601616',
'002850',
'000728',
'002262',
'600104',
'603773',
'600537',
'002912',
'600303',
'600684',
'300655',
'603991',
'601818',
'300010',
'300679',
'600834',
'603353',
'300006',
'002591',
'002056',
'300373',
'600824',
'300778',
'002734',
'603322',
'000968',
'600143',
'002575',
'600600',
'000409',
'000070',
'601311',
'002096',
'002809',
'600510',
'002199',
'000002',
'603356',
'002756',
'605108',
'600699',
'600452',
'600036',
'300236',
'000410',
'300381',
'601328',
'002127',
'002252',
'688377',
'600655',
'601169',
'600061',
'002245',
'000419',
'600731',
'601858',
'601398',
'600059',
'603602',
'600956',
'000554',
'600173',
'600986',
'000598',
'600381',
'002484',
'000049',
'002789',
'601158',
'002888',
'002527',
'600757',
'300666',
'600928',
'000166',
'603345',
'300351',
'300397',
'603917',
'600137',
'002320',
'600847',
'600232',
'300633',
'603081',
'603128',
'002953',
'603858',
'600605',
'002465',
'002741',
'600539',
'601928',
'601111',
'002728',
'000550',
'002520',
'300724',
'603958',
'002319',
'601166',
'300451',
'300290',
'002468',
'300241',
'603667',
'603566',
'603177',
'002884',
'603098',
'603648',
'600645',
'300568',
'300188',
'002134',
'002646',
'603528',
'603006',
'600887',
'002913',
'300463',
'603810',
'600093',
'300396',
'300271',
'600060',
'000985',
'002795',
'002039',
'603588',
'002395',
'300257',
'002878',
'300709',
'300638',
'002881',
'300676',
'002802',
'688505',
'002271',
'601628',
'605288',
'300815',
'300653',
'688202',
'600009',
'600015',
'600033',
'600037',
'600080',
'600090',
'600091',
'600220',
'600225',
'600241',
'600242',
'600280',
'600287',
'600301',
'600333',
'600361',
'600379',
'600439',
'600461',
'600518',
'600561',
'600595',
'600622',
'600626',
'600640',
'600652',
'600675',
'600688',
'600734',
'600810',
'600843',
'600869',
'600871',
'600918',
'600983',
'601006',
'601228',
'601258',
'601288',
'601500',
'601579',
'601717',
'601827',
'601886',
'601988',
'601997',
'603056',
'603088',
'603185',
'603389',
'603567',
'603608',
'603879',
'688336',
'688528',
'300882',
'300523',
'300449',
'300393',
'300270',
'300258',
'002999',
'002997',
'002923',
'002902',
'002837',
'002766',
'002718',
'002681',
'002638',
'002531',
'002513',
'002501',
'002500',
'002499',
'002433',
'002393',
'002386',
'002383',
'002374',
'002325',
'002324',
'002290',
'002278',
'002175',
'002150',
'002135',
'002086',
'002066',
'002055',
'002012',
'000861',
'000835',
'000821',
'000816',
'000806',
'000782',
'000766',
'000707',
'000683',
'000679',
'000665',
'000597',
'000415',
'000040',
'000039',
'000036',
'000029',
'300037',
'300212',
'000876',
'601869',
'603506',
'688002',
'002399',
'603606',
'603986',
'300151',
'688101',
'300496',
'300661',
'688123',
'603860',
'002779',
'002352',
'603933',
'002609',
'603636',
'600167',
'603737',
'002294',
'600822',
'603379',
'600000',
'002828',
'000961',
'603036',
'600528',
'603286',
'002570',
'601577',
'002203',
'300551',
'002318',
'600136',
'002963',
'002644',
'002731',
'002168',
'603093',
'600328',
'002099',
'600563',
'002908',
'601968',
'002608',
'600250',
'002522',
'002022',
'600376',
'603999',
'300721',
'603159',
'603031',
'600714',
'002839',
'300142',
'601939',
'688009',
'000652',
'600228',
'002427',
'600587',
'603101',
'002186',
'300489',
'601811',
'002004',
'600738',
'002483',
'002376',
'002214',
'603659',
'002284',
'002266',
'000668',
'600388',
'601998',
'002557',
'600821',
'002072',
'603335',
'000918',
'300285',
'600291',
'002887',
'601658',
'603160',
'603519',
'603639',
'688089',
'600319',
'600499',
'600998',
'600302',
'000637',
'002835',
'000695',
'601857',
'000606',
'002813',
'601860',
'002853',
'600782',
'002038',
'002807',
'603027',
'600854',
'000685',
'603680',
'601229',
'600716',
'603416',
'601226',
'002929',
'000046',
'002218',
'600265',
'002594',
'002206',
'600028',
'600566',
'002420',
'601021',
'601100',
'002275',
'002819',
'002808',
'002230',
'603116',
'603880',
'002689',
'600213',
'002388',
'600352',
'002511',
'600082',
'002337',
'002566',
'002345',
'600023',
'000686',
'600400',
'601999',
'603338',
'603118',
'603320',
'603817',
'603178',
'603927',
'600008',
'002624',
'600208',
'002162',
'000812',
'002133',
'002063',
'601619',
'600673',
'002955',
'603607',
'002926',
'000619',
'600814',
'300072',
'600190',
'300308',
'002886',
'002752',
'688222',
'600332',
'601816',
'600035',
'002112',
'002343',
'002589',
'003816',
'002838',
'000631',
'000007',
'002309',
'300712',
'603069',
'002692',
'600846',
'002003',
'300651',
'000627',
'600423',
'002872',
'600256',
'688300',
'601326',
'000950',
'002348',
'001872',
'603717',
'600507',
'002172',
'600754',
'600736',
'600285',
'600016',
'002739',
'002799',
'002665',
'600486',
'002138',
'688016',
'688081',
'002491',
'300357',
'600616',
'600890',
'000971',
'601198',
'002153',
'300575',
'002233',
'600863',
'002555',
'600030',
'601077',
'002258',
'688363',
'000780',
'002947',
'000727',
'600766',
'601668',
'002950',
'600317',
'002493',
'002948',
'601865',
'600815',
'002574',
'603157',
'300349',
'002635',
'002889',
'000552',
'603306',
'002101',
'002791',
'002611',
'600193',
'601003',
'002590',
'000528',
'000034',
'000688',
'603980',
'000502',
'000069',
'600800',
'600153',
'000736',
'002699',
'002065',
'002244',
'688158',
'601566',
'603586',
'002892',
'000919',
'000757',
'600113',
'603855',
'002939',
'002547',
'601688',
'600755',
'300741',
'603518',
'600315',
'600898',
'603458',
'000809',
'002907',
'000720',
'601388',
'300274',
'000402',
'002094',
'300659',
'603861',
'002093',
'600155',
'002269',
'601019',
'300003',
'300766',
'600018',
'603158',
'600643',
'002073',
'600593',
'603590',
'600444',
'601186',
'600706',
'603313',
'002228',
'300508',
'002400',
'603099',
'603227',
'000584',
'603392',
'002983',
'000830',
'002191',
'000783',
'000623',
'300205',
'600449',
'600725',
'002031',
'603708',
'601916',
'603186',
'601601',
'000803',
'001896',
'600585',
'002268',
'000927',
'688568',
'002328',
'600125',
'002476',
'603617',
'603297',
'300567',
'000883',
'002870',
'300401',
'603188',
'600387',
'600278',
'000680',
'600649',
'601766',
'002673',
'300632',
'600116',
'600987',
'603387',
'300260',
'002936',
'002276',
'002490',
'002140',
'000790',
'000553',
'300788',
'600693',
'600836',
'600522',
'002973',
'002485',
'002130',
'600551',
'002989',
'600897',
'600020',
'601778',
'002714',
'300481',
'002016',
'300512',
'300175',
'600992',
'002777',
'688312',
'002336',
'600252',
'000333',
'300685',
'002090',
'600703',
'601107',
'000671',
'002196',
'300753',
'002439',
'600422',
'002121',
'603833',
'000338',
'002415',
'600710',
'601162',
'002478',
'000718',
'300443',
'002900',
'300497',
'603355',
'002790',
'603983',
'300769',
'600718',
'300428',
'603878',
'600191',
'603021',
'002788',
'600470',
'601007',
'600221',
'600355',
'000996',
'002251',
'603666',
'002146',
'000599',
'300671',
'000603',
'601800',
'600271',
'002436',
'601366',
'601377',
'000650',
'600212',
'600138',
'601116',
'600390',
'603100',
'000819',
'603323',
'000726',
'300413',
'600170',
'300536',
'603038',
'002001',
'002763',
'000899',
'603029',
'600202',
'000008',
'600697',
'600683',
'002195',
'600548',
'002634',
'002379',
'000753',
'688066',
'600792',
'601002',
'002709',
'600512',
'603299',
'000541',
'002632',
'600098',
'002543',
'002719',
'000537',
'603808',
'600327',
'600629',
'000662',
'600917',
'002893',
'300648',
'002061',
'603603',
'300776',
'600908',
'603110',
'300577',
'603696',
'600573',
'000905',
'002514',
'000423',
'601319',
'600584',
'600248',
'603002',
'000926',
'600227',
'002189',
'600588',
'688010',
'603611',
'600160',
'600756',
'600325',
'600720',
'300390',
'000063',
'002643',
'002387',
'600039',
'603987',
'600120',
'000848',
'603095',
'300673',
'000972',
'002717',
'000666',
'605168',
'600022',
'601588',
'000622',
'603089',
'600676',
'601390',
'002350',
'000600',
'000545',
'002397',
'002966',
'601633',
'002029',
'002421',
'600776',
'601669',
'002504',
'603499',
'002264',
'000997',
'603301',
'000563',
'603078',
'603040',
'002161',
'002738',
'002354',
'002091',
'000663',
'000045',
'600549',
'600012',
'002642',
'000517',
'000869',
'603937',
'000797',
'688298',
'002693',
'600552',
'000035',
'600279',
'603305',
'002045',
'002823',
'002898',
'600385',
'000635',
'600560',
'001979',
'603339',
'002087',
'601678',
'603789',
'002603',
'002369',
'603225',
'002905',
'002115',
'002005',
'603768',
'002303',
'600538',
'002058',
'002921',
'601933',
'600277',
'002202',
'600329',
'002124',
'600837',
'600079',
'603626',
'600067',
'600216',
'002960',
'002946',
'000667',
'002990',
'601666',
'601518',
'000531',
'600380',
'300547',
'601009',
'601799',
'300294',
'603357',
'000520',
'600820',
'300639',
'601828',
'000965',
'600729',
'600783',
'002792',
'300001',
'600262',
'000601',
'600864',
'600498',
'601008',
'002329',
'601088',
'600128',
'000885',
'002815',
'002059',
'603022',
'605001',
'300455',
'002833',
'002479',
'603003',
'000759',
'002200',
'000889',
'601069',
'601900',
'603698',
'601375',
'603326',
'600010',
'600177',
'600231',
'603103',
'603439',
'600006',
'002008',
'002553',
'600088',
'600990',
'600969',
'002816',
'601139',
'002920',
'603429',
'002267',
'300761',
'300406',
'300244',
'600572',
'600642',
'600229',
'000608',
'603129',
'600853',
'603217',
'000510',
'601128',
'002104',
'002178',
'603677',
'300012',
'002036',
'000681',
'688122',
'002423',
'000750',
'600126',
'600575',
'600805',
'000880',
'000811',
'002034',
'603030',
'603619',
'603877',
'600973',
'000909',
'600743',
'601106',
'002675',
'600266',
'300092',
'688029',
'603899',
'603687',
'601798',
'000678',
'688208',
'601126',
'002006',
'002080',
'603803',
'300545',
'603889',
'600828',
'000717',
'688266',
'600694',
'000544',
'600730',
'600135',
'600479',
'002909',
'600475',
'600578',
'603220',
'002144',
'002753',
'601866',
'002915',
'002217',
'603007',
'002725',
'002572',
'000951',
'600169',
'600602',
'601298',
'600481',
'002700',
'603179',
'000059',
'600123',
'600624',
'600732',
'002949',
'603399',
'600795',
'002749',
'000959',
'000882',
'300206',
'600209',
'000407',
'600658',
'002261',
'600480',
'601369',
'000156',
'300382',
'600121',
'002313',
'002758',
'000751',
'603105',
'603929',
'000571',
'600488',
'002508',
'603725',
'603359',
'002868',
'600469',
'601515',
'002231',
'000970',
'603818',
'002918',
'601696',
'600630',
'600395',
'603123',
'002951',
'002279',
'601360',
'600901',
'002110',
'002631',
'002586',
'300737',
'600100',
'603738',
'300115',
'601101',
'002002',
'601901',
'000776',
'000538',
'000539',
'600312',
'600393',
'600740',
'002945',
'603026',
'000055',
'600535',
'000900',
'002424',
'600611',
'601018',
'300565',
'603221',
'601990',
'002136',
'600500',
'000609',
'300383',
'300223',
'002533',
'603300',
'603843',
'603266',
'603489',
'002084',
'300750',
'600793',
'601339',
'300331',
'300316',
'002358',
'603199',
'603638',
'002046',
'300305',
'603912',
'002768',
'002229',
'600536',
'300246',
'000815',
'603599',
'000632',
'600509',
'002793',
'603859',
'002023',
'000895',
'600112',
'600408',
'002295',
'002658',
'603839',
'600099',
'300783',
'603786',
'000868',
'600830',
'603815',
'603898',
'000957',
'688020',
'600311',
'688019',
'000931',
'600613',
'000925',
'002193',
'002349',
'002078',
'603037',
'300657',
'000540',
'000989',
'002847',
'000898',
'600052',
'688118',
'601958',
'600106',
'300023',
'000682',
'300492',
'000791',
'601699',
'002523',
'600466',
'603876',
'002526',
'002128',
'600064',
'002300',
'002971',
'601068',
'002467',
'600223',
'600288',
'002668',
'600375',
'600398',
'300192',
'600159',
'601918',
'600719',
'000009',
'600826',
'600639',
'600980',
'600641',
'600409',
'600340',
'603630',
'000611',
'603703',
'600586',
'000732',
'002118',
'002619',
'002584',
'002149',
'300144',
'600516',
'000852',
'002941',
'002311',
'600778',
'601991',
'688157',
'300562',
'002119',
'600637',
'002032',
'600367',
'600284',
'002067',
'600668',
'600758',
'002147',
'002109',
'002940',
'000935',
'300121',
'600281',
'300610',
'002024',
'000521',
'000503',
'601179',
'601881',
'000723',
'600258',
'000548',
'603866',
'002362',
'000917',
'600019',
'601333',
'002550',
'002221',
'600583',
'600713',
'002154',
'000779',
'002761',
'300756',
'600307',
'600654',
'002047',
'002769',
'000037',
'600771',
'002050',
'688589',
'600063',
'600239',
'601898',
'002404',
'002227',
'000826',
'600354',
'002224',
'600382',
'300757',
'603616',
'002663',
'000756',
'603020',
'603726',
'600623',
'600403',
'002860',
'601127',
'002498',
'002347',
'600644',
'002342',
'300820',
'002780',
'600958',
'603798',
'300114',
'600975',
'603019',
'603948',
'601808',
'600977',
'002618',
'002598',
'600558',
'603386',
'000786',
'603658',
'600919',
'600798',
'300136',
'000966',
'002391',
'600620',
'688007',
'600101',
'600392',
'600460',
'000551',
'000795',
'000752',
'603096',
'600592',
'600163',
'603989',
'600180',
'000533',
'002432',
'601005',
'000708',
'002697',
'688098',
'000915',
'600062',
'603010',
'002593',
'002344',
'002083',
'002185',
'000936',
'000028',
'601015',
'600615',
'603661',
'002986',
'603039',
'000525',
'601199',
'000630',
'600358',
'600982',
'300616',
'600246',
'002842',
'603909',
'600050',
'600335',
'002447',
'000709',
'000516',
'300858',
'300695',
'600425',
'600666',
'000673',
'603367',
'600210',
'603577',
'601788',
'603009',
'000590',
'000932',
'002411',
'601399',
'600508',
'600825',
'002097',
'000400',
'601108',
'603685',
'000068',
'000065',
'300530',
'002981',
'600576',
'600742',
'000629',
'002157',
'600076',
'000711',
'600162',
'603838',
'600724',
'000838',
'002542',
'000404',
'600617',
'002621',
'600068',
'600269',
'600569',
'002666',
'000420',
'600493',
'000519',
'300132',
'600995',
'002867',
'002125',
'601200',
'600750',
'600171',
'601618',
'002030',
'002402',
'600433',
'603126',
'600663',
'300792',
'000983',
'600996',
'000719',
'603109',
'002098',
'002737',
'002407',
'600635',
'000953',
'600188',
'688068',
'600017',
'600339',
'002911',
'002378',
'600759',
'002461',
'000793',
'603059',
'603218',
'603580',
'000543',
'600748',
'603559',
'600428',
'002357',
'000888',
'603956',
'600790',
'002396',
'603111',
'600122',
'000862',
'600775',
'002053',
'601877',
'600448',
'002503',
'603598',
'600260',
'600348',
'002864',
'002832',
'603809',
'600653',
'600829',
'600456',
'300498',
'002122',
'600353',
'600117',
'600004',
'600077',
'600692',
'603113',
'603776',
'002910',
'600207',
'300415',
'002865',
'000788',
'300600',
'601899',
'600161',
'600621',
'603016',
'002460',
'600292',
'002456',
'603035',
'603333',
'600330',
'002011',
'000910',
'300408',
'002462',
'000690',
'603788',
'600386',
'000659',
'000507',
'600997',
'688005',
'002991',
'600594',
'600066',
'601600',
'600468',
'002412',
'600705',
'002494',
'600326',
'600420',
'600282',
'601368',
'603067',
'603996',
'002042',
'002639',
'002223',
'000677',
'603043',
'002102',
'002667',
'300473',
'600968',
'002583',
'002464',
'002818',
'002770',
'000778',
'000056',
'600667',
'002956',
'600483',
'002736',
'603166',
'002273',
'600648',
'300525',
'000529',
'600320',
'002459',
'603823',
'300474',
'300391',
'603000',
'002561',
'601001',
'000617',
'600300',
'002676',
'600058',
'002529',
'002440',
'002081',
'603195',
'600773',
'600698',
'600721',
'002117',
'603008',
'688138',
'603555',
'002111',
'002283',
'002669',
'600769',
'601689',
'600875',
'600517',
'002062',
'688023',
'300729',
'300379',
'603018',
'603053',
'600845',
'600054',
'601000',
'002160',
'300447',
'603368',
'002628',
'603867',
'603730',
'000430',
'600410',
'603707',
'688278',
'300346',
'688981',
'600936',
'002339',
'002256',
'300213',
'000417',
'603516',
'002028',
'603278',
'603682',
'600727',
'600650',
'002820',
'000488',
'605199',
'000006',
'600071',
'603887',
'300027',
'002659',
'000836',
'600478',
'002932',
'600272',
'600881',
'688078',
'002333',
'601598',
'600735',
'002655',
'002246',
'000426',
'603477',
'601330',
'002824',
'002368',
'300146',
'000559',
'002441',
'002212',
'688399',
'601137',
'600989',
'600808',
'002132',
'000428',
'600608',
'600903',
'002445',
'000408',
'600257',
'600971',
'600370',
'002723',
'000014',
'002786',
'002558',
'002579',
'002497',
'601929',
'600686',
'300101',
'002685',
'603169',
'601727',
'002226',
'000892',
'000078',
'688026',
'002014',
'300522',
'600794',
'002418',
'002253',
'603183',
'002428',
'002615',
'300340',
'300580',
'002871',
'000669',
'000060',
'300613',
'688012',
'688398',
'000638',
'002188',
'000605',
'000403',
'300699',
'300839',
'002968',
'603966',
'603505',
'002116',
'000969',
'688365',
'601872',
'000523',
'300863',
'002238',
'000558',
'000657',
'000421',
'601058',
'002480',
'002060',
'002600',
'300416',
'600582',
'002496',
'600152',
'600993',
'000937',
'600796',
'002346',
'300238',
'601117',
'002545',
'000010',
'600567',
'600192',
'600489',
'002092',
'002301',
'600513',
'600360',
'688001',
'600707',
'601718',
'603115',
'002935',
'688060',
'300566',
'300457',
'600547',
'600081',
'002721',
'002057',
'603915',
'002208',
'600056',
'601878',
'603208',
'600604',
'002535',
'600970',
'603722',
'600083',
'600105',
'600283',
'002695',
'000062',
'600503',
'002377',
'001914',
'603117',
'603311',
'002316',
'002291',
'600739',
'002565',
'000026',
'600900',
'000978',
'000691',
'600939',
'600866',
'000150',
'600497',
'002778',
'600369',
'002982',
'600525',
'600745',
'600770',
'002100',
'600026',
'601212',
'600075',
'600664',
'002694',
'000833',
'002126',
'600577',
'600351',
'300226',
'300552',
'002740',
'600768',
'600275',
'000886',
'300342',
'603979',
'600638',
'000042',
'600179',
'600859',
'603700',
'000975',
'000721',
'002538',
'000949',
'000636',
'000700',
'300832',
'002846',
'601789',
'002211',
'002406',
'002240',
'603721',
'002332',
'300816',
'600477',
'000761',
'002937',
'002938',
'002205',
'603890',
'000725',
'600959',
'600096',
'002182',
'600833',
'600078',
'300686',
'601996',
'000027',
'688108',
'002443',
'000710',
'000923',
'600273',
'601016',
'002551',
'600185',
'002239',
'600107',
'300559',
'600362',
'002475',
'002088',
'002707',
'600297',
'002394',
'600876',
'600695',
'000831',
'601992',
'600053',
'000050',
'002274',
'600502',
'002048',
'000758',
'600268',
'002706',
'600761',
'600289',
'601985',
'600259',
'002976',
'002866',
'603967',
'300623',
'000031',
'002015',
'002360',
'002958',
'000514',
'000902',
'002156',
'600831',
'600961',
'600777',
'002372',
'600839',
'002129',
'002019',
'601225',
'603816',
'002521',
'002797',
'300454',
'002215',
'002236',
'000016',
'600963',
'002438',
'600506',
'002375',
'603881',
'600491',
'600533',
'600293',
'002103',
'600373',
'002671',
'002277',
'603011',
'002079',
'002569',
'603985',
'300777',
'603032',
'688186',
'600495',
'000928',
'300531',
'002181',
'600295',
'000100',
'002696',
'600234',
'601908',
'002107',
'000530',
'601615',
'600085',
'002546',
'300740',
'600682',
'002364',
'002515',
'600867',
'688580',
'600662',
'600055',
'603131',
'600888',
'002204',
'603318',
'002701',
'688180',
'002613',
'603950',
'688106',
'002481',
'600532',
'000158',
'000906',
'002596',
'002536',
'000155',
'603583',
'300218',
'600203',
'002564',
'603888',
'002957',
'600791',
'000004',
'000012',
'002037',
'600309',
'600366',
'603200',
'600804',
'000777',
'002074',
'603811',
'002166',
'603949',
'300169',
'002435',
'603180',
'600131',
'600531',
'600751',
'002748',
'601595',
'002747',
'688169',
'000801',
'000702',
'002159',
'000626',
'300501',
'600114',
'000839',
'600027',
'600838',
'600198',
'688310',
'002495',
'603968',
'603530',
'600095',
'002597',
'603601',
'603579',
'601231',
'300453',
'002549',
'002446',
'601236',
'603767',
'300243',
'600336',
'000573',
'002469',
'601607',
'603025',
'000565',
'688166',
'002287',
'001696',
'600196',
'603005',
'603668',
'603351',
'002389',
'000913',
'603189',
'000023',
'688086',
'603133',
'600895',
'002040',
'601238',
'002582',
'300584',
'000518',
'600459',
'600803',
'688567',
'600526',
'603660',
'002453',
'000920',
'002567',
'300787',
'002556',
'000922',
'002085',
'600418',
'603260',
'600811',
'000151',
'000998',
'688488',
'300696',
'600858',
'601952',
'002164',
'002626',
'600581',
'300302',
'000981',
'300482',
'002409',
'002562',
'000422',
'603327',
'601010',
'603960',
'002422',
'600606',
'600609',
'601020',
'603165',
'002237',
'600562',
'600601',
'600691',
'600868',
'000767',
'002437',
'600308',
'000701',
'688037',
'601890',
'002270',
'000591',
'000976',
'603970',
'600848',
'002167',
'002363',
'600812',
'300690',
'002457',
'002307',
'600960',
'000731',
'002688',
'000066',
'603893',
'603396',
'300275',
'000089',
'603385',
'002765',
'002516',
'688015',
'300093',
'000829',
'000589',
'688199',
'002033',
'002458',
'000875',
'002235',
'603993',
'000561',
'603982',
'600679',
'600789',
'000967',
'600628',
'000153',
'300733',
'002482',
'603332',
'688008',
'002580',
'002840',
'000570',
'603713',
'603863',
'002176',
'002617',
'603920',
'000625',
'002489',
'601086',
'002017',
'300516',
'600844',
'600415',
'000908',
'688508',
'300445',
'300837',
'600103',
'688396',
'002207',
'600187',
'002810',
'002192',
'601066',
'600438',
'600490',
'002296',
'002035',
'002742',
'600222',
'600612',
'600267',
'000038',
'000912',
'000802',
'002466',
'002827',
'002975',
'000526',
'002645',
'000567',
'000025',
'600458',
'600715',
'600318',
'603678',
'600678',
'002505',
'002299',
'601606',
'002473',
'000958',
'601118',
'002419',
'002800',
'300702',
'300138',
'688339',
'601989',
'600233',
'002708',
'601188',
'000506',
'300083',
'600999',
'002338',
'600744',
'002732',
'601609',
'300617',
'002919',
'002331',
'600598',
'603108',
'002471',
'603686',
'603486',
'600397',
'000534',
'603336',
'603906',
'300719',
'002571',
'002532',
'300599',
'603969',
'603136',
'002183',
'000825',
'002452',
'603609',
'002510',
'002302',
'688065',
'603976',
'000613',
'002560',
'002120',
'000903',
'600712',
'002180',
'000735',
'000973',
'603718',
'600784',
'000796',
'600238',
'600089',
'002114',
'002544',
'000820',
'600337',
'601636',
'002340',
'002145',
'600501',
'002822',
'601168',
'002341',
'600097',
'300082',
'300374',
'603800',
'600118',
'000938',
'603267',
'600119',
'002043',
'603212',
'002622',
'601975',
'000413',
'002054',
'603197',
'000099',
'002772',
'002077',
'601099',
'600299',
'603712',
'002413',
'603393',
'600331',
'603308',
'300378',
'600111',
'002020',
'000504',
'002297',
'002187',
'002576',
'000030',
'600511',
'002373',
'600879',
'300767',
'002171',
'002075',
'600139',
'603629',
'000901',
'600860',
'300771',
'002746',
'002356',
'002588',
'688085',
'600981',
'002442',
'000592',
'000564',
'600590',
'300198',
'600310',
'000738',
'002581',
'601698',
'600168',
'002891',
'000612',
'000501',
'688189',
'600540',
'300680',
'600527',
'002776',
'600217',
'601599',
'000933',
'002049',
'000878',
'600884',
'000524',
'002942',
'300183',
'603766',
'002454',
'600150',
'002548',
'600965',
'600764',
'600929',
'002141',
'603536',
'600737',
'603321',
'600151',
'002829',
'603596',
'600429',
'000887',
'002798',
'600482',
'688006',
'688181',
'000021',
'300087',
'603080',
'688069',
'601611',
'002069',
'002317',
'600817',
'002623',
'688520',
'600157',
'600741',
'600195',
'600870',
'688561',
'002330',
'002541',
'688018',
'600363',
'688516',
'000716',
'000828',
'000762',
'000768',
'000159',
'600072',
'000807',
'600685',
'002082',
'000818',
'002702',
'002652',
'688256',
'600760',
'600178',
'002285',
'603042',
'600343',
'600435',
'002068',
'000962',
'000546',
'603938',
'002232',
'600722',
'300726',
'600467',
'603719',
'688011',
'300286',
'002323',
'002625',
'600038',
'601011',
'002674',
'000851',
'002225',
'600651',
'600807',
'603017',
'600211',
'600230',
'688099',
'300738',
'300627',
'002985',
'603799',
'002517',
'600515',
'600165',
'603066',
'600073',
'688139',
'002933',
'002965',
'688126',
'000733',
'601966',
'002610',
'603363',
'002530',
'000088',
'600057',
'000557',
'002106',
'002170',
'600166',
'600305',
'600359',
'002845',
'000607',
'000011',
'603337',
'688022',
'603501',
'002041',
'688111',
'002265',
'603232',
'000610',
'600546',
'002021',
'603828',
'601969',
'603085',
'300395',
'600827',
'000058',
'300841',
'600978',
'002585',
'603777',
'002664',
'002392',
'002416',
'600051',
'002243',
'000713',
'000859',
'002425',
'600133',
'002151',
'600371',
'000616',
'002385',
'688357',
'600365',
'300775',
'002651',
'603229',
'600251',
'688598',
'300758',
'603058',
'600086',
'002552',
'600634',
'600421',
'600127',
'600416',
'000697',
'002426',
'300426',
'002852',
'600765',
'601777',
'000509',
'002650',
'002013',
'000595',
'600084',
'000536',
'002177',
'002417',
'603856',
'600462',
'600687',
'300225',
'600967',
'002286',
'002234',
'603612',
'000639',
'300618',
'300120',
'300034',
'603378',
'688333',
'688196',
'000061',
'688116',
'603196',
'002398',
'600108',
'600873',
'600893',
'000411',
'603600',
'600186',
'600988',
'002163',
'600405',
'600391',
'000655',
'002506',
'002165',
'600962',
'300715',
'300770',
'600338',
'002025',
'603997',
'600261',
'688388',
'600523',
'600372',
'600011',
'603825',
'300123',
'002190',
'300598',
'000930',
'688025',
'603733',
'603801',
'688277',
'000698',
'300427',
'000863',
'002321',
'600966',
'688268',
'002662',
'688335',
'002679',
'002882',
'000019',
'600862',
'600711',
'688185',
'600597',
'000547',
'300596',
'688311',
'603283',
'601882',
'600556',
'600184',
'002683',
'002009',
'600313',
'300573',
'000798',
'002216',
'688521',
'603679',
'000993',
'002672',
'600589',
'002123',
'603992',
'603360',
'605178',
'002108',
'002105',
'600316',
'000505',
'002288',
'002260',
'000995',
'000939',
'000792',
'000760',
'000670',
'600485',
'600614',
'600677',
'600701',
'600891',
'601702',
'603155',
'603565',
'605003',
'605006',
'605009',
'605128',
'688017',
'688056',
'688095',
'688215',
'688289',
'688356',
'688378',
'688390',
'688408',
'688513',
'688550',
'688551',
'688559',
'688569',
'300883',
'300881',
'300880',
'300879',
'300431',
'300362',
'002998',
'002996',
'002984',
'002711',
'002450',
'002359',
]

for code in allCodelist:
    print('正在获取%s股票数据...'%code)
    if code[0]=='6':
        url = 'http://quotes.money.163.com/service/chddata.html?code=0'+code+'&start=19900101&end=20220920'
    else:
        url = 'http://quotes.money.163.com/service/chddata.html?code=0'+code + '&start=19900101&end=20220920'
    urllib.request.urlretrieve(url,'d:\\all_stock_data\\'+code+'.csv')#可以加一个参数dowmback显示下载进度

  

posted @ 2022-09-20 09:06  Oliver2022  阅读(43)  评论(0编辑  收藏  举报