Click or drag to resize

StrategyEnterLong(Int32, String, Int32) Method

Enters a long position for the specified bars index with specified name and quantity Market order is submitted. 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 EnterLong(
	int barsIndex,
	string name,
	int quantity
)

Parameters

barsIndex  Int32
Bars index
name  String
Name of the order
quantity  Int32
Order size

Return Value

IOrder
See Also