AiHedgeFund.Agents
0.2.11
dotnet add package AiHedgeFund.Agents --version 0.2.11
NuGet\Install-Package AiHedgeFund.Agents -Version 0.2.11
<PackageReference Include="AiHedgeFund.Agents" Version="0.2.11" />
<PackageVersion Include="AiHedgeFund.Agents" Version="0.2.11" />
<PackageReference Include="AiHedgeFund.Agents" />
paket add AiHedgeFund.Agents --version 0.2.11
#r "nuget: AiHedgeFund.Agents, 0.2.11"
#:package AiHedgeFund.Agents@0.2.11
#addin nuget:?package=AiHedgeFund.Agents&version=0.2.11
#tool nuget:?package=AiHedgeFund.Agents&version=0.2.11
ai-hedge-fund-net
AiHedgeFund.Agents is a .NET alghoritmic library that provides trading signals by analyzing stocks using multiple AI agents. Each agent applies a different investment philosophy to decide whether a stock is a bullish, neutral, or bearish. Agents also provide their reasoning, confidence score, key metrics, and specific rules behind each decision.
Currently, the following agents are implemented:
charlie_munger
(quality + management judgment)stanley_druckenmiller
(macro, momentum, sentiment)ben_graham
(deep value, margin of safety, balance sheet strength)cathie_wood
(innovation, tech disruption)bill_ackman
(activist investing, risk arbitrage)warren_buffett
(value investing, moat, long-term)
Each agent integrates with an LLM (Large Language Model) trained for financial reasoning to generate the insights behind its signals.
This is an example of output for NVidia using warren_buffett and cathie_wood agents
install this nuget into your program
- in your client program install the package with the agents
PM> Install-Package AiHedgeFund.Agents
- install the package with the service reading financial data and dealing with an AI LLM
PM> Install-Package AiHedgeFund.Data
Configuration
This project uses Alpha Vantage as the financial data provider. I have no affiliation or sponsorship with them—it simply happened that I created a free API key there and stuck with it. Once the initial porting and development phase is complete, I plan to support additional providers by implementing the IDataReader
interface.
To use Alpha Vantage:
- Get your free API key from: https://www.alphavantage.co/support/#api-key
- Add the key to your
appsettings.json
file.
For LLM-based reasoning, OpenAI is used:
- Get your API key from: https://platform.openai.com/account/api-keys
- Add it to
appsettings.json
.
Example appsettings.json
:
{
"OpenAI": {
"ApiKey": "your-openai-api-key"
},
"AlphaVantage": {
"ApiKey": "your-alpha-vantage-api-key"
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- AiHedgeFund.Contracts (>= 0.2.11)
- Microsoft.Extensions.Hosting.Abstractions (>= 9.0.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.