Files
spark/src/client/spark_api/MarketData/SyntheticBookLevel.cs
T
John Colvin ada7d4bed1 refactor: Load IDataStreamFactory(s) with dependency injection
So we can create ViewStreams that depend on other services, config, etc.
Previously, the PrimitiveManager relied purely on static construction of
types through reflection.
2025-11-14 14:52:07 -05:00

13 lines
443 B
C#

#nullable enable
namespace Spark.Api.MarketData;
/// <summary>
/// Like a normal BookLevel, but includes the NotionalValue, as that could only
/// otherwise be computed with the leg quantities and cash per point.
/// </summary>
/// <param name="Price"></param>
/// <param name="Quantity"></param>
/// <param name="NotionalValue"></param>
public readonly record struct SyntheticBookLevel(double Price, double Quantity, double NotionalValue);