This function is called when a trade occurs for a position.

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

Syntax

C#
public virtual void OnPositionTrade(
	Trade trade,
	Position position
)
Visual Basic (Declaration)
Public Overridable Sub OnPositionTrade ( _
	trade As Trade, _
	position As Position _
)
Visual C++
public:
virtual void OnPositionTrade(
	Trade^ trade, 
	Position^ position
)

Parameters

trade
Type: RightEdge.Common..::.Trade
Object containing information about the trade that took place.
position
Type: RightEdge.Common..::.Position
The position to which the trade applied.

See Also