AiHedgeFund.Agents 0.2.11

dotnet add package AiHedgeFund.Agents --version 0.2.11
                    
NuGet\Install-Package AiHedgeFund.Agents -Version 0.2.11
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AiHedgeFund.Agents" Version="0.2.11" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AiHedgeFund.Agents" Version="0.2.11" />
                    
Directory.Packages.props
<PackageReference Include="AiHedgeFund.Agents" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AiHedgeFund.Agents --version 0.2.11
                    
#r "nuget: AiHedgeFund.Agents, 0.2.11"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AiHedgeFund.Agents@0.2.11
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AiHedgeFund.Agents&version=0.2.11
                    
Install as a Cake Addin
#tool nuget:?package=AiHedgeFund.Agents&version=0.2.11
                    
Install as a Cake Tool

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 image


install this nuget into your program

  1. in your client program install the package with the agents
PM> Install-Package AiHedgeFund.Agents   
  1. 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:

  1. Get your free API key from: https://www.alphavantage.co/support/#api-key
  2. Add the key to your appsettings.json file.

For LLM-based reasoning, OpenAI is used:

  1. Get your API key from: https://platform.openai.com/account/api-keys
  2. Add it to appsettings.json.

Example appsettings.json:

{
  "OpenAI": {
    "ApiKey": "your-openai-api-key"
  },
  "AlphaVantage": {
    "ApiKey": "your-alpha-vantage-api-key"
  }
}
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.11 188 5/26/2025
0.2.9 230 5/12/2025
0.2.8 220 5/12/2025
0.2.7 147 5/11/2025
0.2.6 140 5/11/2025
0.2.5 151 5/11/2025
0.2.4 147 5/11/2025