Skip to content

Commit

Permalink
fix MultiCoinAbnormalVolumeTracker individual volume chandle check
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineLep committed Apr 29, 2022
1 parent c05c3c2 commit 62e5afa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def decide(self, pair: str) -> bool:
green_candles_number += 1

# Volume factor check
if stock_data_manager.stock_data_list[-i].volume / lma_avg_volume > applied_volume_factor is False:
if stock_data_manager.stock_data_list[-i].volume / lma_avg_volume < applied_volume_factor:
logging.info(f"Market:{pair}, volume individual candle check fail !")
return False # Skip this coin

Expand Down

0 comments on commit 62e5afa

Please sign in to comment.