Click or drag to resize
StrategyBaseClosePosition Method
Cancels all pending orders and closes exiting position. Market order is submitted to close the position. If Connection does not supports market order then a limit order is submitted.

Namespace: SharpCharts.Base.SharpScript
Assembly: SharpCharts.Base (in SharpCharts.Base.dll) Version: 1.0.0.6 (1.0.0.6)
Syntax
C#
public IOrder ClosePosition()

Return Value

Type: IOrder
See Also