I'm coding a strategy (Visual Studio Editor) and more times was occurring an error, today just when I was adding a simple code line (private Order tradeOrder = null;).
CS0104 'Order' is an ambiguous reference between 'NinjaTrader.Cbi.Order' and 'NinjaTrader.CQG.ProtoBuf.Order'
The editor was adding alone a Using declaration: using NinjaTrader.CQG.ProtoBuf;
Could you tell me why this occurs, exactly what is NinjaTrader.CQG.ProtoBuf and if is better to use it with CQG?
Please note that cancelling the declaration: using NinjaTrader.CQG.ProtoBuf; all back to work fine with no errors.
Many thanks. Regards

Comment