StrategyBaseSetTarget Method (Double, String) |
Submits a limit order. If a limit order with the same entry order name exits then changes that order if the price differs
This method will be ignored if called when the strategy is in Initialized state
Namespace: SharpCharts.Base.SharpScriptAssembly: SharpCharts.Base (in SharpCharts.Base.dll) Version: 1.0.0.6 (1.0.0.6)
Syntax protected IOrder[] SetTarget(
double targetPrice,
string entryOrderName
)
Parameters
- targetPrice
- Type: SystemDouble
Limit price - entryOrderName
- Type: SystemString
Entry order name
Return Value
Type:
IOrderSee Also