Can in the same code snippet i place a cancelorder() command and a submitoder command?
such as if (entryOrder !=null && limitprice=true)
{
cancelorder(entryoder);
Submitorder ()
}
Is this going to work in real time or will i need to delay a period of time between the cancel and submit orders?
Thanks.

Comment