tradesight 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tradesight-1.0.0/PKG-INFO +231 -0
- tradesight-1.0.0/README.md +205 -0
- tradesight-1.0.0/pyproject.toml +53 -0
- tradesight-1.0.0/setup.cfg +4 -0
- tradesight-1.0.0/tests/test_alerts.py +392 -0
- tradesight-1.0.0/tests/test_automation.py +387 -0
- tradesight-1.0.0/tests/test_balance_sync.py +124 -0
- tradesight-1.0.0/tests/test_confluence.py +207 -0
- tradesight-1.0.0/tests/test_indicators.py +167 -0
- tradesight-1.0.0/tests/test_orphan_sync.py +190 -0
- tradesight-1.0.0/tests/test_paper_trading.py +554 -0
- tradesight-1.0.0/tests/test_scanner.py +56 -0
- tradesight-1.0.0/tests/test_sl_tp.py +284 -0
- tradesight-1.0.0/tests/test_strategy_lab.py +461 -0
- tradesight-1.0.0/tests/test_trailing_stop.py +316 -0
- tradesight-1.0.0/tests/test_unified_dashboard.py +84 -0
- tradesight-1.0.0/tradesight/__init__.py +12 -0
- tradesight-1.0.0/tradesight/__main__.py +5 -0
- tradesight-1.0.0/tradesight/cli.py +63 -0
- tradesight-1.0.0/tradesight.egg-info/PKG-INFO +231 -0
- tradesight-1.0.0/tradesight.egg-info/SOURCES.txt +23 -0
- tradesight-1.0.0/tradesight.egg-info/dependency_links.txt +1 -0
- tradesight-1.0.0/tradesight.egg-info/entry_points.txt +2 -0
- tradesight-1.0.0/tradesight.egg-info/requires.txt +2 -0
- tradesight-1.0.0/tradesight.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: tradesight
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Self-hosted AI trading strategy lab β backtest, paper trade, run AI tournaments overnight.
|
|
5
|
+
Author-email: Ray Bell <hello@tradesight.dev>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/rmbell09-lang/TradeSight
|
|
8
|
+
Project-URL: Repository, https://github.com/rmbell09-lang/TradeSight
|
|
9
|
+
Project-URL: Bug Tracker, https://github.com/rmbell09-lang/TradeSight/issues
|
|
10
|
+
Project-URL: Documentation, https://github.com/rmbell09-lang/TradeSight#readme
|
|
11
|
+
Keywords: algotrading,paper-trading,backtesting,algorithmic-trading,quantitative-finance,trading-strategies,ai-trading,python-finance
|
|
12
|
+
Classifier: Development Status :: 4 - Beta
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Intended Audience :: Financial and Insurance Industry
|
|
15
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Topic :: Office/Business :: Financial :: Investment
|
|
21
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
22
|
+
Requires-Python: >=3.10
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
Requires-Dist: requests>=2.31.0
|
|
25
|
+
Requires-Dist: flask>=2.3.0
|
|
26
|
+
|
|
27
|
+
# π― TradeSight β Self-Hosted AI Trading Strategy Lab
|
|
28
|
+
|
|
29
|
+
[](https://www.python.org/downloads/)
|
|
30
|
+
[](https://flask.palletsprojects.com/)
|
|
31
|
+
[](https://opensource.org/licenses/MIT)
|
|
32
|
+
[]()
|
|
33
|
+
[]()
|
|
34
|
+
[]()
|
|
35
|
+
[]()
|
|
36
|
+
|
|
37
|
+
**Build, test, and evolve trading strategies with AI β entirely on your own machine. No cloud subscription. No data leaks. No monthly fees.**
|
|
38
|
+
|
|
39
|
+
TradeSight is a self-hosted Python app that runs AI-powered strategy tournaments overnight, backtests technical indicators, and executes paper trades via Alpaca β all from a local web dashboard.
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## π€ Who Is This For?
|
|
44
|
+
|
|
45
|
+
- **Algorithmic trading hobbyists** who want to test strategies without risking real money
|
|
46
|
+
- **Python developers** exploring quantitative finance and AI-driven decision systems
|
|
47
|
+
- **Privacy-conscious traders** who don't want their strategies on someone else's server
|
|
48
|
+
- **Makers** building autonomous financial agents
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## β¨ Features
|
|
53
|
+
|
|
54
|
+
| Feature | Description |
|
|
55
|
+
|---|---|
|
|
56
|
+
| 𧬠**AI Strategy Tournaments** | Automated overnight evolution of trading strategies β the best wins, rest are retired |
|
|
57
|
+
| π **15+ Technical Indicators** | MACD, RSI, Bollinger Bands, EMA crossovers, ATR, volume analysis, and more |
|
|
58
|
+
| πΈ **Paper Trading** | Connect Alpaca paper account β trade with fake money, track real P&L |
|
|
59
|
+
| π **Multi-Market Scanner** | Scan stocks + Polymarket prediction markets for signals simultaneously |
|
|
60
|
+
| π **Web Dashboard** | Real-time Flask interface β positions, signals, tournament results, logs |
|
|
61
|
+
| β° **Cron Automation** | Overnight strategy improvement runs automatically β wake up to new results |
|
|
62
|
+
| π **100% Local** | Runs on your machine. Your strategies stay yours. |
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## π Quick Start
|
|
67
|
+
|
|
68
|
+
### Requirements
|
|
69
|
+
- Python 3.11+
|
|
70
|
+
- macOS or Linux (Windows via WSL)
|
|
71
|
+
- [Alpaca paper trading account](https://alpaca.markets/) (free, optional β demo mode works without it)
|
|
72
|
+
|
|
73
|
+
### Install
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
git clone https://github.com/rmbell09-lang/tradesight.git
|
|
77
|
+
cd tradesight
|
|
78
|
+
pip install -r requirements.txt
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Run
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
python START_TRADESIGHT.py
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Dashboard opens at **http://localhost:5000**
|
|
88
|
+
|
|
89
|
+
### Demo Mode (No API Keys Required)
|
|
90
|
+
TradeSight runs fully in demo mode with simulated market data β no Alpaca account needed to explore.
|
|
91
|
+
|
|
92
|
+
### Live Paper Trading (Optional)
|
|
93
|
+
1. Create a free [Alpaca paper account](https://alpaca.markets/)
|
|
94
|
+
2. Add your API keys to `config/api_keys.json`:
|
|
95
|
+
```json
|
|
96
|
+
{
|
|
97
|
+
"alpaca_key": "YOUR_KEY",
|
|
98
|
+
"alpaca_secret": "YOUR_SECRET",
|
|
99
|
+
"paper": true
|
|
100
|
+
}
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
## πΈ Dashboard
|
|
106
|
+
|
|
107
|
+
```
|
|
108
|
+
βββββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
109
|
+
β TradeSight Dashboard [Localhost:5000] β
|
|
110
|
+
ββββββββββββ¬βββββββββββ¬ββββββββββββ¬ββββββββββββββββ€
|
|
111
|
+
β Markets βTournamentsβ Trading β Settings β
|
|
112
|
+
ββββββββββββ΄βββββββββββ΄ββββββββββββ΄ββββββββββββββββ€
|
|
113
|
+
β Active Signals: 3 Open Positions: 2 β
|
|
114
|
+
β Best Strategy: MACD Crossover (score: 0.72) β
|
|
115
|
+
β Paper P&L: -$113.96 (initial RSI strategy) β
|
|
116
|
+
β Next Tournament: Tonight @ 2:00 AM β
|
|
117
|
+
βββββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## π§ͺ Test Results
|
|
123
|
+
|
|
124
|
+
```
|
|
125
|
+
169/169 tests passing β
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
python -m pytest tests/ -v
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## ποΈ Architecture
|
|
135
|
+
|
|
136
|
+
```
|
|
137
|
+
tradesight/
|
|
138
|
+
βββ src/
|
|
139
|
+
β βββ scanner.py # Multi-market signal scanner
|
|
140
|
+
β βββ strategy_lab/ # AI tournament engine
|
|
141
|
+
β βββ trading/ # Alpaca paper trade executor
|
|
142
|
+
β βββ indicators/ # 15+ technical indicators
|
|
143
|
+
β βββ automation/ # Overnight cron jobs
|
|
144
|
+
βββ web/ # Flask dashboard
|
|
145
|
+
βββ config/ # API keys + settings
|
|
146
|
+
βββ data/ # Price history cache
|
|
147
|
+
βββ tests/ # 169 unit tests
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## π Live Paper Trading β April 2026
|
|
153
|
+
|
|
154
|
+
Real money-at-risk (on paper). Updated automatically. System has been live since March 2026.
|
|
155
|
+
|
|
156
|
+
**Current Portfolio:** $532 total value | **+6.43% total return** (+$32.15)
|
|
157
|
+
|
|
158
|
+
| Strategy | Trades | P&L | Win Rate |
|
|
159
|
+
|---|---|---|---|
|
|
160
|
+
| MACD Crossover | 1 | +$17.89 | 100% β
|
|
|
161
|
+
| VWAP Reversion | 1 | -$4.75 | 0% |
|
|
162
|
+
| RSI Mean Reversion | 5 | -$13.77 | 20% |
|
|
163
|
+
|
|
164
|
+
**Recent Closed Trades (Last 7 Days):**
|
|
165
|
+
| Symbol | Strategy | Entry | Exit | P&L |
|
|
166
|
+
|---|---|---|---|---|
|
|
167
|
+
| JPM | MACD Crossover | $242.94 | $303.24 | +$17.89 β
|
|
|
168
|
+
| SPY | RSI Mean Reversion | $596.36 | $649.79 | +$6.06 β
|
|
|
169
|
+
| AMZN | VWAP Reversion | $223.25 | $209.69 | -$4.75 |
|
|
170
|
+
| QQQ | RSI Mean Reversion | $590.06 | $565.22 | -$6.56 |
|
|
171
|
+
| GOOG | RSI Mean Reversion | $297.77 | $276.47 | -$13.28 |
|
|
172
|
+
|
|
173
|
+
> This is a live paper trading account connected to Alpaca. All prices are real market data; no real money at risk. System runs overnight tournaments to evolve strategy parameters automatically. Early RSI underperformance drove a regime-filter upgrade now in production.
|
|
174
|
+
|
|
175
|
+
---
|
|
176
|
+
|
|
177
|
+
## πΊοΈ Roadmap
|
|
178
|
+
|
|
179
|
+
- [x] Multi-indicator technical analysis (15+ indicators)
|
|
180
|
+
- [x] AI strategy tournament engine
|
|
181
|
+
- [x] Alpaca paper trading integration
|
|
182
|
+
- [x] Real-time web dashboard
|
|
183
|
+
- [x] Overnight automation (cron)
|
|
184
|
+
- [ ] Phase 1: Active stop-loss + take-profit execution
|
|
185
|
+
- [ ] Phase 1: Trailing stop with high-water mark
|
|
186
|
+
- [ ] Phase 2: Confluence strategy (multi-indicator entry gates)
|
|
187
|
+
- [ ] Phase 2: Market regime detection (bull/bear/sideways filter)
|
|
188
|
+
- [ ] Phase 3: Monte Carlo simulation for strategy validation
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
|
|
195
|
+
## π° Support Development
|
|
196
|
+
|
|
197
|
+
TradeSight is MIT-licensed and free to use. If it saved you time or you want the packaged strategy lab with setup guide and pre-tuned parameters:
|
|
198
|
+
|
|
199
|
+
**[Get TradeSight Strategy Lab on Gumroad β](https://qcautonomous.gumroad.com/l/zpkutz)** β $49 one-time
|
|
200
|
+
|
|
201
|
+
Includes: packaged download, setup walkthrough, pre-configured Alpaca integration, and strategy parameter reference.
|
|
202
|
+
|
|
203
|
+
## π Related Projects & Alternatives
|
|
204
|
+
|
|
205
|
+
TradeSight is similar to β but different from β these popular Python trading tools:
|
|
206
|
+
|
|
207
|
+
| Project | What It Does | How TradeSight Differs |
|
|
208
|
+
|---|---|---|
|
|
209
|
+
| [backtrader](https://github.com/mementum/backtrader) | Python backtesting framework | TradeSight adds AI strategy evolution + live paper trading web dashboard |
|
|
210
|
+
| [freqtrade](https://github.com/freqtrade/freqtrade) | Crypto trading bot | TradeSight focuses on **stocks** (Alpaca API) with overnight strategy tournaments |
|
|
211
|
+
| [vectorbt](https://github.com/polakowo/vectorbt) | Vectorized backtesting in notebooks | TradeSight is a self-hosted web app β no notebook required |
|
|
212
|
+
| [zipline-reloaded](https://github.com/stefan-jansen/zipline-reloaded) | Algorithmic trading library | TradeSight is a full app, not a library β no Python trading experience needed |
|
|
213
|
+
| [Jesse](https://github.com/jesse-ai/jesse) | Crypto strategy framework | TradeSight is for **stocks + prediction markets**, not crypto |
|
|
214
|
+
| [nautilus_trader](https://github.com/nautechsystems/nautilus_trader) | High-performance trading platform | TradeSight is simpler, self-hosted, built for hobbyists not HFT |
|
|
215
|
+
| [BillingWatch](https://github.com/rmbell09-lang/BillingWatch) | Self-hosted billing anomaly detection | Same maker β catch Stripe issues before they cost you |
|
|
216
|
+
|
|
217
|
+
> **Also useful for:** python trading bot Β· algorithmic trading python Β· paper trading software Β· free backtesting Β· stock trading python Β· quantitative finance Β· algo trading strategy tester Β· self-hosted trading platform Β· automated trading system Β· backtesting framework
|
|
218
|
+
|
|
219
|
+
---
|
|
220
|
+
|
|
221
|
+
## π License
|
|
222
|
+
|
|
223
|
+
MIT β free to use, modify, and build on.
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
## β If This Helped You
|
|
228
|
+
|
|
229
|
+
Star the repo β it helps other Python traders find it.
|
|
230
|
+
|
|
231
|
+
Got broken AI-generated code? β [Vibe Code Rescue](https://rmbell09-lang.github.io/tradesight/vibe-code-rescue.html)
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
# π― TradeSight β Self-Hosted AI Trading Strategy Lab
|
|
2
|
+
|
|
3
|
+
[](https://www.python.org/downloads/)
|
|
4
|
+
[](https://flask.palletsprojects.com/)
|
|
5
|
+
[](https://opensource.org/licenses/MIT)
|
|
6
|
+
[]()
|
|
7
|
+
[]()
|
|
8
|
+
[]()
|
|
9
|
+
[]()
|
|
10
|
+
|
|
11
|
+
**Build, test, and evolve trading strategies with AI β entirely on your own machine. No cloud subscription. No data leaks. No monthly fees.**
|
|
12
|
+
|
|
13
|
+
TradeSight is a self-hosted Python app that runs AI-powered strategy tournaments overnight, backtests technical indicators, and executes paper trades via Alpaca β all from a local web dashboard.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## π€ Who Is This For?
|
|
18
|
+
|
|
19
|
+
- **Algorithmic trading hobbyists** who want to test strategies without risking real money
|
|
20
|
+
- **Python developers** exploring quantitative finance and AI-driven decision systems
|
|
21
|
+
- **Privacy-conscious traders** who don't want their strategies on someone else's server
|
|
22
|
+
- **Makers** building autonomous financial agents
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## β¨ Features
|
|
27
|
+
|
|
28
|
+
| Feature | Description |
|
|
29
|
+
|---|---|
|
|
30
|
+
| 𧬠**AI Strategy Tournaments** | Automated overnight evolution of trading strategies β the best wins, rest are retired |
|
|
31
|
+
| π **15+ Technical Indicators** | MACD, RSI, Bollinger Bands, EMA crossovers, ATR, volume analysis, and more |
|
|
32
|
+
| πΈ **Paper Trading** | Connect Alpaca paper account β trade with fake money, track real P&L |
|
|
33
|
+
| π **Multi-Market Scanner** | Scan stocks + Polymarket prediction markets for signals simultaneously |
|
|
34
|
+
| π **Web Dashboard** | Real-time Flask interface β positions, signals, tournament results, logs |
|
|
35
|
+
| β° **Cron Automation** | Overnight strategy improvement runs automatically β wake up to new results |
|
|
36
|
+
| π **100% Local** | Runs on your machine. Your strategies stay yours. |
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## π Quick Start
|
|
41
|
+
|
|
42
|
+
### Requirements
|
|
43
|
+
- Python 3.11+
|
|
44
|
+
- macOS or Linux (Windows via WSL)
|
|
45
|
+
- [Alpaca paper trading account](https://alpaca.markets/) (free, optional β demo mode works without it)
|
|
46
|
+
|
|
47
|
+
### Install
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
git clone https://github.com/rmbell09-lang/tradesight.git
|
|
51
|
+
cd tradesight
|
|
52
|
+
pip install -r requirements.txt
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Run
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
python START_TRADESIGHT.py
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Dashboard opens at **http://localhost:5000**
|
|
62
|
+
|
|
63
|
+
### Demo Mode (No API Keys Required)
|
|
64
|
+
TradeSight runs fully in demo mode with simulated market data β no Alpaca account needed to explore.
|
|
65
|
+
|
|
66
|
+
### Live Paper Trading (Optional)
|
|
67
|
+
1. Create a free [Alpaca paper account](https://alpaca.markets/)
|
|
68
|
+
2. Add your API keys to `config/api_keys.json`:
|
|
69
|
+
```json
|
|
70
|
+
{
|
|
71
|
+
"alpaca_key": "YOUR_KEY",
|
|
72
|
+
"alpaca_secret": "YOUR_SECRET",
|
|
73
|
+
"paper": true
|
|
74
|
+
}
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## πΈ Dashboard
|
|
80
|
+
|
|
81
|
+
```
|
|
82
|
+
βββββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
83
|
+
β TradeSight Dashboard [Localhost:5000] β
|
|
84
|
+
ββββββββββββ¬βββββββββββ¬ββββββββββββ¬ββββββββββββββββ€
|
|
85
|
+
β Markets βTournamentsβ Trading β Settings β
|
|
86
|
+
ββββββββββββ΄βββββββββββ΄ββββββββββββ΄ββββββββββββββββ€
|
|
87
|
+
β Active Signals: 3 Open Positions: 2 β
|
|
88
|
+
β Best Strategy: MACD Crossover (score: 0.72) β
|
|
89
|
+
β Paper P&L: -$113.96 (initial RSI strategy) β
|
|
90
|
+
β Next Tournament: Tonight @ 2:00 AM β
|
|
91
|
+
βββββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## π§ͺ Test Results
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
169/169 tests passing β
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
python -m pytest tests/ -v
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## ποΈ Architecture
|
|
109
|
+
|
|
110
|
+
```
|
|
111
|
+
tradesight/
|
|
112
|
+
βββ src/
|
|
113
|
+
β βββ scanner.py # Multi-market signal scanner
|
|
114
|
+
β βββ strategy_lab/ # AI tournament engine
|
|
115
|
+
β βββ trading/ # Alpaca paper trade executor
|
|
116
|
+
β βββ indicators/ # 15+ technical indicators
|
|
117
|
+
β βββ automation/ # Overnight cron jobs
|
|
118
|
+
βββ web/ # Flask dashboard
|
|
119
|
+
βββ config/ # API keys + settings
|
|
120
|
+
βββ data/ # Price history cache
|
|
121
|
+
βββ tests/ # 169 unit tests
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## π Live Paper Trading β April 2026
|
|
127
|
+
|
|
128
|
+
Real money-at-risk (on paper). Updated automatically. System has been live since March 2026.
|
|
129
|
+
|
|
130
|
+
**Current Portfolio:** $532 total value | **+6.43% total return** (+$32.15)
|
|
131
|
+
|
|
132
|
+
| Strategy | Trades | P&L | Win Rate |
|
|
133
|
+
|---|---|---|---|
|
|
134
|
+
| MACD Crossover | 1 | +$17.89 | 100% β
|
|
|
135
|
+
| VWAP Reversion | 1 | -$4.75 | 0% |
|
|
136
|
+
| RSI Mean Reversion | 5 | -$13.77 | 20% |
|
|
137
|
+
|
|
138
|
+
**Recent Closed Trades (Last 7 Days):**
|
|
139
|
+
| Symbol | Strategy | Entry | Exit | P&L |
|
|
140
|
+
|---|---|---|---|---|
|
|
141
|
+
| JPM | MACD Crossover | $242.94 | $303.24 | +$17.89 β
|
|
|
142
|
+
| SPY | RSI Mean Reversion | $596.36 | $649.79 | +$6.06 β
|
|
|
143
|
+
| AMZN | VWAP Reversion | $223.25 | $209.69 | -$4.75 |
|
|
144
|
+
| QQQ | RSI Mean Reversion | $590.06 | $565.22 | -$6.56 |
|
|
145
|
+
| GOOG | RSI Mean Reversion | $297.77 | $276.47 | -$13.28 |
|
|
146
|
+
|
|
147
|
+
> This is a live paper trading account connected to Alpaca. All prices are real market data; no real money at risk. System runs overnight tournaments to evolve strategy parameters automatically. Early RSI underperformance drove a regime-filter upgrade now in production.
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## πΊοΈ Roadmap
|
|
152
|
+
|
|
153
|
+
- [x] Multi-indicator technical analysis (15+ indicators)
|
|
154
|
+
- [x] AI strategy tournament engine
|
|
155
|
+
- [x] Alpaca paper trading integration
|
|
156
|
+
- [x] Real-time web dashboard
|
|
157
|
+
- [x] Overnight automation (cron)
|
|
158
|
+
- [ ] Phase 1: Active stop-loss + take-profit execution
|
|
159
|
+
- [ ] Phase 1: Trailing stop with high-water mark
|
|
160
|
+
- [ ] Phase 2: Confluence strategy (multi-indicator entry gates)
|
|
161
|
+
- [ ] Phase 2: Market regime detection (bull/bear/sideways filter)
|
|
162
|
+
- [ ] Phase 3: Monte Carlo simulation for strategy validation
|
|
163
|
+
|
|
164
|
+
---
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
## π° Support Development
|
|
170
|
+
|
|
171
|
+
TradeSight is MIT-licensed and free to use. If it saved you time or you want the packaged strategy lab with setup guide and pre-tuned parameters:
|
|
172
|
+
|
|
173
|
+
**[Get TradeSight Strategy Lab on Gumroad β](https://qcautonomous.gumroad.com/l/zpkutz)** β $49 one-time
|
|
174
|
+
|
|
175
|
+
Includes: packaged download, setup walkthrough, pre-configured Alpaca integration, and strategy parameter reference.
|
|
176
|
+
|
|
177
|
+
## π Related Projects & Alternatives
|
|
178
|
+
|
|
179
|
+
TradeSight is similar to β but different from β these popular Python trading tools:
|
|
180
|
+
|
|
181
|
+
| Project | What It Does | How TradeSight Differs |
|
|
182
|
+
|---|---|---|
|
|
183
|
+
| [backtrader](https://github.com/mementum/backtrader) | Python backtesting framework | TradeSight adds AI strategy evolution + live paper trading web dashboard |
|
|
184
|
+
| [freqtrade](https://github.com/freqtrade/freqtrade) | Crypto trading bot | TradeSight focuses on **stocks** (Alpaca API) with overnight strategy tournaments |
|
|
185
|
+
| [vectorbt](https://github.com/polakowo/vectorbt) | Vectorized backtesting in notebooks | TradeSight is a self-hosted web app β no notebook required |
|
|
186
|
+
| [zipline-reloaded](https://github.com/stefan-jansen/zipline-reloaded) | Algorithmic trading library | TradeSight is a full app, not a library β no Python trading experience needed |
|
|
187
|
+
| [Jesse](https://github.com/jesse-ai/jesse) | Crypto strategy framework | TradeSight is for **stocks + prediction markets**, not crypto |
|
|
188
|
+
| [nautilus_trader](https://github.com/nautechsystems/nautilus_trader) | High-performance trading platform | TradeSight is simpler, self-hosted, built for hobbyists not HFT |
|
|
189
|
+
| [BillingWatch](https://github.com/rmbell09-lang/BillingWatch) | Self-hosted billing anomaly detection | Same maker β catch Stripe issues before they cost you |
|
|
190
|
+
|
|
191
|
+
> **Also useful for:** python trading bot Β· algorithmic trading python Β· paper trading software Β· free backtesting Β· stock trading python Β· quantitative finance Β· algo trading strategy tester Β· self-hosted trading platform Β· automated trading system Β· backtesting framework
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
|
|
195
|
+
## π License
|
|
196
|
+
|
|
197
|
+
MIT β free to use, modify, and build on.
|
|
198
|
+
|
|
199
|
+
---
|
|
200
|
+
|
|
201
|
+
## β If This Helped You
|
|
202
|
+
|
|
203
|
+
Star the repo β it helps other Python traders find it.
|
|
204
|
+
|
|
205
|
+
Got broken AI-generated code? β [Vibe Code Rescue](https://rmbell09-lang.github.io/tradesight/vibe-code-rescue.html)
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "tradesight"
|
|
7
|
+
version = "1.0.0"
|
|
8
|
+
description = "Self-hosted AI trading strategy lab β backtest, paper trade, run AI tournaments overnight."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = {text = "MIT"}
|
|
11
|
+
authors = [
|
|
12
|
+
{name = "Ray Bell", email = "hello@tradesight.dev"},
|
|
13
|
+
]
|
|
14
|
+
keywords = [
|
|
15
|
+
"algotrading",
|
|
16
|
+
"paper-trading",
|
|
17
|
+
"backtesting",
|
|
18
|
+
"algorithmic-trading",
|
|
19
|
+
"quantitative-finance",
|
|
20
|
+
"trading-strategies",
|
|
21
|
+
"ai-trading",
|
|
22
|
+
"python-finance",
|
|
23
|
+
]
|
|
24
|
+
classifiers = [
|
|
25
|
+
"Development Status :: 4 - Beta",
|
|
26
|
+
"Intended Audience :: Developers",
|
|
27
|
+
"Intended Audience :: Financial and Insurance Industry",
|
|
28
|
+
"License :: OSI Approved :: MIT License",
|
|
29
|
+
"Programming Language :: Python :: 3",
|
|
30
|
+
"Programming Language :: Python :: 3.10",
|
|
31
|
+
"Programming Language :: Python :: 3.11",
|
|
32
|
+
"Programming Language :: Python :: 3.12",
|
|
33
|
+
"Topic :: Office/Business :: Financial :: Investment",
|
|
34
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
35
|
+
]
|
|
36
|
+
requires-python = ">=3.10"
|
|
37
|
+
dependencies = [
|
|
38
|
+
"requests>=2.31.0",
|
|
39
|
+
"flask>=2.3.0",
|
|
40
|
+
]
|
|
41
|
+
|
|
42
|
+
[project.urls]
|
|
43
|
+
Homepage = "https://github.com/rmbell09-lang/TradeSight"
|
|
44
|
+
Repository = "https://github.com/rmbell09-lang/TradeSight"
|
|
45
|
+
"Bug Tracker" = "https://github.com/rmbell09-lang/TradeSight/issues"
|
|
46
|
+
Documentation = "https://github.com/rmbell09-lang/TradeSight#readme"
|
|
47
|
+
|
|
48
|
+
[project.scripts]
|
|
49
|
+
tradesight = "tradesight.cli:main"
|
|
50
|
+
|
|
51
|
+
[tool.setuptools.packages.find]
|
|
52
|
+
where = ["."]
|
|
53
|
+
include = ["tradesight*"]
|