import tejapi tejapi.ApiConfig.api_key = "your key" TSMC = tejapi.get( 'TWN/EWPRCD', coid = '2330', mdate={'gte':'2020-06-01', 'lte':'2021-04-12'}, opts={'columns': ['mdate','open_d','high_d','low_d','close_d', 'volume']}, paginate=True ) UMC = tejapi.get( 'TWN/EWPRCD', coid = '2303', mdate={'gte':'2020-06-01', 'lte':'2021-04-12'}, opts={'columns': ['mdate','open_d','high_d','low_d','close_d', 'volume']}, paginate=True ) UMC = UMC.set_index('mdate') TSMC = TSMC.set_index('mdate')
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter