<filename>example.py
from ipotscrape import run_scraper

mode = 0 			# mode 0 save to db, mode 1 save to csv 
symbols = ['adhi','adro','akra','antm','asii','asri','bbca','bbni','bbri','bbtn','bksl','bmri','bsde','cpin','elsa','excl','ggrm','hmsp','icbp','inco','indf','indy','inkp','intp','itmg','jsmr','klbf','lpkr','lppf','medc','mncn','pgas','ptba','ptpp','scma','smgr','sril','ssms','tlkm','tpia','untr','unvr','wika','wsbp','wskt','jast']

check_market_time = True
holiday = [104,325,410,501,507,521,522,525,526,527,601,731,817,820,1029,1224,1225,1231] # holiday calender in a year (month - day) ex: holiday session in indonesia 2020

run_scraper(symbols, mode, check_market_time, holiday)


<filename>example.py
from ipotscrape import run_scraper

mode = 0 			# mode 0 save to db, mode 1 save to csv 
symbols = ['adhi','adro','akra','antm','asii','asri','bbca','bbni','bbri','bbtn','bksl','bmri','bsde','cpin','elsa','excl','ggrm','hmsp','icbp','inco','indf','indy','inkp','intp','itmg','jsmr','klbf','lpkr','lppf','medc','mncn','pgas','ptba','ptpp','scma','smgr','sril','ssms','tlkm','tpia','untr','unvr','wika','wsbp','wskt','jast']

check_market_time = True
holiday = [104,325,410,501,507,521,522,525,526,527,601,731,817,820,1029,1224,1225,1231] # holiday calender in a year (month - day) ex: holiday session in indonesia 2020

run_scraper(symbols, mode, check_market_time, holiday)


# mode 0 save to db, mode 1 save to csv # holiday calender in a year (month - day) ex: holiday session in indonesia 2020