|
|
|
@ -196,12 +196,18 @@ def run_pool_dates_by_code_init_n_group(typ='mink',gp_amt=10,start_date='2022010
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
|
import time
|
|
|
|
|
# run()
|
|
|
|
|
run_create_hft_db() # including two tables
|
|
|
|
|
|
|
|
|
|
import time
|
|
|
|
|
tic = time.perf_counter()
|
|
|
|
|
run_pool_dates_by_code_init_n_group(typ='tick',gp_amt=3,start_date='20220601',end_date='20221031',if_check=0)
|
|
|
|
|
|
|
|
|
|
typ='tick'
|
|
|
|
|
st_d='20220601'
|
|
|
|
|
en_d='20221031'
|
|
|
|
|
if_check = 0
|
|
|
|
|
logger.info(f"Going to run {typ} from {st_d} to {en_d} with if_check dupliactes={if_check}")
|
|
|
|
|
run_pool_dates_by_code_init_n_group(typ=typ,gp_amt=3,start_date=st_d,end_date=en_d,if_check=if_check)
|
|
|
|
|
# run_pool_dates_by_code_init_n_group(typ='mink',group_amount=5)
|
|
|
|
|
|
|
|
|
|
toc = time.perf_counter()
|
|
|
|
|