Spaces:
Sleeping
Sleeping
| from typing import TypedDict, Optional, List, Dict, Any | |
| class TraderState(TypedDict): | |
| input_symbol: str | |
| query_date: Optional[str] | |
| # 'buy' or 'sell' | |
| action: str | |
| # 'intraday', 'scalping', 'swing', 'momentum', 'long_term' | |
| horizon: str | |
| # "1 month ago", "2 month ago",etc. | |
| holding_period: Optional[str] | |
| raw_data: Optional[Dict[str, Any]] | |
| claim: Optional[str] | |
| skepticism: Optional[str] | |
| confidence: int | |
| iterations: int | |
| stop: bool | |
| alert_message: Optional[str] |