Skip to content

Commit

Permalink
change long long_threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
foolcage committed Mar 14, 2020
1 parent 05e014e commit 6e54b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/reports/report_real.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def report_real():
msg = 'no targets'
if long_stocks:
# use block to filter
block_selector = BlockSelector(start_timestamp='2020-01-01')
block_selector = BlockSelector(start_timestamp='2020-01-01', long_threshold=0.7)
block_selector.run()
long_blocks = block_selector.get_open_long_targets(timestamp=target_date)

Expand Down

0 comments on commit 6e54b06

Please sign in to comment.