public InternalTradeReaderJob(
            ILogger <InternalTradeReaderJob> logger,
            ISubscriber <IReadOnlyList <WalletTradeMessage> > subscriber,
            IPortfolioManager manager,
            IHedgeService hedgeService,
            ILpWalletManager walletManager,
            IHedgeSettingsManager hedgeSettings)
        {
            _manager       = manager;
            _hedgeService  = hedgeService;
            _walletManager = walletManager;
            _hedgeSettings = hedgeSettings;
            subscriber.Subscribe(HandleTrades);

            _hedgeTimer = new MyTaskTimer(nameof(InternalTradeReaderJob), TimeSpan.FromMilliseconds(5000), logger, DoHedge).DisableTelemetry();
        }
 public LpWalletManagerGrpc(ILpWalletManager manager)
 {
     _manager = manager;
 }