This commit is contained in:
dsyoon
2022-09-12 21:51:30 +09:00
parent 7efddaad41
commit 6be9112bdb
2 changed files with 98 additions and 22 deletions

View File

@@ -203,16 +203,28 @@ if __name__ == "__main__":
# to check bying
stock_codes = {
"252670": ['20220905']
"122630": [
'20220801', '20220802', '20220803', '20220804', '20220805',
'20220808', '20220809', '20220810', '20220811', '20220812',
'20220816', '20220817', '20220818', '20220819', '20220822',
'20220823', '20220824', '20220825', '20220826', '20220829',
'20220830', '20220831',
'20220901', '20220902', '20220905', '20220906', '20220907',
'20220908'
]
}
"""
"122630": ['20220801', '20220802', '20220803', '20220804', '20220805',
'20220808', '20220809', '20220810', '20220811', '20220812',
'20220816', '20220817', '20220818', '20220819',
'20220822', '20220823', '20220824', '20220825', '20220826', '20220829']
"252670": [
'20220801', '20220802', '20220803', '20220804', '20220805',
'20220808', '20220809', '20220810', '20220811', '20220812',
'20220816', '20220817', '20220818', '20220819', '20220822',
'20220823', '20220824', '20220825', '20220826', '20220829',
'20220830', '20220831',
'20220901', '20220902', '20220905', '20220906','20220907',
'20220908'
],
"""
method = "rule" # "rule", "ml", "answer"
for stock_code in stock_codes:
simulation = Simulation(RESOURCE_PATH)