If I EnterLong and hold an order reference, e.g.:
var order = EnterLong();
am I able to immediately access the order.AverageFillPrice property? Or will this be unavailable until the OnOrderUpdate callback?
This is roughly what I want to do:
var stopPrice = DonchianChannel(3).Lower[0];
var scalpEntry = EnterLong(1, "Scalp");
var entryPrice = scalpEntry.AverageFillPrice; // is this value guaranteed to be available at this point?
var target = entryPrice + Math.Abs(entryPrice - stopPrice);
SetProfitTarget("Scalp", CalculationMode.Price, target, false);

Comment