I noticed that the OnOrderUpdate is not being called when added to the SuperDOM until you hit "Reload Ninjascript" or change the instrument selection on the DOM.
Step to reproduce (on latest NT v8.0.25):
- Add a simple Custom superDOM column like below :
{
{
{
Name = "MyCustomSuperDomColumn";
else if (State == State.Configure)
{
}
else if (State == State.DataLoaded)
{
}
{
{
}
}
- Open a SuperDOM, make sure an account is selected
- Add column
- Submit an order on eg another chart (active on same account eg using Chart Trader)
- Nothing happens, the Print statement is not executed, so no call to OnOrderUpdate()
- Select "Reload Ninjascript" on the DOM
- Submit another order or close the existing one -> Print statement works, so OnOrderUpdate() is called
Can this be considered a bug? Would love it if this gets fixed
thank you,
Joost
Comment