getLiveTicks method
Real-time stream of live trades/ticks for the given symbol.
Implementation
@override
Stream<Tick> getLiveTicks(String symbol) {
_stopLiveSimulation();
_tickController = StreamController<Tick>.broadcast(
onListen: _startLiveSimulation,
onCancel: _stopLiveSimulation,
);
return _tickController!.stream;
}