├── LICENSE ├── README.md ├── config └── default.yaml ├── examples └── run_multi_strategy_backtest.py ├── poetry.lock ├── pyproject.toml ├── src ├── __init__.py ├── agents │ ├── ben_graham.py │ ├── bill_ackman.py │ ├── cathie_wood.py │ ├── charlie_munger.py │ ├── fundamentals.py │ ├── portfolio_manager.py │ ├── risk_manager.py │ ├── sentiment.py │ ├── stanley_druckenmiller.py │ ├── technicals.py │ ├── valuation.py │ └── warren_buffett.py ├── backtester.py ├── core │ ├── __init__.py │ ├── engine.py │ ├── event.py │ ├── order.py │ └── portfolio.py ├── data │ ├── __init__.py │ ├── cache.py │ ├── feeds │ │ ├── __init__.py │ │ └── base.py │ ├── management.py │ └── models.py ├── graph │ └── state.py ├── llm │ └── models.py ├── main.py ├── pods │ ├── __init__.py │ ├── agents │ │ ├── __init__.py │ │ └── base_agent.py │ ├── base.py │ └── strategies │ │ ├── __init__.py │ │ ├── equity_long_short │ │ ├── __init__.py │ │ └── moving_average.py │ │ ├── event_driven │ │ ├── __init__.py │ │ ├── bill_ackman.py │ │ └── congressional_trading.py │ │ ├── factory.py │ │ ├── fundemental │ │ └── fundamentals.py │ │ ├── long_biased │ │ ├── __init__.py │ │ ├── ben_graham.py │ │ ├── cathie_wood.py │ │ ├── charlie_munger.py │ │ ├── value_investing.py │ │ └── warren_buffett.py │ │ ├── macro │ │ ├── __init__.py │ │ └── stanley_druckenmiller.py │ │ ├── multi_strategy │ │ └── __init__.py │ │ └── quant │ │ ├── __init__.py │ │ ├── sentiment.py │ │ └── sentiment_trading.py ├── risk │ ├── __init__.py │ ├── limits.py │ └── manager.py ├── tools │ └── api.py └── utils │ ├── __init__.py │ ├── analysts.py │ ├── config.py │ ├── display.py │ ├── llm.py │ ├── progress.py │ ├── visualization.py │ └── visualize.py └── test /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/README.md -------------------------------------------------------------------------------- /config/default.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/config/default.yaml -------------------------------------------------------------------------------- /examples/run_multi_strategy_backtest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/examples/run_multi_strategy_backtest.py -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/pyproject.toml -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/__init__.py -------------------------------------------------------------------------------- /src/agents/ben_graham.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/agents/ben_graham.py -------------------------------------------------------------------------------- /src/agents/bill_ackman.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/agents/bill_ackman.py -------------------------------------------------------------------------------- /src/agents/cathie_wood.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/agents/cathie_wood.py -------------------------------------------------------------------------------- /src/agents/charlie_munger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/agents/charlie_munger.py -------------------------------------------------------------------------------- /src/agents/fundamentals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/agents/fundamentals.py -------------------------------------------------------------------------------- /src/agents/portfolio_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/agents/portfolio_manager.py -------------------------------------------------------------------------------- /src/agents/risk_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/agents/risk_manager.py -------------------------------------------------------------------------------- /src/agents/sentiment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/agents/sentiment.py -------------------------------------------------------------------------------- /src/agents/stanley_druckenmiller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/agents/stanley_druckenmiller.py -------------------------------------------------------------------------------- /src/agents/technicals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/agents/technicals.py -------------------------------------------------------------------------------- /src/agents/valuation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/agents/valuation.py -------------------------------------------------------------------------------- /src/agents/warren_buffett.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/agents/warren_buffett.py -------------------------------------------------------------------------------- /src/backtester.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/backtester.py -------------------------------------------------------------------------------- /src/core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/core/engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/core/engine.py -------------------------------------------------------------------------------- /src/core/event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/core/event.py -------------------------------------------------------------------------------- /src/core/order.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/core/order.py -------------------------------------------------------------------------------- /src/core/portfolio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/core/portfolio.py -------------------------------------------------------------------------------- /src/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/data/cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/data/cache.py -------------------------------------------------------------------------------- /src/data/feeds/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/data/feeds/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/data/feeds/base.py -------------------------------------------------------------------------------- /src/data/management.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/data/management.py -------------------------------------------------------------------------------- /src/data/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/data/models.py -------------------------------------------------------------------------------- /src/graph/state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/graph/state.py -------------------------------------------------------------------------------- /src/llm/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/llm/models.py -------------------------------------------------------------------------------- /src/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/main.py -------------------------------------------------------------------------------- /src/pods/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pods/agents/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pods/agents/base_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/pods/agents/base_agent.py -------------------------------------------------------------------------------- /src/pods/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/pods/base.py -------------------------------------------------------------------------------- /src/pods/strategies/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pods/strategies/equity_long_short/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pods/strategies/equity_long_short/moving_average.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/pods/strategies/equity_long_short/moving_average.py -------------------------------------------------------------------------------- /src/pods/strategies/event_driven/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pods/strategies/event_driven/bill_ackman.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/pods/strategies/event_driven/bill_ackman.py -------------------------------------------------------------------------------- /src/pods/strategies/event_driven/congressional_trading.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/pods/strategies/event_driven/congressional_trading.py -------------------------------------------------------------------------------- /src/pods/strategies/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/pods/strategies/factory.py -------------------------------------------------------------------------------- /src/pods/strategies/fundemental/fundamentals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/pods/strategies/fundemental/fundamentals.py -------------------------------------------------------------------------------- /src/pods/strategies/long_biased/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pods/strategies/long_biased/ben_graham.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/pods/strategies/long_biased/ben_graham.py -------------------------------------------------------------------------------- /src/pods/strategies/long_biased/cathie_wood.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/pods/strategies/long_biased/cathie_wood.py -------------------------------------------------------------------------------- /src/pods/strategies/long_biased/charlie_munger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/pods/strategies/long_biased/charlie_munger.py -------------------------------------------------------------------------------- /src/pods/strategies/long_biased/value_investing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/pods/strategies/long_biased/value_investing.py -------------------------------------------------------------------------------- /src/pods/strategies/long_biased/warren_buffett.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/pods/strategies/long_biased/warren_buffett.py -------------------------------------------------------------------------------- /src/pods/strategies/macro/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pods/strategies/macro/stanley_druckenmiller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/pods/strategies/macro/stanley_druckenmiller.py -------------------------------------------------------------------------------- /src/pods/strategies/multi_strategy/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pods/strategies/quant/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pods/strategies/quant/sentiment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/pods/strategies/quant/sentiment.py -------------------------------------------------------------------------------- /src/pods/strategies/quant/sentiment_trading.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/pods/strategies/quant/sentiment_trading.py -------------------------------------------------------------------------------- /src/risk/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/risk/limits.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/risk/limits.py -------------------------------------------------------------------------------- /src/risk/manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/risk/manager.py -------------------------------------------------------------------------------- /src/tools/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/tools/api.py -------------------------------------------------------------------------------- /src/utils/__init__.py: -------------------------------------------------------------------------------- 1 | # This file can be empty 2 | -------------------------------------------------------------------------------- /src/utils/analysts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/utils/analysts.py -------------------------------------------------------------------------------- /src/utils/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/utils/config.py -------------------------------------------------------------------------------- /src/utils/display.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/utils/display.py -------------------------------------------------------------------------------- /src/utils/llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/utils/llm.py -------------------------------------------------------------------------------- /src/utils/progress.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/utils/progress.py -------------------------------------------------------------------------------- /src/utils/visualization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/utils/visualization.py -------------------------------------------------------------------------------- /src/utils/visualize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LLMQuant/Magents/HEAD/src/utils/visualize.py -------------------------------------------------------------------------------- /test: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------