i have an issue using a dataseries in onmarketdata.
code looks something like this:
if (e.MarketDataType == MarketDataType.Last)
{
dataseries[0] += volume;
}
the amount with which the dataseries value on each event is increased seems alright, but the starting value is not zero but some ridiculous value. or stated otherwise when dataseries[0] should be zero, or not yet have a value, its actually 14000(maybe the first onmarketdata event) or something, after that it increases the value as its supposed to, I do not see whats wrong.
thanks
Comment