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/__init__.py CHANGED
@@ -1,9 +1,185 @@
1
- """Sigma - Elite Financial Research Agent."""
1
+ """
2
+ Sigma v3.2.0 - Finance Research Agent
2
3
 
3
- __version__ = "2.0.1"
4
- __author__ = "Sigma"
4
+ An elite finance research agent combining:
5
+ - Multi-provider AI (Google Gemini, OpenAI, Anthropic, Groq, xAI, Ollama)
6
+ - Real-time market data and analytics
7
+ - Advanced charting and visualization
8
+ - Strategy discovery and backtesting
9
+ - Portfolio optimization and risk management
10
+ - Robustness testing and stress analysis
11
+ - Research memo generation and export
12
+ - Monitoring, alerts, and watchlists
13
+ """
5
14
 
6
- from sigma.core.agent import SigmaAgent
7
- from sigma.core.config import LLMProvider, get_settings
15
+ __version__ = "3.2.0"
16
+ __author__ = "Sigma Team"
8
17
 
9
- __all__ = ["SigmaAgent", "LLMProvider", "get_settings"]
18
+ # Core functionality
19
+ from .app import launch, SigmaApp
20
+ from .cli import main
21
+
22
+ # Configuration
23
+ from .config import get_settings, save_api_key, LLMProvider
24
+
25
+ # Data tools
26
+ from .tools import (
27
+ get_stock_quote,
28
+ get_stock_history,
29
+ get_company_info,
30
+ get_financial_statements,
31
+ get_analyst_recommendations,
32
+ technical_analysis,
33
+ compare_stocks,
34
+ get_market_overview,
35
+ get_sector_performance,
36
+ TOOLS,
37
+ execute_tool,
38
+ )
39
+
40
+ # Backtesting
41
+ from .backtest import run_backtest, get_available_strategies
42
+
43
+ # Analytics
44
+ from .analytics import (
45
+ PerformanceAnalytics,
46
+ RegimeDetector,
47
+ SeasonalityAnalyzer,
48
+ FactorAnalyzer,
49
+ CorrelationAnalyzer,
50
+ MonteCarloSimulator,
51
+ )
52
+
53
+ # Comparison
54
+ from .comparison import ComparisonEngine, MacroSensitivityAnalyzer
55
+
56
+ # Strategy
57
+ from .strategy import (
58
+ HypothesisGenerator,
59
+ HypothesisTester,
60
+ RuleConverter,
61
+ StrategyGenerator,
62
+ )
63
+
64
+ # Portfolio
65
+ from .portfolio import (
66
+ PortfolioOptimizer,
67
+ OptimizationMethod,
68
+ PositionSizer,
69
+ RiskEngine,
70
+ RebalancingEngine,
71
+ )
72
+
73
+ # Visualization
74
+ from .visualization import ChartBuilder, ChartRecipes, AutoCaptionGenerator
75
+
76
+ # Reporting
77
+ from .reporting import (
78
+ MemoGenerator,
79
+ ExportEngine,
80
+ ReproducibilityEngine,
81
+ SessionLogger,
82
+ )
83
+
84
+ # Monitoring
85
+ from .monitoring import (
86
+ AlertEngine,
87
+ WatchlistManager,
88
+ DriftDetector,
89
+ ScheduledRunner,
90
+ Alert,
91
+ AlertType,
92
+ )
93
+
94
+ # Robustness
95
+ from .robustness import (
96
+ StressTester,
97
+ OverfittingDetector,
98
+ ExplainabilityEngine,
99
+ SampleSizeValidator,
100
+ BiasDetector,
101
+ )
102
+
103
+ # Setup
104
+ from .setup import run_setup, quick_setup
105
+
106
+ __all__ = [
107
+ # Version
108
+ "__version__",
109
+
110
+ # Core
111
+ "launch",
112
+ "main",
113
+ "SigmaApp",
114
+
115
+ # Config
116
+ "get_settings",
117
+ "save_api_key",
118
+ "LLMProvider",
119
+
120
+ # Tools
121
+ "get_stock_quote",
122
+ "get_stock_history",
123
+ "get_company_info",
124
+ "technical_analysis",
125
+ "compare_stocks",
126
+ "TOOLS",
127
+ "execute_tool",
128
+
129
+ # Backtesting
130
+ "run_backtest",
131
+ "get_available_strategies",
132
+
133
+ # Analytics
134
+ "PerformanceAnalytics",
135
+ "RegimeDetector",
136
+ "SeasonalityAnalyzer",
137
+ "FactorAnalyzer",
138
+ "CorrelationAnalyzer",
139
+ "MonteCarloSimulator",
140
+
141
+ # Comparison
142
+ "ComparisonEngine",
143
+ "MacroSensitivityAnalyzer",
144
+
145
+ # Strategy
146
+ "HypothesisGenerator",
147
+ "HypothesisTester",
148
+ "RuleConverter",
149
+ "StrategyGenerator",
150
+
151
+ # Portfolio
152
+ "PortfolioOptimizer",
153
+ "OptimizationMethod",
154
+ "PositionSizer",
155
+ "RiskEngine",
156
+ "RebalancingEngine",
157
+
158
+ # Visualization
159
+ "ChartBuilder",
160
+ "ChartRecipes",
161
+ "AutoCaptionGenerator",
162
+
163
+ # Reporting
164
+ "MemoGenerator",
165
+ "ExportEngine",
166
+ "ReproducibilityEngine",
167
+ "SessionLogger",
168
+
169
+ # Monitoring
170
+ "AlertEngine",
171
+ "WatchlistManager",
172
+ "DriftDetector",
173
+ "Alert",
174
+ "AlertType",
175
+
176
+ # Robustness
177
+ "StressTester",
178
+ "OverfittingDetector",
179
+ "ExplainabilityEngine",
180
+ "SampleSizeValidator",
181
+
182
+ # Setup
183
+ "run_setup",
184
+ "quick_setup",
185
+ ]
sigma/__main__.py CHANGED
@@ -1,6 +1,6 @@
1
- """Sigma package entry point."""
1
+ """Sigma entry point for `python -m sigma`."""
2
2
 
3
- from sigma.app import main
3
+ from sigma.cli import main
4
4
 
5
5
  if __name__ == "__main__":
6
6
  main()