StrategySetTarget(Int32, Double, String) Method |
Submits a limit order for the specified bars index. 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: ArthaChitra.Model.SharpScriptAssembly: ArthaChitra.Core (in ArthaChitra.Core.dll) Version: 2.0.3.0
Syntax protected IOrder[] SetTarget(
int barsIndex,
double targetPrice,
string entryOrderName
)
Parameters
- barsIndex Int32
- Bars index
- targetPrice Double
- Limit price
- entryOrderName String
- Entry order name
Return Value
IOrderSee Also