Posted 1/25/2010 15:00:22
|
|
|
|
Why when I run live strategy which shows price every each tick, then sometimes (every 2-5 ticks) is 0?
public override void NewTick(BarData partialBar, TickData tick) {
OutputMessage("NewTick(), price: "+tick.price);
}
Ed.2 Beta 14
|
|
Posted 1/25/2010 16:16:50
|
|
|
|
Ok, I know why:
OutputMessage("NewTick(), price: "+tick.price + " tickType: "+tick.tickType);
There are various types of information carried in tick.price field (not only price but ie. Daily volume as well) - it misleading coder's.
|
|
|
|