Click or drag to resize

StrategyClosePosition(Int32) 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: ArthaChitra.Model.SharpScript
Assembly: ArthaChitra.Core (in ArthaChitra.Core.dll) Version: 2.0.3.0
Syntax
C#
public IOrder ClosePosition(
	int barsIndex
)

Parameters

barsIndex  Int32
Bars index

Return Value

IOrder
See Also