fix: Add missing LiveMarketDataStream attribute to InstrumentsStream
Otherwise PrimitiveManager returns null for that stream type
This commit is contained in:
1 parent
cfe7d43770
commit
ddf16bcd5c
1 file changed
+2
-1
@@ -17,7 +17,8 @@ namespace bts.BlueOrb {
|
||||
|
||||
// TODO: Use dependency injection to instantiate this stream, and others like it that depend on
|
||||
// IMarketDataClient. Until then, hide it from DSQA.
|
||||
[DataStreamUserRespresentation(/*"InstrumentsStream"*/ false)]
|
||||
[LiveMarketDataStream]
|
||||
[DataStreamUserRespresentation("InstrumentsStream")]
|
||||
public class InstrumentsStream : ViewStream, IWorker {
|
||||
private readonly TimeSpan _poll_period = TimeSpan.FromMilliseconds(500);
|
||||
private DateTime _last_poll_time = DateTime.MinValue;
|
||||
|
||||
Reference in new issue
Block a user