Lean
$LEAN_TAG$
|
Handles the time in force for an order More...
Public Member Functions | |
bool | IsOrderExpired (Security security, Order order) |
Checks if an order is expired More... | |
bool | IsFillValid (Security security, Order order, OrderEvent fill) |
Checks if an order fill is valid More... | |
Handles the time in force for an order
Definition at line 24 of file ITimeInForceHandler.cs.
Checks if an order is expired
security | The security matching the order |
order | The order to be checked |
Implemented in QuantConnect.Orders.TimeInForces.GoodTilDateTimeInForce, QuantConnect.Orders.TimeInForce, QuantConnect.Orders.TimeInForces.DayTimeInForce, and QuantConnect.Orders.TimeInForces.GoodTilCanceledTimeInForce.
bool QuantConnect.Interfaces.ITimeInForceHandler.IsFillValid | ( | Security | security, |
Order | order, | ||
OrderEvent | fill | ||
) |
Checks if an order fill is valid
security | The security matching the order |
order | The order to be checked |
fill | The order fill to be checked |
Implemented in QuantConnect.Orders.TimeInForces.GoodTilDateTimeInForce, QuantConnect.Orders.TimeInForces.DayTimeInForce, QuantConnect.Orders.TimeInForce, and QuantConnect.Orders.TimeInForces.GoodTilCanceledTimeInForce.