Click or drag to resize
StrategyBaseEnterShort Method (String, Int32)
Enters a short position. 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.6 (1.0.0.6)
Syntax
C#
public IOrder EnterShort(
	string name,
	int quantity
)

Parameters

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

Return Value

Type: IOrder
See Also