public class MarketStreamingClient extends Object implements IMarketStreamingClient
| Constructor and Description |
|---|
MarketStreamingClient(HttpApiClient apiClient) |
MarketStreamingClient(HttpApiConfig config) |
| Modifier and Type | Method and Description |
|---|---|
MarketStreamingClient |
setUserId(String userId)
Set user ID which will be added as x-user-id header to all requests
|
void |
subscribe(String sessionId,
Set<String> symbols,
String category,
Set<String> subTypes,
String depth,
Boolean overnightRequired) |
void |
unsubscribe(String sessionId,
Set<String> symbols,
String category,
Set<String> subTypes,
Boolean unsubscribeAll) |
public MarketStreamingClient(HttpApiConfig config)
public MarketStreamingClient(HttpApiClient apiClient)
public MarketStreamingClient setUserId(String userId)
userId - user IDpublic void subscribe(String sessionId, Set<String> symbols, String category, Set<String> subTypes, String depth, Boolean overnightRequired)
subscribe in interface IMarketStreamingClientpublic void unsubscribe(String sessionId, Set<String> symbols, String category, Set<String> subTypes, Boolean unsubscribeAll)
unsubscribe in interface IMarketStreamingClientCopyright © 2025 Webull. All rights reserved.