I'm aware that this might be a tricky question cause a script's performance will depend on many factors, but basically its internal logic. But let's suppose that we have a script with a very efficient internal logic, I wonder about executions speed triggering orders between managed and unmanaged method, which one is faster?
By the way: can I execute some logic within this method, even orders? :
protected override void OnPositionUpdate(IPosition position)
{
if (position.MarketPosition != MarketPosition.Flat)
{
// do some logic
}
}
Thanks

Comment