Class TradeAction.BuyOrder
Buy order on a CLOB.
public sealed record TradeAction.BuyOrder : TradeAction, ITradeAction, IEquatable<TradeAction>, IEquatable<TradeAction.BuyOrder>
- Inheritance
-
TradeAction.BuyOrder
- Implements
- Inherited Members
Constructors
BuyOrder(Symbol, DecimalAmount, DecimalAmount?, Guid?)
Buy order on a CLOB.
public BuyOrder(Symbol Symbol, DecimalAmount Quantity, DecimalAmount? LimitPrice, Guid? OrderId)
Parameters
SymbolSymbolInstrument to buy.
QuantityDecimalAmountQuantity to buy.
LimitPriceDecimalAmount?Optional limit price; null = market order.
OrderIdGuid?Optional client-assigned order id; null = server-assigned.
Properties
LimitPrice
Optional limit price; null = market order.
public DecimalAmount? LimitPrice { get; init; }
Property Value
OrderId
Optional client-assigned order id; null = server-assigned.
public Guid? OrderId { get; init; }
Property Value
- Guid?
Quantity
Quantity to buy.
public DecimalAmount Quantity { get; init; }
Property Value
Symbol
Instrument to buy.
public Symbol Symbol { get; init; }