Skip to content

Commit

Permalink
0.7.5 update scripts gm (waditu#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
zengbin93 committed Aug 28, 2021
1 parent 67a72a1 commit c999cc9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ __pycache__/
*.py[cod]
*$py.class

*/gmcache
.idea/
*.xlsx
*.html
Expand Down
15 changes: 11 additions & 4 deletions scripts_gm/check_bs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@
author: zengbin93
email: [email protected]
create_dt: 2021/6/28 22:11
describe: 使用掘金的数据,查看任意时刻的标的状态,精确到分钟
"""

from scripts_gm.gm_utils import *
from src.utils.bt import GmCzscTrader
from czsc.signals import get_default_signals


if __name__ == '__main__':
get_signals = get_default_signals

# ct = GmCzscTrader("SZSE.300511", end_dt='2021-07-15 14:38:00+08:00', get_signals=get_signals)
ct = GmCzscTrader("SZSE.300511", get_signals=get_signals)
ct.open_in_browser()

# ct = GmCzscTrader("SZSE.002414", end_dt='2021-06-25 14:38:00+08:00')
ct = GmCzscTrader("SZSE.002414", end_dt='2021-06-25 14:38:00+08:00')
ct.open_in_browser()

0 comments on commit c999cc9

Please sign in to comment.