StrategyBaseEnterShort Method (Int32, Int32) |
Enters a short position for the specified bars index and the specified 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 public IOrder EnterShort(
int barsIndex,
int quantity
)
Parameters
- barsIndex
- Type: SystemInt32
Bars index - quantity
- Type: SystemInt32
Order size
Return Value
Type:
IOrderSee Also