Python项目手把手教学AI对冲基金实现逻辑
今天我们学习理解一个AI对冲基金相关的Python项目中的回测功能
@backtester.py 逐行详解,先看下本地模型ollama: gemma3 (27B)测试效果
poetry run python src/backtester.py --ticker AAPL,MSFT,NVDA --ollama
? Use the Space bar to select/unselect analysts. [Aswath Damodaran]
Selected analysts: Aswath Damodaran
Using Ollama for local LLM inference.
? Select your Ollama model: [google] gemma3 (27B)
Sele