Balsam.Bloomberg 1.1.3

dotnet add package Balsam.Bloomberg --version 1.1.3
                    
NuGet\Install-Package Balsam.Bloomberg -Version 1.1.3
                    
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="Balsam.Bloomberg" Version="1.1.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Balsam.Bloomberg" Version="1.1.3" />
                    
Directory.Packages.props
<PackageReference Include="Balsam.Bloomberg" />
                    
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 Balsam.Bloomberg --version 1.1.3
                    
#r "nuget: Balsam.Bloomberg, 1.1.3"
                    
#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 Balsam.Bloomberg@1.1.3
                    
#: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=Balsam.Bloomberg&version=1.1.3
                    
Install as a Cake Addin
#tool nuget:?package=Balsam.Bloomberg&version=1.1.3
                    
Install as a Cake Tool

alternate text is missing from this package README image Balsam Bloomberg

Balsam.Bloomberg can be used to retrieve historical and streaming data from the Bloomberg Professional Services desktop API. This works in conjunction with the Balsam.Backtester library and is licensed as a separate entitlement.

Usage

To retrieve historical data, use the BloombergDataServer class:

using (var bbg = new BloombergDataServer())
 {
     var pmi = bbg.LoadSymbol("NAPMPMI Index");
     Console.WriteLine($"{pmi.Count} observations retrieved from {pmi.FirstDate:d} to {pmi.LastDate:d}. Periodicity={pmi.Dates.Periodicity}");
 }
930 observations retrieved from 1/31/1948 to 6/30/2025. Periodicity=Monthly

For streaming data, use the BloombergStreamer class:

using (var streamer = new BloombergStreamer())
{
    int ticks = 0;
    streamer.Update += (o, e) =>
    {
        ticks++;
        Console.WriteLine($"Update received: {ticks} {e.Timestamp} {e.Symbol} {e.Price}");
    };
    streamer.Subscribe("EUR Curncy");
    Console.ReadLine();
}

About

The Balsam.Backtester is a suite of tools designed for rapid prototyping and testing of systematic trading strategies. It can run simple event studies to quantify market "edges" all the way to full blown multi-currency, multi-timeframe, multi-strategy portfolio simulations. Check out the documentation here.

Balsam Research, LLC

Balsam Research is an independent consulting firm offering custom solutions for systematic investors. We have extensive experience automating investment processes and running real-time systematic investment programs including fully automated futures trading systems. Contact us to learn more.

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. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 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
1.1.3 125 8/21/2025
1.1.2 125 8/20/2025
1.1.1 124 8/15/2025