Syntax
Public Overrides Function AcceptRequotedOrder (ByVal OrderID As String, ByVal NewPrice As Double) As TransResult
This function should accept re-quoted order with the LP, this will return an object of type TransResult that represent a fail or success result.
Remark
If the result of accepting is succeeded you must to change the order sate as following
MyBase.OrderState.MarketOrderAccepted (OrderID, NewPrice)
If the result of accepting is failed
MyBase.OrderState.MarketOrderFailed (OrderID, Reason)
Parameters
Key | Description |
OrderID | The ID of Order |
Price | The price value that requoted in it |
See Also