sigma-terminal 2.0.1__py3-none-any.whl → 3.2.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.
sigma/ui/__init__.py DELETED
@@ -1 +0,0 @@
1
- """UI module initialization."""
@@ -1,222 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: sigma-terminal
3
- Version: 2.0.1
4
- Summary: Financial Research Agent
5
- Project-URL: Homepage, https://github.com/desenyon/sigma
6
- Project-URL: Documentation, https://github.com/desenyon/sigma/wiki
7
- Project-URL: Changelog, https://github.com/desenyon/sigma/blob/main/CHANGELOG.md
8
- Author: Desenyon
9
- License: Proprietary
10
- License-File: LICENSE
11
- Keywords: agent,backtesting,finance,llm,research,stocks,trading
12
- Classifier: Development Status :: 5 - Production/Stable
13
- Classifier: Environment :: Console
14
- Classifier: Intended Audience :: Financial and Insurance Industry
15
- Classifier: License :: Other/Proprietary License
16
- Classifier: Operating System :: MacOS
17
- Classifier: Operating System :: POSIX :: Linux
18
- Classifier: Programming Language :: Python :: 3.10
19
- Classifier: Programming Language :: Python :: 3.11
20
- Classifier: Programming Language :: Python :: 3.12
21
- Classifier: Programming Language :: Python :: 3.13
22
- Classifier: Topic :: Office/Business :: Financial :: Investment
23
- Requires-Python: >=3.10
24
- Requires-Dist: httpx>=0.27.0
25
- Requires-Dist: numpy>=1.24
26
- Requires-Dist: pandas>=2.0
27
- Requires-Dist: plotext>=5.2.8
28
- Requires-Dist: pydantic-settings>=2.0
29
- Requires-Dist: pydantic>=2.0
30
- Requires-Dist: python-dotenv>=1.0.0
31
- Requires-Dist: rich>=13.0
32
- Requires-Dist: yfinance>=0.2.40
33
- Provides-Extra: dev
34
- Requires-Dist: build; extra == 'dev'
35
- Requires-Dist: mypy>=1.10; extra == 'dev'
36
- Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
37
- Requires-Dist: pytest>=8.0; extra == 'dev'
38
- Requires-Dist: ruff>=0.4.0; extra == 'dev'
39
- Requires-Dist: twine; extra == 'dev'
40
- Description-Content-Type: text/markdown
41
-
42
- # σ Sigma
43
-
44
- **Financial Research Agent**
45
-
46
- Sigma is an autonomous AI-powered financial research agent that provides institutional-grade market analysis. It combines multiple LLM providers with real-time market data to deliver comprehensive stock analysis, portfolio insights, and actionable investment research.
47
-
48
- ## Features
49
-
50
- - **Real-Time Market Data** via yfinance
51
-
52
- - Stock quotes, historical prices, financial statements
53
- - Analyst recommendations, insider trading, institutional holdings
54
- - Options chains, dividends, earnings calendars
55
- - Sector performance, market indices, market movers
56
- - **18+ Financial Tools**
57
-
58
- - `get_stock_quote` - Real-time price and key metrics
59
- - `get_company_info` - Business description, financials
60
- - `get_financial_statements` - Income, balance sheet, cash flow
61
- - `get_analyst_recommendations` - Ratings and price targets
62
- - `get_insider_trades` - Recent insider activity
63
- - `get_institutional_holders` - Top institutional owners
64
- - `get_options_chain` - Calls and puts data
65
- - `get_dividends` - Dividend history and yield
66
- - `technical_analysis` - RSI, MACD, moving averages
67
- - `compare_stocks` - Multi-stock comparison
68
- - `get_market_movers` - Top gainers/losers
69
- - `get_sector_performance` - Sector ETF performance
70
- - And more...
71
- - **Multiple LLM Providers**
72
-
73
- - OpenAI (GPT-4o)
74
- - Anthropic (Claude)
75
- - Google (Gemini)
76
- - Groq (Llama)
77
- - xAI (Grok)
78
- - Ollama (local models)
79
- - **Clean Terminal UI**
80
-
81
- - Minimal, Claude Code-inspired interface
82
- - Real-time tool execution display
83
- - Markdown-formatted responses with tables
84
-
85
- ## Installation
86
-
87
- ```bash
88
- # Clone the repository
89
- git clone https://github.com/your-username/sigma.git
90
- cd sigma
91
-
92
- # Install dependencies
93
- pip install -e .
94
-
95
- # Set up your API keys
96
- cp .env.example .env
97
- # Edit .env with your API keys
98
- ```
99
-
100
- ## Configuration
101
-
102
- Create a `.env` file with your API keys:
103
-
104
- ```bash
105
- # LLM Providers (at least one required)
106
- GOOGLE_API_KEY=your-google-api-key
107
- OPENAI_API_KEY=your-openai-api-key
108
- ANTHROPIC_API_KEY=your-anthropic-api-key
109
- GROQ_API_KEY=your-groq-api-key
110
- XAI_API_KEY=your-xai-api-key
111
-
112
- # Optional: Financial data APIs (for additional data sources)
113
- FMP_API_KEY=your-fmp-api-key
114
- POLYGON_API_KEY=your-polygon-api-key
115
- ```
116
-
117
- ## Usage
118
-
119
- ### Interactive Mode
120
-
121
- ```bash
122
- sigma
123
- ```
124
-
125
- ```
126
- σ Sigma Financial Research Agent
127
-
128
- Provider: google │ Model: gemini-2.0-flash
129
- Type /help for commands, /quit to exit
130
-
131
- > Analyze NVDA stock
132
-
133
- → get_stock_quote(NVDA) ✓ 245ms
134
- → get_company_info(NVDA) ✓ 312ms
135
- → get_analyst_recommendations(NVDA) ✓ 187ms
136
- → technical_analysis(NVDA) ✓ 423ms
137
-
138
- Called 4 tools in 1.2s
139
-
140
- ## NVIDIA (NVDA) Analysis
141
-
142
- **Current Price:** $191.13
143
- **Market Cap:** $4.67T
144
- ...
145
- ```
146
-
147
- ### Commands
148
-
149
- - `/provider <name>` - Switch LLM provider (openai, anthropic, google, groq, ollama)
150
- - `/model <name>` - Set model name
151
- - `/clear` - Clear conversation history
152
- - `/status` - Show current configuration
153
- - `/help` - Show help
154
- - `/quit` - Exit
155
-
156
- ### Example Queries
157
-
158
- ```
159
- > What is the current price of AAPL?
160
- > Compare MSFT, GOOGL, and AMZN on valuation metrics
161
- > Give me a comprehensive analysis of Tesla
162
- > What are the top market gainers today?
163
- > Technical analysis on SPY
164
- > Show me insider trades for NVDA
165
- > What's the options chain for AAPL?
166
- ```
167
-
168
- ## Python API
169
-
170
- ```python
171
- import asyncio
172
- from sigma import SigmaAgent, LLMProvider
173
-
174
- async def main():
175
- # Create agent
176
- agent = SigmaAgent(provider=LLMProvider.GOOGLE)
177
-
178
- # Run analysis
179
- result = await agent.run("Analyze AAPL stock")
180
- print(result)
181
-
182
- # Get execution stats
183
- stats = agent.get_stats()
184
- print(f"Tools called: {stats['tools_called']}")
185
-
186
- asyncio.run(main())
187
- ```
188
-
189
- ## Architecture
190
-
191
- ```
192
- sigma/
193
- ├── core/
194
- │ ├── agent.py # Main agent logic
195
- │ ├── config.py # Configuration management
196
- │ ├── llm.py # LLM provider implementations
197
- │ └── models.py # Data models
198
- ├── tools/
199
- │ └── financial.py # Financial data tools (yfinance)
200
- ├── ui/
201
- │ └── __init__.py # UI components
202
- └── app.py # CLI application
203
- ```
204
-
205
- ## Requirements
206
-
207
- - Python 3.10+
208
- - httpx
209
- - pydantic
210
- - pydantic-settings
211
- - rich
212
- - yfinance
213
- - pandas
214
- - numpy
215
-
216
- ## License
217
-
218
- Check File
219
-
220
- ---
221
-
222
- *Sigma - Institutional-grade financial research at your fingertips.*
@@ -1,19 +0,0 @@
1
- sigma/__init__.py,sha256=x4OQdJXmF87thEHdqgCF4z54GojwDUw5YIPDX_5ekJM,244
2
- sigma/__main__.py,sha256=lgeP3NZOlosgxZ-QaQlmthe-z8EwP8yRh9TkTnypZ8k,100
3
- sigma/app.py,sha256=U1APDLzjCc5pKYainYuTIlwlv6ym2_peYVs1xLHilgo,39732
4
- sigma/setup.py,sha256=n6baPpawhG6EC2qrN6ANvDpm7eLfvPuS_Q7BnVxBfs8,15247
5
- sigma/core/__init__.py,sha256=6XFVwlRsBJRC_jyHX5KCOvwl14jmHddFhNLQ7_Qav28,420
6
- sigma/core/agent.py,sha256=HX7MsHt7Wh0-nS4AvTO6fWogb-JfVtvJ5xC6OyEIA0M,7385
7
- sigma/core/config.py,sha256=f5xnoWjgO5rlQc8BLGq0Z6eN6qmDiEqwaahreI_me0E,4000
8
- sigma/core/llm.py,sha256=5BB7Hy0o-cX9s3w69L-RIFxddJFjFnlBuQZxpuxUqT4,27966
9
- sigma/core/models.py,sha256=QtOt4wG6eTgABOSnJKSrlUYGIsFBnsWsqWuPz8iVvBc,3736
10
- sigma/tools/__init__.py,sha256=luWfCjC2B0FIZd87xcRyIaoQf4CxjBal1bZ04EvtNFI,143
11
- sigma/tools/backtest.py,sha256=ObmmpgMnOSpYXMrFelv3AWw-aDuKZTHakKoOlj3ihqU,53449
12
- sigma/tools/charts.py,sha256=LIrThYDjZkBx4yUmuaizDJSQxHXADEeFCTjATykP2eU,11568
13
- sigma/tools/financial.py,sha256=042RoXGtd3J7sXvnJNCpzVoYprxnS0zdKpeKryPEddg,48884
14
- sigma/ui/__init__.py,sha256=FOUSyoq9S3NjS65mEc7SjKUzNALxjcoy9nue00gvP3Q,32
15
- sigma_terminal-2.0.1.dist-info/METADATA,sha256=Z4p49w14x1nlPuD--SzmY6eoY3SvsLeQwXQjx-MveXM,5933
16
- sigma_terminal-2.0.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
17
- sigma_terminal-2.0.1.dist-info/entry_points.txt,sha256=uttlulmgJdXPBquUxXj2ysv6aUfgcvWfBzFL3EiwSHg,41
18
- sigma_terminal-2.0.1.dist-info/licenses/LICENSE,sha256=GYTeNdZCQj9xEMGHxQOUnXTt1s4HoqjuvctCuNUDit8,1579
19
- sigma_terminal-2.0.1.dist-info/RECORD,,
@@ -1,2 +0,0 @@
1
- [console_scripts]
2
- sigma = sigma.app:main
@@ -1,42 +0,0 @@
1
- Sigma Proprietary License
2
-
3
- Copyright (c) 2026 Desenyon. All Rights Reserved.
4
-
5
- NOTICE: This software is proprietary and confidential. Unauthorized copying,
6
- modification, distribution, or use of this software, via any medium, is
7
- strictly prohibited.
8
-
9
- TERMS AND CONDITIONS:
10
-
11
- 1. LICENSE GRANT
12
- You are granted a non-exclusive, non-transferable license to use this
13
- software for personal or commercial purposes, subject to these terms.
14
-
15
- 2. RESTRICTIONS
16
- You may NOT:
17
- - Copy, modify, or distribute the source code
18
- - Reverse engineer, decompile, or disassemble the software
19
- - Remove or alter any proprietary notices or labels
20
- - Use the software to create derivative works
21
- - Sublicense, sell, or transfer rights to the software
22
-
23
- 3. OWNERSHIP
24
- Sigma Labs retains all right, title, and interest in and to the software,
25
- including all intellectual property rights.
26
-
27
- 4. TERMINATION
28
- This license is effective until terminated. It will terminate automatically
29
- if you fail to comply with any term of this license.
30
-
31
- 5. DISCLAIMER
32
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
33
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
34
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
35
-
36
- 6. LIMITATION OF LIABILITY
37
- IN NO EVENT SHALL SIGMA LABS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
38
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39
- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
40
- DEALINGS IN THE SOFTWARE.
41
-
42
- For licensing inquiries: legal@sigma.finance