Table of Contents

Method EpsilonEquals

Namespace
WhalesSecret.TradeScriptLib.API.TradingV1.Budget
Assembly
WhalesSecret.TradeScriptLib.dll

EpsilonEquals(BudgetReport)

Determines whether two specified budget reports have the same value with allowing for up to WhalesSecret.TradeScriptLib.API.TradingV1.Budget.BudgetReport.Epsilon differences.

public bool EpsilonEquals(BudgetReport other)

Parameters

other BudgetReport

Other instance to compare to.

Returns

bool

true if the two instances are considered equal within WhalesSecret.TradeScriptLib.API.TradingV1.Budget.BudgetReport.Epsilon error margin, false otherwise.