Click or drag to resize

StrategyBaseEnterShort Method (String, Int32)

Enters a short position with the specifed 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 EnterShort(
	string name,
	int quantity
)

Parameters

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

Return Value

Type: IOrder
See Also