← Back to scan
File as GitHub Issue repo: randomwalkhan/Short-Term-Reversal-Strategy

Push this scan report to randomwalkhan/Short-Term-Reversal-Strategy

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

`self.request` used but never assigned in __init__

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
HIGH MINED108 [MINED108] `self.request` used but never assigned in __init__: Method `option_contract` o… reversal_3_4_1_alpaca_paper.py:146
HIGH MINED108 [MINED108] `self.request` used but never assigned in __init__: Method `submit_order` of c… reversal_3_4_1_alpaca_paper.py:143
HIGH MINED108 [MINED108] `self.request` used but never assigned in __init__: Method `order` of class `A… reversal_3_4_1_alpaca_paper.py:140
HIGH MINED108 [MINED108] `self.request` used but never assigned in __init__: Method `clock` of class `A… reversal_3_4_1_alpaca_paper.py:137
HIGH MINED108 [MINED108] `self.request` used but never assigned in __init__: Method `account` of class … reversal_3_4_1_alpaca_paper.py:134
HIGH CORE_NO_TESTS No test files found
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… reversal_3_4_1_alpaca_paper.py:550
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… reversal_3_4_1_alpaca_paper.py:265
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… reversal_3_3_live.py:638
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… reversal_3_3_live.py:1724
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… reversal_3_3_live.py:1319
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… reversal_3_3_live.py:985
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… reversal_3_3_live.py:650
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… reversal_3_3_live.py:502
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… reversal_3_3_live.py:418
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… reversal_3_3_live.py:1940
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… reversal_3_3_live.py:703
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… reversal_3_3_live.py:568
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… reversal_3_3_live.py:561
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… reversal_3_3_live.py:365
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… reversal_3_2_1_live.py:417
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… reversal_3_2_1_live.py:771
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… reversal_3_2_1_live.py:605
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… reversal_3_2_1_live.py:429
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… reversal_3_2_1_live.py:348
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… reversal_3_2_1_live.py:1049
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… reversal_3_2_1_live.py:469
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… update_reversal_data.py:133
MED CFG006 [CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build art…
MED CORE_NO_CI No CI/CD configuration found
LOW COMP001 [COMP001] High cognitive complexity: Function `plot_one_year_comparison` has cognitive co… backtest_reversal_3_1_leveraged_etf_exp…:64
LOW COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 8 (SonarSou… backtest_reversal_2_5_min_drop_experime…:86
LOW COMP001 [COMP001] High cognitive complexity: Function `plot_comparison` has cognitive complexity … backtest_reversal_2_5_min_drop_experime…:50
LOW AIC003 Duplicated implementation block across source files backtest_reversal_3_1_calls.py:262
LOW AIC003 Duplicated implementation block across source files backtest_reversal_3_1_calls.py:188
LOW AIC003 Duplicated implementation block across source files backtest_reversal_3_1_calls.py:59
LOW AIC003 Duplicated implementation block across source files backtest_reversal_3_1_calls.py:39
LOW AIC003 Duplicated implementation block across source files backtest_reversal_3_1_calls.py:21
LOW AIC003 Duplicated implementation block across source files backtest_reversal_3_1_calls.py:12
LOW AIC003 Duplicated implementation block across source files backtest_reversal_2_5_calls.py:260
LOW AIC003 Duplicated implementation block across source files backtest_reversal_2_5_calls.py:186
LOW AIC003 Duplicated implementation block across source files backtest_reversal_2_5_calls.py:57
LOW AIC003 Duplicated implementation block across source files backtest_reversal_2_5_calls.py:37
LOW AIC003 Duplicated implementation block across source files backtest_reversal_2_5_calls.py:20
LOW AIC003 Duplicated implementation block across source files backtest_reversal_2_5_calls.py:7
LOW AIC003 Duplicated implementation block across source files backtest_reversal_2_4_calls.py:256
LOW AIC003 Duplicated implementation block across source files backtest_reversal_2_4_calls.py:56
LOW AIC003 Duplicated implementation block across source files backtest_reversal_2_4_calls.py:36
LOW AIC003 Duplicated implementation block across source files backtest_reversal_2_4_calls.py:19
LOW AIC003 Duplicated implementation block across source files backtest_reversal_2_4_calls.py:15
LOW AIC003 Duplicated implementation block across source files backtest_reversal_2_3_calls.py:279
LOW AIC003 Duplicated implementation block across source files backtest_reversal_2_3_calls.py:55
LOW AIC003 Duplicated implementation block across source files backtest_reversal_2_3_calls.py:33
LOW AIC003 Duplicated implementation block across source files backtest_reversal_2_3_calls.py:11
LOW AIC003 Duplicated implementation block across source files backtest_reversal_2_3_3_calls.py:256
LOW AIC003 Duplicated implementation block across source files backtest_reversal_2_3_3_calls.py:56
LOW AIC003 Duplicated implementation block across source files backtest_reversal_2_3_3_calls.py:36
LOW AIC003 Duplicated implementation block across source files backtest_reversal_2_3_3_calls.py:19
LOW AIC003 Duplicated implementation block across source files backtest_reversal_2_3_1_calls.py:254
LOW AIC003 Duplicated implementation block across source files backtest_reversal_2_3_1_calls.py:54
LOW AIC003 Duplicated implementation block across source files backtest_reversal_2_3_1_calls.py:34
LOW AIC003 Duplicated implementation block across source files backtest_reversal_2_2_1_calls.py:115
LOW AIC003 Duplicated implementation block across source files analyze_reversal_3_1_regime_predictive_…:21
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… reversal_universe.py:84
Reset to top 5 64 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `randomwalkhan/Short-Term-Reversal-Strategy`

**Score: 83/100 (C-)**  ·  64 findings  ·  scanned 2026-06-05 13:17 UTC  ·  13,404 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 6 |
| MEDIUM | 24 |
| LOW | 33 |

📊 [Full filterable report](https://repobility.com/scan/4d4abf9a-a5db-43af-8677-18dc71592d58/)  ·  ![scorecard](https://repobility.com/scan/4d4abf9a-a5db-43af-8677-18dc71592d58/report.png?v=1780665457-s2)

### Top findings

1. **HIGH** `MINED108` — `self.request` used but never assigned in __init__
   `reversal_3_4_1_alpaca_paper.py:146` · ✓ Repobility
2. **HIGH** `MINED108` — `self.request` used but never assigned in __init__
   `reversal_3_4_1_alpaca_paper.py:143` · ✓ Repobility
3. **HIGH** `MINED108` — `self.request` used but never assigned in __init__
   `reversal_3_4_1_alpaca_paper.py:140` · ✓ Repobility
4. **HIGH** `MINED108` — `self.request` used but never assigned in __init__
   `reversal_3_4_1_alpaca_paper.py:137` · ✓ Repobility
5. **HIGH** `MINED108` — `self.request` used but never assigned in __init__
   `reversal_3_4_1_alpaca_paper.py:134` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/4d4abf9a-a5db-43af-8677-18dc71592d58/_
Megaproject â high spam risk
Could not determine 'randomwalkhan/Short-Term-Reversal-Strategy' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.
Already filed
32/66 findings (48%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.