--
You received this message because you are subscribed to the Google Groups "NJ4X Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nj4x+uns...@googlegroups.com.
To post to this group, send email to nj...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nj4x/9b293c83-1673-4b35-a13a-2f9306faed73%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
In this case you do not need to check if the symbol is selected because Bulk Tick Listener already gets ticks for selected symbols only.
вт, 14 трав. 2019 о 11:51 Can Dolgun <hc.d...@gmail.com> пише:
Hi,--I receive updates symbols when BulkTickhandler triggered:_ConnectionHolder.BulkTickHandler += async (ticks, connection) =>{foreach (var tick in ticks){// symbolInfo does not contains day low and high value (return 0,0)var symbolInfo = _ConnectionHolder.Nj4xClient.GetSymbolInfo(tick.Symbol);// symbolInfo includes day low and high valuevar marketInfo = _ConnectionHolder.Nj4xClient.GetMarketInfo(tick.Symbol)}};MarketInfo return an error if symbol does not selected from Nj4xClient .Should I do as follows?_ConnectionHolder.BulkTickHandler += async (ticks, connection) =>{foreach (var tick in ticks){var symbolInfo = Nj4xClient.GetSymbolInfo(tick.Symbol);if(symbolInfo.IsSelected){var marketInfo = Nj4xClient.GetMarketInfo(tick.Symbol)}}};
You received this message because you are subscribed to the Google Groups "NJ4X Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nj...@googlegroups.com.