I am new to QC and creating new brokerage I have successfully implemented IBrokerage and IDataQueueHandler 
In the algorithm, ondata method does not called,

public override void OnData(Slice slice)

where as contineously getting tick data in

private void OnTradeReceived(Tick trade)

Author