contrarian-strategy

Unverified Other strategy on Indices by NadirAliOfficial. BotFinder score 37 out of 100.

Python implementation of a Contrarian Trading Strategy to backtest market reversal approaches using historical stock data. Evaluate performance metrics such as profit, drawdown, wi

Source: github

Explorer/Indices/contrarian-strategy
37
Data index
IndicesMedium risk⚠ Unverified

contrarian-strategy

NadirAliOfficialGitHub
From
Free
Get this bot
Net return
—
Max drawdown
—
Sharpe
1.38
Profit factor
—
Win rate
—
Track record
1.8y
⚠ Publisher-stated · not independently verified
BotFinder Analysis

BotFinder analysis pending.

About

contrarian-strategy

Contrarian Trading Strategy Python backtesting framework for contrarian (mean reversion) strategies on US equities using historical data from yfinance. Strategy Logic 1. Calculate rolling z-score of returns over N days 2. Enter long when z-score +2 (overbought) 4. Exit when z-score reverts to 0 5. Apply position sizing based on ATR Results (SPY, 2018–2023) | Metric | Value | |--------|-------| | Total Return | +42.3% | | Sharpe Ratio | 1.38 | | Max Drawdown | -12.1% | | Win Rate | 58.4% | Usage Parameters - --ticker — Stock symbol (default: SPY) - --start / --end — Backtest date range - --lookback — Z-score window in days (default: 20) - --zscoreentry — Entry threshold (default: 2.0)

PythonMITOpen-sourcealgorithmic-tradingbacktestingcontrarianpythonquantitative-financestocksyfinance
Pro
Detailed statistics

Upgrade to Pro to unlock the full detail.

Track record

⚠ No verified equity curve — no track-record source connected.

Risk

Drawdown profile

Data unavailable — contact the owner.

Evidence

Verification ledger

Live-audited
Broker-verified
Capital-backed
Tamper-proof
Historical evolution

How the score has moved

Recalculated at each data collection. Transparency means showing the bad weeks too.

No score history is stored yet — only the current score is shown.

Reviews

Reviews & comments

No reviews collected from the source yet.

Live monitoring

⚠ No live verification account connected — ask for proof before buying.

Alerts on changes: coming soon

Prop-firm compatibility

Prop-firm compatibility not provided.

Source
NadirAliOfficial
Since 2017 · 45 bots

Open-source maintainer on GitHub.

Trust 0Profile
Score & reliability37/100
Perf data7/35
Community0/25
Evidence20/20
Recency10/10
Verification0/10

Data-completeness & trust index (not a profitability rating)

Source facts
Stars10
Forks1
Open issues0
LanguagePython
LicenseMIT
Last update2026-09-21
Created2024-12-01
Alternatives

Similar bots worth comparing

58
ESCQ NAS100 Sweep M2NEW
Publisher's own bot
—
Return
−10.64%
Max DD
-14.24%
PF
0.43
⚠ Publisher Claimed
IndicesMedium
58
ESCQ NAS100 Flip M2NEW
Publisher's own bot
—
Return
−17.94%
Max DD
-23.29%
PF
0.75
⚠ Publisher Claimed
IndicesMedium
58
ESCQ NAS100 Flip M1NEW
Publisher's own bot
—
Return
−21.67%
Max DD
-27.91%
PF
0.81
⚠ Publisher Claimed
IndicesMedium