Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JakeNesler/Claude_Prophet
/ types & classes
Types & classes
81 in github.com/JakeNesler/Claude_Prophet
⨍
Functions
228
◇
Types & classes
81
Struct
Account
interfaces/trading.go:101
Struct
Activity
Activity represents a single action taken by the AI
services/activity_logger.go:55
Struct
ActivityController
ActivityController handles activity logging endpoints
controllers/activity_controller.go:11
Struct
ActivityLogger
ActivityLogger logs all AI trading activities to files and database
services/activity_logger.go:15
Struct
AggregateNewsRequest
AggregateNewsRequest represents a request to aggregate news from multiple sources
controllers/intelligence_controller.go:34
Struct
AlpacaDataService
AlpacaDataService implements DataService using Alpaca Market Data API
services/alpaca_data.go:14
Struct
AlpacaGreeks
AlpacaGreeks represents Greeks data
services/alpaca_options_data.go:71
Struct
AlpacaOptionChainContract
AlpacaOptionChainContract represents contract metadata
services/alpaca_options_data.go:86
Struct
AlpacaOptionChainResponse
AlpacaOptionChainResponse represents the option chain response
services/alpaca_options_data.go:80
Struct
AlpacaOptionContract
AlpacaOptionContract represents an option contract from Alpaca
services/alpaca_options_data.go:47
Struct
AlpacaOptionsDataService
AlpacaOptionsDataService fetches real historical options data from Alpaca
services/alpaca_options_data.go:16
Struct
AlpacaOptionsSnapshot
AlpacaOptionsSnapshot represents Alpaca's options snapshot response
services/alpaca_options_data.go:42
Struct
AlpacaQuote
AlpacaQuote represents quote data
services/alpaca_options_data.go:55
Struct
AlpacaTrade
AlpacaTrade represents trade data
services/alpaca_options_data.go:64
Struct
AlpacaTradingService
AlpacaTradingService implements TradingService using Alpaca API
services/alpaca_trading.go:19
Struct
AnalysisResult
AnalysisResult contains comprehensive technical analysis
services/technical_analysis.go:23
Struct
AnalyzeStocksRequest
AnalyzeStocksRequest represents a request to analyze multiple stocks
controllers/intelligence_controller.go:194
Struct
Bar
interfaces/trading.go:110
Struct
BuyRequest
BuyRequest represents a buy order request
controllers/order_controller.go:42
Struct
CleanedNews
CleanedNews represents a token-efficient news summary
services/gemini_service.go:48
Struct
Config
config/config.go:10
Struct
DBAccountSnapshot
DBAccountSnapshot represents account state at a point in time
models/models.go:78
Struct
DBBar
DBBar represents historical price data in the database
models/models.go:32
Struct
DBManagedPosition
DBManagedPosition represents a managed position with automated risk management
models/models.go:103
Struct
DBOrder
DBOrder represents an order in the database
models/models.go:10
Struct
DBPosition
DBPosition represents a position snapshot in the database
models/models.go:46
Struct
DBSignal
DBSignal represents trading signals for audit/analysis
models/models.go:89
Struct
DBTrade
DBTrade represents executed trades for analysis
models/models.go:61
Struct
DailyActivityLog
DailyActivityLog represents a day's worth of trading activity
services/activity_logger.go:22
Interface
DataService
DataService defines the interface for market data operations
interfaces/trading.go:26
Struct
DecisionLog
DecisionLog represents a trading decision (buy, sell, hold, pass)
services/activity_logger.go:93
Struct
GeminiContent
GeminiContent represents content in the request
services/gemini_service.go:27
Struct
GeminiPart
GeminiPart represents a part of the content
services/gemini_service.go:32
Struct
GeminiRequest
GeminiRequest represents a request to Gemini API
services/gemini_service.go:22
Struct
GeminiResponse
GeminiResponse represents the response from Gemini API
services/gemini_service.go:37
Struct
GeminiService
GeminiService handles interactions with Google's Gemini AI API
services/gemini_service.go:15
Struct
IntelligenceController
IntelligenceController handles AI-powered intelligence operations
controllers/intelligence_controller.go:14
Struct
IntelligenceNote
IntelligenceNote represents market intelligence gathered
services/activity_logger.go:84
Struct
LocalStorage
LocalStorage implements the StorageService interface using SQLite
database/storage.go:18
Struct
MACDResult
MACDResult contains MACD indicator values
services/technical_analysis.go:37
Struct
ManagedPosition
ManagedPosition represents a position with automated risk management
services/position_manager.go:18
Struct
MarketData
interfaces/trading.go:137
Struct
MomentumResult
MomentumResult contains momentum indicators
services/technical_analysis.go:44
Struct
NewsChannel
NewsChannel represents the RSS channel
services/news_service.go:40
Struct
NewsController
NewsController handles news-related HTTP requests
controllers/news_controller.go:12
Struct
NewsItem
NewsItem represents a single news article from the RSS feed
services/news_service.go:13
Struct
NewsItemCompact
NewsItemCompact represents a compact news article with only essential fields
services/news_service.go:24
Struct
NewsService
NewsService handles fetching news from various sources
services/news_service.go:54
Struct
OptionChain
OptionChain represents available options for a symbol
interfaces/options.go:39
Struct
OptionContract
OptionContract represents an option contract
interfaces/options.go:8
Interface
OptionDataService
OptionDataService defines interface for options market data
interfaces/options.go:48
Struct
OptionPosition
OptionPosition represents an open options position
interfaces/options.go:28
Struct
OptionsOrder
Options trading structures
interfaces/trading.go:147
Struct
OptionsOrderRequest
OptionsOrderRequest represents an options order request
controllers/order_controller.go:378
Struct
OptionsPosition
interfaces/trading.go:169
Struct
OptionsQuote
interfaces/trading.go:158
Struct
Order
Common data structures used across interfaces
interfaces/trading.go:56
Struct
OrderController
OrderController handles trading operations
controllers/order_controller.go:15
Struct
OrderRequest
interfaces/trading.go:73
Struct
OrderResult
interfaces/trading.go:83
Struct
PartialExitConfig
PartialExitConfig defines partial profit taking strategy
services/position_manager.go:63
Struct
PlaceManagedPositionRequest
PlaceManagedPositionRequest represents request to open a managed position
services/position_manager.go:71
Struct
Position
interfaces/trading.go:89
Struct
PositionActivity
PositionActivity represents opening or closing a position
services/activity_logger.go:65
Struct
PositionManagementController
PositionManagementController handles managed position operations
controllers/position_controller.go:11
Struct
PositionManager
PositionManager handles automated position management
services/position_manager.go:100
Struct
Quote
interfaces/trading.go:121
Struct
RSSFeed
RSSFeed represents the root RSS structure
services/news_service.go:48
Struct
SellRequest
SellRequest represents a sell order request
controllers/order_controller.go:52
Struct
SessionSummary
SessionSummary provides high-level stats for the session
services/activity_logger.go:35
Struct
StockAnalysis
StockAnalysis represents comprehensive analysis of a stock
services/stock_analysis_service.go:37
Struct
StockAnalysisService
StockAnalysisService provides comprehensive stock analysis
services/stock_analysis_service.go:14
Interface
StorageService
StorageService defines the interface for local data persistence
interfaces/trading.go:35
Interface
StrategyExecutor
StrategyExecutor defines the interface for strategy execution This will be useful for AI personas and quant strategies later
interfaces/trading.go:46
Struct
TechnicalAnalysis
TechnicalAnalysis contains technical indicators
services/stock_analysis_service.go:48
Struct
TechnicalAnalysisService
TechnicalAnalysisService provides technical analysis calculations
services/technical_analysis.go:11
Struct
Trade
interfaces/trading.go:130
Struct
TradeSetup
TradeSetup provides neutral trading data for AI interpretation
services/stock_analysis_service.go:63
Interface
TradingService
TradingService defines the interface for executing trades
interfaces/trading.go:9
Struct
VolumeAnalysis
VolumeAnalysis contains volume-based indicators
services/technical_analysis.go:52
Struct
alpacaOptionsSnapshot
alpacaOptionsSnapshot represents the response from Alpaca options snapshots API
services/alpaca_trading.go:265