Skip to content

In the ClusterSearch metric, is there a typo here? #85

@kingdream123

Description

@kingdream123

In the ClusterSearch.Models.cs class, the following line

if (!TryGetValue(price, out var iLevel))

Should 'price' be 'iPrice'?

for (var iPrice = price; iPrice <= price + (priceRowsMerge - 1) * tickSize; iPrice += tickSize)
{
	if (!TryGetValue(iPrice, out var iLevel))
		continue;
	sum += iLevel.Volume;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions