Click or drag to resize

StrategySetTarget(Int32, Double, String) Method

Submits a limit order for the specified bars index. If a limit order with the same entry order name exits then changes that order if the price differs This method will be ignored if called when the strategy is in Initialized state

Namespace: ArthaChitra.Model.SharpScript
Assembly: ArthaChitra.Core (in ArthaChitra.Core.dll) Version: 2.0.3.0
Syntax
C#
protected IOrder[] SetTarget(
	int barsIndex,
	double targetPrice,
	string entryOrderName
)

Parameters

barsIndex  Int32
Bars index
targetPrice  Double
Limit price
entryOrderName  String
Entry order name

Return Value

IOrder
See Also