Table of Contents

Struct FilledSizeAndAvgPrice

Namespace
WhalesSecret.TradeScriptLib.Entities.Orders
Assembly
WhalesSecret.TradeScriptLib.dll

Represents an order's filled size and the corresponding average price, if available.

public readonly struct FilledSizeAndAvgPrice : IEquatable<FilledSizeAndAvgPrice>
Implements
Inherited Members
Extension Methods

Properties

AveragePrice

Average execution price of the order's filled size, or null if not available.

Fee

Fee associated with the trade, or null if not available.

FeeSymbol

Symbol associated with Fee, or null if Fee is null.

Size

Filled size of the order in base symbol.

Methods

Equals(object?)

Indicates whether this instance and a specified object are equal.

Equals(FilledSizeAndAvgPrice)

Indicates whether the current object is equal to another object of the same type.

GetHashCode()

Returns the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

Operators

operator ==(FilledSizeAndAvgPrice, FilledSizeAndAvgPrice)

Determines whether two specified filled sizes and average prices have the same value.

operator !=(FilledSizeAndAvgPrice, FilledSizeAndAvgPrice)

Determines whether two specified filled sizes and average prices have different values.