Balsam.Bloomberg
1.1.3
dotnet add package Balsam.Bloomberg --version 1.1.3
NuGet\Install-Package Balsam.Bloomberg -Version 1.1.3
<PackageReference Include="Balsam.Bloomberg" Version="1.1.3" />
<PackageVersion Include="Balsam.Bloomberg" Version="1.1.3" />
<PackageReference Include="Balsam.Bloomberg" />
paket add Balsam.Bloomberg --version 1.1.3
#r "nuget: Balsam.Bloomberg, 1.1.3"
#:package Balsam.Bloomberg@1.1.3
#addin nuget:?package=Balsam.Bloomberg&version=1.1.3
#tool nuget:?package=Balsam.Bloomberg&version=1.1.3
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 | 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. |
.NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.6.2
- Balsam.Backtester (>= 1.1.2)
-
net8.0
- Balsam.Backtester (>= 1.1.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.