Untitled

Anonymous
csharp
10/15/2022 3:48 PM
532 B
18
Indexable
public void OnPriceLevelSideChange(double price, bool isBidSide, IEnumerable<PriceLevelSideOrder> orders)
{
    LockedScopeProvider(async (dbContext, userContextService, matchingEngineHub) =>
    {
        await matchingEngineHub.Clients.All.SendAsync("onPriceLevelSideChange", price, isBidSide, orders, orders.Sum(o=>o.Quantity));
        Console.Write($"OnChangePriceLevelSide");
    });
}
Editor is loading...