So we can create ViewStreams that depend on other services, config, etc. Previously, the PrimitiveManager relied purely on static construction of types through reflection.
13 lines
443 B
C#
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);
|