|
Lean
$LEAN_TAG$
|
Represents a first request to cross zero order. More...
Public Member Functions | |
| CrossZeroFirstOrderRequest (Order leanOrder, OrderType orderType, decimal orderQuantity, decimal orderQuantityHolding, OrderPosition orderPosition) | |
| Initializes a new instance of the CrossZeroFirstOrderRequest struct. More... | |
Public Attributes | |
| decimal | AbsoluteOrderQuantity => Math.Abs(OrderQuantity) |
| Gets the absolute quantity of the order. More... | |
Properties | |
| Order | LeanOrder [get] |
| Gets the original lean order. More... | |
| OrderType | OrderType [get] |
| Gets the type of the order. More... | |
| decimal | OrderQuantity [get] |
| Gets the quantity of the order. More... | |
| decimal | OrderQuantityHolding [get] |
| Gets the current holding quantity of the order's symbol. More... | |
| OrderPosition | OrderPosition [get] |
| Gets the position of the order. More... | |
Represents a first request to cross zero order.
Definition at line 24 of file CrossZeroFirstOrderRequest.cs.
| QuantConnect.Brokerages.CrossZero.CrossZeroFirstOrderRequest.CrossZeroFirstOrderRequest | ( | Order | leanOrder, |
| OrderType | orderType, | ||
| decimal | orderQuantity, | ||
| decimal | orderQuantityHolding, | ||
| OrderPosition | orderPosition | ||
| ) |
Initializes a new instance of the CrossZeroFirstOrderRequest struct.
| leanOrder | The lean order. |
| orderType | The type of the order. |
| orderQuantity | The quantity of the order. |
| orderQuantityHolding | The current holding quantity of the order's symbol. |
| orderPosition | The position of the order, which depends on the orderQuantityHolding . |
Definition at line 67 of file CrossZeroFirstOrderRequest.cs.
| decimal QuantConnect.Brokerages.CrossZero.CrossZeroFirstOrderRequest.AbsoluteOrderQuantity => Math.Abs(OrderQuantity) |
Gets the absolute quantity of the order.
Definition at line 44 of file CrossZeroFirstOrderRequest.cs.
|
get |
Gets the original lean order.
Definition at line 29 of file CrossZeroFirstOrderRequest.cs.
|
get |
Gets the type of the order.
Definition at line 34 of file CrossZeroFirstOrderRequest.cs.
|
get |
Gets the quantity of the order.
Definition at line 39 of file CrossZeroFirstOrderRequest.cs.
|
get |
Gets the current holding quantity of the order's symbol.
Definition at line 49 of file CrossZeroFirstOrderRequest.cs.
|
get |
Gets the position of the order.
The position of the order, which depends on the OrderQuantityHolding.
Definition at line 57 of file CrossZeroFirstOrderRequest.cs.