-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
1 addition
and
4 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
author: zengbin93 | ||
email: [email protected] | ||
create_dt: 2023/6/7 21:12 | ||
describe: | ||
describe: | ||
""" | ||
import sys | ||
sys.path.insert(0, '.') | ||
|
@@ -23,6 +23,3 @@ | |
if __name__ == '__main__': | ||
# 策略回测,如果是使用多进程,必须在 __main__ 中执行,且必须是在命令行中执行 | ||
bot.backtest(symbols=get_symbols("中证500成分股")[:10], max_workers=3, bar_sdt='20190101', edt='20220101', sdt='20200101') | ||
|
||
|
||
|