Spaces:
Runtime error

Codex commited on
Commit
8cf24d2
·
1 Parent(s): 5b25e0e

Tighten Circa home run odds filter

Browse files
Files changed (1) hide show
  1. src/market-scanner.js +2 -2
src/market-scanner.js CHANGED
@@ -1096,10 +1096,10 @@ function isLikelyValidCircaEntry(entry) {
1096
  }
1097
 
1098
  if (entry.marketType === 'home_runs') {
1099
- if (entry.side === 'yes' && (oddsValue < 100 || oddsValue > 2000)) {
1100
  return false;
1101
  }
1102
- if (entry.side === 'no' && (oddsValue > -100 || oddsValue < -5000)) {
1103
  return false;
1104
  }
1105
  }
 
1096
  }
1097
 
1098
  if (entry.marketType === 'home_runs') {
1099
+ if (entry.side === 'yes' && (oddsValue < 180 || oddsValue > 2000)) {
1100
  return false;
1101
  }
1102
+ if (entry.side === 'no' && (oddsValue > -180 || oddsValue < -5000)) {
1103
  return false;
1104
  }
1105
  }