Called when an order is filled.

Namespace: RightEdge.Common
Assembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
public void OrderFilled(
	TradeInfo trade,
	PositionInfo position,
	double lastPrice,
	IAccountInfo accountInfo
)
Visual Basic
Public Sub OrderFilled ( 
	trade As TradeInfo,
	position As PositionInfo,
	lastPrice As Double,
	accountInfo As IAccountInfo
)
Visual C++
public:
void OrderFilled(
	TradeInfo^ trade, 
	PositionInfo^ position, 
	double lastPrice, 
	IAccountInfo^ accountInfo
)
F#
member OrderFilled : 
        trade : TradeInfo * 
        position : PositionInfo * 
        lastPrice : float * 
        accountInfo : IAccountInfo -> unit 

Parameters

trade
Type: RightEdge.Common..::..TradeInfo
Trade object that filled the order.
position
Type: RightEdge.Common..::..PositionInfo
Position associated with this fill.
lastPrice
Type: System..::..Double
The last price for the corresponding symbol.
accountInfo
Type: RightEdge.Common..::..IAccountInfo
Account information object.

See Also