sigma-terminal 3.4.1__py3-none-any.whl → 3.5.0__py3-none-any.whl

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.
@@ -1,272 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: sigma-terminal
3
- Version: 3.4.1
4
- Summary: Sigma - Finance Research Agent
5
- Project-URL: Homepage, https://github.com/desenyon/sigma
6
- Project-URL: Documentation, https://github.com/desenyon/sigma/wiki
7
- Project-URL: Repository, https://github.com/desenyon/sigma
8
- Author: Sigma Team
9
- License: Proprietary
10
- License-File: LICENSE
11
- Keywords: ai,analytics,backtesting,finance,investment,portfolio,quantitative,research,stocks,terminal,trading
12
- Classifier: Development Status :: 4 - Beta
13
- Classifier: Environment :: Console
14
- Classifier: Intended Audience :: Financial and Insurance Industry
15
- Classifier: License :: Other/Proprietary License
16
- Classifier: Operating System :: OS Independent
17
- Classifier: Programming Language :: Python :: 3.11
18
- Classifier: Programming Language :: Python :: 3.12
19
- Classifier: Topic :: Office/Business :: Financial :: Investment
20
- Requires-Python: >=3.11
21
- Requires-Dist: aiohttp>=3.9.0
22
- Requires-Dist: anthropic>=0.18.0
23
- Requires-Dist: google-genai>=1.0.0
24
- Requires-Dist: groq>=0.4.0
25
- Requires-Dist: httpx>=0.26.0
26
- Requires-Dist: kaleido>=0.2.1
27
- Requires-Dist: numpy>=1.26.0
28
- Requires-Dist: openai>=1.12.0
29
- Requires-Dist: pandas>=2.2.0
30
- Requires-Dist: pillow>=10.2.0
31
- Requires-Dist: plotext>=5.2.8
32
- Requires-Dist: plotly>=5.18.0
33
- Requires-Dist: pydantic-settings>=2.1.0
34
- Requires-Dist: pydantic>=2.6.0
35
- Requires-Dist: pyobjc-framework-cocoa>=10.0; sys_platform == 'darwin'
36
- Requires-Dist: python-dotenv>=1.0.0
37
- Requires-Dist: requests>=2.31.0
38
- Requires-Dist: rich>=13.7.0
39
- Requires-Dist: scipy>=1.12.0
40
- Requires-Dist: textual>=0.47.0
41
- Requires-Dist: yfinance>=0.2.36
42
- Provides-Extra: all
43
- Requires-Dist: black>=24.0.0; extra == 'all'
44
- Requires-Dist: lean>=1.0.0; extra == 'all'
45
- Requires-Dist: mypy>=1.8.0; extra == 'all'
46
- Requires-Dist: py2app>=0.28.0; extra == 'all'
47
- Requires-Dist: pytest-asyncio>=0.23.0; extra == 'all'
48
- Requires-Dist: pytest>=8.0.0; extra == 'all'
49
- Requires-Dist: ruff>=0.2.0; extra == 'all'
50
- Provides-Extra: dev
51
- Requires-Dist: black>=24.0.0; extra == 'dev'
52
- Requires-Dist: mypy>=1.8.0; extra == 'dev'
53
- Requires-Dist: py2app>=0.28.0; extra == 'dev'
54
- Requires-Dist: pytest-asyncio>=0.23.0; extra == 'dev'
55
- Requires-Dist: pytest>=8.0.0; extra == 'dev'
56
- Requires-Dist: ruff>=0.2.0; extra == 'dev'
57
- Provides-Extra: lean
58
- Requires-Dist: lean>=1.0.0; extra == 'lean'
59
- Description-Content-Type: text/markdown
60
-
61
- <h1 align="center">
62
- <code>σ</code> SIGMA
63
- </h1>
64
-
65
- <p align="center">
66
- <strong>The AI-Powered Finance Research Agent</strong>
67
- </p>
68
-
69
- <p align="center">
70
- <a href="#quick-start">Quick Start</a> •
71
- <a href="#features">Features</a> •
72
- <a href="#commands">Commands</a> •
73
- <a href="#architecture">Architecture</a> •
74
- <a href="#roadmap">Roadmap</a>
75
- </p>
76
-
77
- <p align="center">
78
- <img src="https://img.shields.io/badge/version-3.4.1-blue.svg" alt="Version 3.4.1"/>
79
- <img src="https://img.shields.io/badge/python-3.11+-green.svg" alt="Python 3.11+"/>
80
- <img src="https://img.shields.io/badge/platform-cross--platform-lightgrey.svg" alt="Cross Platform"/>
81
- <img src="https://img.shields.io/badge/AI-Multi--Provider-purple.svg" alt="Multi-Provider AI"/>
82
- <img src="https://img.shields.io/badge/license-Proprietary-red.svg" alt="License"/>
83
- </p>
84
-
85
- ---
86
-
87
- ## What is Sigma?
88
-
89
- **Sigma isn't just another finance app.** It's a conversational AI agent that thinks like a quant, analyzes like a hedge fund, and speaks like your smartest friend who happens to be a CFA.
90
-
91
- ## Quick Start
92
-
93
- ### One Command Install
94
-
95
- \`\`\`bash
96
- pip install sigma-terminal
97
- \`\`\`
98
-
99
- ### Launch Sigma
100
-
101
- \`\`\`bash
102
- sigma
103
- \`\`\`
104
-
105
- Or alternatively: `python -m sigma`
106
-
107
- ### First Launch = Automatic Setup
108
-
109
- **That's it.** Sigma detects it's your first time and walks you through:
110
-
111
- 1. **Choose AI Provider** — Google Gemini, OpenAI, Anthropic, Groq, xAI, or Ollama
112
- 2. **Enter API Key** — Or use local Ollama (completely free, no key needed!)
113
- 3. **Auto-detect Integrations** — Finds Ollama, LEAN, and more
114
- 4. **Launch Directly** — Straight into the beautiful terminal UI
115
-
116
- Your config persists at \`~/.sigma/\` — **setup never asks again**.
117
-
118
- ---
119
-
120
- ## Features
121
-
122
- ### Multi-Provider AI Engine
123
-
124
- Switch between providers on the fly. Use free tiers or bring your own keys.
125
-
126
- | Provider | Models | Speed | Cost | Tool Calls |
127
- | ----------------------- | ---------------------------- | --------- | -------------- | ---------- |
128
- | **Google Gemini** | gemini-2.5-flash, 2.5-pro | Fast | Free tier | Native |
129
- | **OpenAI** | gpt-4o, gpt-4o-mini, o3-mini | Fast | Paid | Native |
130
- | **Anthropic** | claude-sonnet-4, 3.5-sonnet | Fast | Paid | Native |
131
- | **Groq** | llama-3.3-70b | Very Fast | Free tier | Native |
132
- | **xAI** | grok-2, grok-2-mini | Fast | Paid | Native |
133
- | **Ollama** | llama3.2, mistral, phi3 | Local | **FREE** | Native |
134
-
135
- **Built-in Rate Limiting** — No more API flooding or timeouts.
136
-
137
- **Error Codes** — Clear error codes (E1100-E1400) help you quickly diagnose issues.
138
-
139
- ### Real-Time Market Intelligence
140
-
141
- | Tool | What It Does |
142
- | ------------------------------- | --------------------------------------------- |
143
- | \`get_stock_quote\` | Live price, change, volume, market cap |
144
- | \`technical_analysis\` | RSI, MACD, Bollinger, MAs, Support/Resistance |
145
- | \`get_financial_statements\` | Income, balance sheet, cash flow |
146
- | \`get_analyst_recommendations\` | Price targets, ratings, consensus |
147
- | \`get_insider_trades\` | Who's buying, who's selling |
148
- | \`get_institutional_holders\` | Track the smart money |
149
- | \`compare_stocks\` | Multi-stock comparison with metrics |
150
- | \`get_market_overview\` | Major indices at a glance |
151
- | \`get_sector_performance\` | Sector rotation analysis |
152
-
153
- ### Data APIs
154
-
155
- | Tool | Source | What It Does |
156
- | --------------------------- | ------------- | ------------------------------------ |
157
- | \`get_economic_indicators\` | Alpha Vantage | GDP, inflation, unemployment, CPI |
158
- | \`get_intraday_data\` | Alpha Vantage | 1min to 60min candles |
159
- | \`get_market_news\` | Alpha Vantage | News with sentiment analysis |
160
- | \`polygon_get_quote\` | Polygon.io | Real-time quotes with extended data |
161
- | \`polygon_get_aggregates\` | Polygon.io | Historical bars with custom timespan |
162
- | \`polygon_get_ticker_news\` | Polygon.io | News articles for specific tickers |
163
- | \`search_financial_news\` | Exa | Search Bloomberg, Reuters, WSJ |
164
- | \`search_sec_filings\` | Exa | 10-K, 10-Q, 8-K filings |
165
-
166
- ### Backtesting Engine
167
-
168
- | Strategy | Description | Use Case |
169
- | ----------------- | ----------------------- | ------------------ |
170
- | \`sma_crossover\` | 20/50 MA crossover | Trend following |
171
- | \`rsi\` | RSI oversold/overbought | Mean reversion |
172
- | \`macd\` | MACD signal crossovers | Momentum |
173
- | \`bollinger\` | Band breakout/bounce | Volatility |
174
- | \`momentum\` | Price momentum | Trend continuation |
175
- | \`breakout\` | S/R level breaks | Breakout trading |
176
-
177
- ---
178
-
179
- ## Commands
180
-
181
- ### In-App Commands
182
-
183
- | Command | Description |
184
- | --------------------------- | -------------------------------- |
185
- | \`/help\` | Comprehensive help with examples |
186
- | \`/clear\` | Clear chat history |
187
- | \`/keys\` | Configure API keys (improved!) |
188
- | \`/models\` | Show available models |
189
- | \`/status\` | Current configuration |
190
- | \`/provider `<name>`\` | Switch AI provider |
191
- | \`/model `<name>`\` | Switch model |
192
- | \`/setkey `<p>` `<k>`\` | Set API key for provider |
193
- | \`/backtest\` | Show backtesting strategies |
194
-
195
- ### Keyboard Shortcuts
196
-
197
- | Shortcut | Action |
198
- | ---------- | ----------------------- |
199
- | \`Tab\` | Autocomplete suggestion |
200
- | \`Ctrl+L\` | Clear chat |
201
- | \`Ctrl+M\` | Show models |
202
- | \`Ctrl+H\` | Toggle quick help |
203
- | \`Esc\` | Cancel operation |
204
-
205
- ---
206
-
207
- ## Configuration
208
-
209
- ### Config Location
210
-
211
- \`\`\`
212
- ~/.sigma/
213
- |-- config.env # API keys and settings
214
- └── .first_run_complete # First-run marker
215
- \`\`\`
216
-
217
- ### Error Codes
218
-
219
- | Code Range | Category | Example |
220
- | ---------- | -------- | ----------------------- |
221
- | E1000-1099 | General | E1002: Timeout |
222
- | E1100-1199 | API Keys | E1101: Invalid API key |
223
- | E1200-1299 | Provider | E1202: Model not found |
224
- | E1300-1399 | Data | E1300: Symbol not found |
225
- | E1400-1499 | Network | E1400: Connection error |
226
-
227
- ---
228
-
229
- ## Changelog
230
-
231
- ### v3.4.1 (Current)
232
-
233
- - [X] **Color-Coded Returns** — Green/red highlighting for gains/losses
234
- - [X] **6 New Analysis Tools** — Valuation, risk, earnings, dividends, options, peer comparison
235
- - [X] **Revamped Help Section** — Beautiful organized /help with 29 tools
236
- - [X] **ASCII Spinner** — Clean terminal-friendly animation
237
- - [X] **No Emojis** — Professional text-only interface
238
-
239
- ### v3.4.0
240
-
241
- - [X] **Improved API Key Management** — Beautiful \`/keys\` interface with URLs
242
- - [X] **Polygon.io Integration** — Real-time quotes, aggregates, news
243
- - [X] **xAI Grok Support** — Full support for Grok-2 and Grok-2-mini
244
- - [X] **Error Codes** — Structured error codes (E1000-E1499)
245
- - [X] **Updated Models** — Removed deprecated, added latest versions
246
- - [X] **Enhanced AI** — Maximum helpfulness with proactive insights
247
- - [X] **Modern UI** — Gradient blues, improved styling
248
- - [X] **Cross-Platform** — Works on macOS, Linux, Windows
249
-
250
- ### v3.3.x
251
-
252
- - [X] Auto-setup on first launch
253
- - [X] LEAN auto-detection
254
- - [X] API rate limiting
255
- - [X] Ollama native tool calls
256
- - [X] Alpha Vantage & Exa integration
257
-
258
- ---
259
-
260
- ## Acknowledgments
261
-
262
- Built with [Textual](https://textual.textualize.io/), [Rich](https://rich.readthedocs.io/), [yfinance](https://github.com/ranaroussi/yfinance), [Plotly](https://plotly.com/python/), LEAN
263
-
264
- AI: [Google Gemini](https://ai.google.dev/) • [OpenAI](https://openai.com/) • [Anthropic](https://anthropic.com/) • [Groq](https://groq.com/) • [xAI](https://x.ai/) • [Ollama](https://ollama.ai/)
265
-
266
- Data: [Polygon.io](https://polygon.io/) • [Alpha Vantage](https://www.alphavantage.co/) • [Exa](https://exa.ai/)
267
-
268
- ---
269
-
270
- <p align="center">
271
- <code>σ</code> — Finance Research AI Agent
272
- </p>
@@ -1,30 +0,0 @@
1
- sigma/__init__.py,sha256=YL8H0UD2XAnVwuDCHcXDFCU89yBX8eewHniZV47NWAs,3602
2
- sigma/__main__.py,sha256=JR33oXObSRLsirM_8pvzTIUBr16QXS294WkQRIFI95g,114
3
- sigma/app.py,sha256=wIGy8BUn1hT4-g-I1YxZ1RqnL_GLMdIYLlae0jq_Ub8,46500
4
- sigma/backtest.py,sha256=7hImn0A4eO6gokWVLKERWqapN1N-T9ohc8Vof1XJo-0,13258
5
- sigma/charts.py,sha256=nYTwj_58FI_5SJG7VRSv_L8RV-Ge1wnbt5tze4rUhb8,12752
6
- sigma/cli.py,sha256=W3RoGlRCVYvU-Jh9ROUfDAIv8Hu8XOWAZTFBiHzu0Ck,16787
7
- sigma/comparison.py,sha256=cI0VGSMiQfUjTu5BpSAYUEzo7Kf-yCo0I4kr1S87rgo,21686
8
- sigma/config.py,sha256=-CZ4pOVANGCpHJgBpw1z2F2YplFiN-t4RMWnKYfbIkc,16904
9
- sigma/llm.py,sha256=B0JtQ526p99pWnDyX9uIhDB4vv2npmBISEW0IdoAe38,29464
10
- sigma/monitoring.py,sha256=7iC9DaTX8dFIygwAyEgpFQFpLPQrmLg6UW1bBeB_n7M,22672
11
- sigma/portfolio.py,sha256=ySypECWntDfa4pRVrNgxRsNDyOCEEgTOCUhrQIiMgBY,24020
12
- sigma/reporting.py,sha256=3qzuG-uITeO2z9ENOst4QcJSY2z8FyJs_eGQVe7JGM4,19157
13
- sigma/robustness.py,sha256=rvy-LQx9b7IZRYTI1srnL_yrVWeNAwcUFra0YSD6ZrE,23502
14
- sigma/setup.py,sha256=6IoK6xe9LwrMT_1InFJj4ZSbQTpuz7bNllKJTXT09JY,16731
15
- sigma/strategy.py,sha256=1IucLv3vcWyQgAsMhav6Q1qf-i3yk3obYEdaOkRA4Nw,28881
16
- sigma/tools.py,sha256=mtlty6YOmqANkddccgtRL3qJNIbmVi4p9Oav44dGbWg,70773
17
- sigma/visualization.py,sha256=w5amseNd-sO8oCUpE_jnZFQD2xW-Twx6W6kk6xSb-ZA,24749
18
- sigma/analytics/__init__.py,sha256=NrcxlzsxMkURMiN-o3Ou6CxFKFX-VD_HDWW8SrI1aDM,22999
19
- sigma/core/__init__.py,sha256=vpMwe22zgDRze9LuGumTNvyRS2rzaeAgNd9_4dkaFrk,136
20
- sigma/core/engine.py,sha256=u8Z8ecvrPzaqyijHDjI4rDfdTpNjbAhxqx-5ahR8-0A,17566
21
- sigma/core/intent.py,sha256=w3VOUIH7fQ0nSrG2Ch9l9CVfSU7dp0wqz5FCSu3e3HQ,23519
22
- sigma/core/models.py,sha256=IkpvIK28rvGsjqV9cvC3NhbdiHaRmNzEJUevJkpLGyA,15745
23
- sigma/data/__init__.py,sha256=nqFtjuuTGhEO7bs-eVAzesKIf0w7U_38qgkGi5O53Ek,23896
24
- sigma/data/models.py,sha256=Zoh4s90ihPPVpUw3Nh5SqInNzf7l-jB8_I1de1OUDNQ,3694
25
- sigma/tools/backtest.py,sha256=xYunp_dm46uGBw0pxNcWsSh4UuLmE1xuaHvWzzmcGv4,53869
26
- sigma_terminal-3.4.1.dist-info/METADATA,sha256=yJc120HqC3DCvjv5V1s-ilPT3c37xVpH_OapcawdqTs,10868
27
- sigma_terminal-3.4.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
28
- sigma_terminal-3.4.1.dist-info/entry_points.txt,sha256=lFpcHMWvr4jUIO-MRrBwKhxWp-AIsRJDaWMU4dOQzlw,121
29
- sigma_terminal-3.4.1.dist-info/licenses/LICENSE,sha256=YGf6UbSNXayxJnonOYohaDbbV1yZQfQ1wyStkTuHS6w,1099
30
- sigma_terminal-3.4.1.dist-info/RECORD,,
File without changes