|
Lean
$LEAN_TAG$
|
Helper class for BrokerageMultiWebSocketSubscriptionManager More...
Public Member Functions | |
| bool | Contains (Symbol symbol) |
| Returns whether the symbol is subscribed More... | |
| BrokerageMultiWebSocketEntry (Dictionary< Symbol, int > symbolWeights, IWebSocket webSocket) | |
| Initializes a new instance of the BrokerageMultiWebSocketEntry class More... | |
| BrokerageMultiWebSocketEntry (IWebSocket webSocket) | |
| Initializes a new instance of the BrokerageMultiWebSocketEntry class More... | |
| void | AddSymbol (Symbol symbol) |
| Adds a symbol to the entry More... | |
| void | RemoveSymbol (Symbol symbol) |
| Removes a symbol from the entry More... | |
Properties | |
| IWebSocket | WebSocket [get] |
| Gets the web socket instance More... | |
| int | TotalWeight [get] |
| Gets the sum of symbol weights for this web socket More... | |
| int | SymbolCount [get] |
| Gets the number of symbols subscribed More... | |
| IReadOnlyCollection< Symbol > | Symbols [get] |
| Returns the list of subscribed symbols More... | |
Helper class for BrokerageMultiWebSocketSubscriptionManager
Definition at line 24 of file BrokerageMultiWebSocketEntry.cs.
| QuantConnect.Brokerages.BrokerageMultiWebSocketEntry.BrokerageMultiWebSocketEntry | ( | Dictionary< Symbol, int > | symbolWeights, |
| IWebSocket | webSocket | ||
| ) |
Initializes a new instance of the BrokerageMultiWebSocketEntry class
| symbolWeights | A dictionary of symbol weights |
| webSocket | The web socket instance |
Definition at line 87 of file BrokerageMultiWebSocketEntry.cs.
| QuantConnect.Brokerages.BrokerageMultiWebSocketEntry.BrokerageMultiWebSocketEntry | ( | IWebSocket | webSocket | ) |
Initializes a new instance of the BrokerageMultiWebSocketEntry class
| webSocket | The web socket instance |
Definition at line 99 of file BrokerageMultiWebSocketEntry.cs.
| bool QuantConnect.Brokerages.BrokerageMultiWebSocketEntry.Contains | ( | Symbol | symbol | ) |
Returns whether the symbol is subscribed
| symbol |
Definition at line 59 of file BrokerageMultiWebSocketEntry.cs.
| void QuantConnect.Brokerages.BrokerageMultiWebSocketEntry.AddSymbol | ( | Symbol | symbol | ) |
Adds a symbol to the entry
| symbol | The symbol to add |
Definition at line 108 of file BrokerageMultiWebSocketEntry.cs.
| void QuantConnect.Brokerages.BrokerageMultiWebSocketEntry.RemoveSymbol | ( | Symbol | symbol | ) |
Removes a symbol from the entry
| symbol | The symbol to remove |
Definition at line 125 of file BrokerageMultiWebSocketEntry.cs.
|
get |
Gets the web socket instance
Definition at line 33 of file BrokerageMultiWebSocketEntry.cs.
|
get |
Gets the sum of symbol weights for this web socket
Definition at line 38 of file BrokerageMultiWebSocketEntry.cs.
|
get |
Gets the number of symbols subscribed
Definition at line 44 of file BrokerageMultiWebSocketEntry.cs.
|
get |
Returns the list of subscribed symbols
Definition at line 72 of file BrokerageMultiWebSocketEntry.cs.