(self, type: str, symbol: str)
| 90 | return self.high_level_reflection_memorys[symbol] |
| 91 | |
| 92 | def _get_recent_history(self, type: str, symbol: str): |
| 93 | |
| 94 | assert type in ["market_intelligence", "low_level_reflection", "high_level_reflection"], \ |
| 95 | f"type = {type} should be one of ['market_intelligence', 'low_level_reflection', 'high_level_reflection']." |
| 96 | |
| 97 | if type == "market_intelligence": |
| 98 | return self.market_intelligence_recent_histories[symbol] |
| 99 | elif type == "low_level_reflection": |
| 100 | return self.low_level_reflection_recent_histories[symbol] |
| 101 | elif type == "high_level_reflection": |
| 102 | return self.high_level_reflection_recent_histories[symbol] |
| 103 | |
| 104 | def add_memory( |
| 105 | self, |
no outgoing calls
no test coverage detected