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
Public Overridable Sub OnPositionTrade ( 
	trade As Trade,
	position As Position
)
Visual C++
public:
virtual void OnPositionTrade(
	Trade^ trade, 
	Position^ position
)
F#
abstract OnPositionTrade : 
        trade : Trade * 
        position : Position -> unit 
override OnPositionTrade : 
        trade : Trade * 
        position : Position -> unit 

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