Class LimitOrderRequest
- Namespace
- WhalesSecret.TradeScriptLib.Entities.Orders
- Assembly
- WhalesSecret.TradeScriptLib.dll
Limit order request representation.
public sealed class LimitOrderRequest : OrderRequest, IEquatable<OrderRequest>, ILimitLikeOrderRequest, IEquatable<LimitOrderRequest>
- Inheritance
-
LimitOrderRequest
- Implements
- Inherited Members
- Extension Methods
Constructors
- LimitOrderRequest(string?, SymbolPair, OrderSide, decimal, decimal, TimeInForce, bool)
Creates a new instance of the object.
Properties
- Maker
Flag denoting whether the order is restricted, once placed, to remove liquidity from the exchange market.
When
true
the order will be rejected by the exchange if the order would immediately fill (partially or completely).When
false
the order will behave as an ordinary LIMIT order.
- Price
The highest (the lowest) price for which to buy (sell) base symbol of SymbolPair.
- TimeInForce
Specifies how long an order is supposed to be active.
Methods
- Equals(object?)
Determines whether the specified object is equal to the current object.
- Equals(LimitOrderRequest?)
Indicates whether the current object is equal to another object of the same type.
- GetHashCode()
Serves as the default hash function.
- ToString()
Returns a string that represents the current object.
Operators
- operator ==(LimitOrderRequest?, LimitOrderRequest?)
Determines whether two specified limit order requests have the same value.
- operator !=(LimitOrderRequest?, LimitOrderRequest?)
Determines whether two specified limit order requests have different values.