Not really sure why I have to use a consolidator to access minute data? I'm a day trader. ALL of my strategies involve intraday trading. But okay....

I'm looking at your "How to use Consolidators" algorithm in QU. Trying to convince myself of exactly what data this is returning. What line of code would I need to add to see the value of SPY, minute by minute?

//Traditional 1 minute events here:

public void OnData(TradeBars data)

{

Debug("The value of SPY is " + ???????????);

Order("SPY", 100);

}

 

Author