Click or drag to resize

StrategyBaseEnterLong Method (String, Int32)

Enters a long position with a specified name and quantity Market order is submitted. 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.42 (1.0.0.42)
Syntax
C#
public IOrder EnterLong(
	string name,
	int quantity
)

Parameters

name
Type: SystemString
Name of the order
quantity
Type: SystemInt32
Order size

Return Value

Type: IOrder
See Also