How to run realtime 1 minute esignal datafeed for SetBacktestMode( backtestRotational )?

I want to use SetBacktestMode( backtestRotational ) for my realtime 1 minute trading.
But I don’t know how to do that in amibroker.
I only know that I should select “wait for backfill”.
Do it wait all symbols for backfill when I select “wait for backfill”?
If I use the code below, how to modify the code for realtime trading?
Should I place the ibc.PlaceOrder(“MSFT”, “BUY”, 100, “MKT”, 0, 0, “DAY”, False ); in the end of code?

Thank you very much.

SetOption("InitialEquity", 100000); 
SetOption("MaxOpenPositions",5);
SetOption("CommissionMode", 3); //count hand cost by how much future
SetOption("CommissionAmount", 0.005); //one future hand cost 50 dollars
SetBacktestMode( backtestRotational ); 
SetOption("AllowPositionShrinking", True ); 

//The number of issues to hold at a time
NumberHeld=5;//Optimize("NumberHeld",1,1,10,2);

//Allocate funds equally among all issues
PositionSize = -100/(NumberHeld);

SetOption("WorstRankHeld",5);

LookBack =76;//Optimize("LookBack ",76,10,200,2);


Score = ROC(C,LookBack);

PositionScore = Score;

In Buy/Sell signal , I can use below code to placeorder to ibcontroller.
But in SetBacktestMode( backtestRotational ), how to get the top rank symbol for placeorder to ibcontroller?
Could anyone help me with this question?

Thank you so much.

if( LastValue( Buy ) ) 
{ 
  ibc = GetTradingInterface("IB"); 

  // check if we are connected OK 
  if( ibc.IsConnected() ) 
  { 
     // check if we do not have already open position on this stock 
     if( ibc.GetPositionSize( Name() ) == 0 ) 
     { 
        // transmit order 
        ibc.PlaceOrder( Name(), "Buy", 100, "MKT", 0, 0, "Day", True ); 
     } 
  } 
}

Rotational trading by definition is EOD strategy (placing all orders on next day open) and there is no direct support in IBController for that.