Watchlists
Last updated
Last updated
Parameter | Value |
---|---|
Example: {"Cmd":"Subscribe.txt", "SessionId":"7e83072e-09e7-43ed-91d5-f2b747bf162e", "Keys":"1159","EntityType":"Watchlist","HttpClientType":"WebSocket"}
Parameter | Value |
---|---|
Example: {"Cmd":"Unsubscribe.txt", "SessionId":"7e83072e-09e7-43ed-91d5-f2b747bf162e", "Keys":"1159","EntityType":"Watchlist","HttpClientType":"WebSocket"}
In response to this request, you will receive the updated list of watchlists in the JSON format.
**Example:**
**{**
"EntityType":"Watchlist"
"id":"3013",
"Key":"1159",
"CreateDate":"09/08/2015 09:20:49",
"ModifyDate":"09/08/2015 09:20:49",
"Description":"",
"IsDeleted":"True",
"Name":"Stocks",
"Type":"UserList",
"UserId":"1159"
**}**
Example: {"Cmd":"Subscribe.txt", "SessionId":"7e83072e-09e7-43ed-91d5-f2b747bf162e", "Keys":"287","EntityType":"WatchlistContent","HttpClientType":"WebSocket"}
Example: {"Cmd":"Unsubscribe.txt", "SessionId":"7e83072e-09e7-43ed-91d5-f2b747bf162e", "Keys":"287","EntityType":"WatchlistContent","HttpClientType":"WebSocket"}
In response to this request, you will receive changes in the specified watchlist.
**Example:**
**{**
"EntityType":"WatchlistContent",
"Key":"287",
"AddedSymbols":"680410",
"RemovedSymbols":"null",
}
Parameter | Value |
---|---|
Parameter | Value |
---|---|
Cmd
Subscribe.txt
SessionId
Session ID from the authentication request
Keys
The ID of the user whose watchlists you would like to retrieve
EntityType
Watchlist
HttpClientType
WebSocket
Cmd
Unsubscribe.txt
SessionId
Session ID from the authentication request
Keys
The ID of the user whose watchlists you would like to unsubscribe from
EntityType
Watchlist
HttpClientType
WebSocket
Cmd
Subscribe.txt
SessionId
Session ID from the authentication request
Keys
The ID of the watchlist whose changes you would like to subscribe to
EntityType
WatchlistContent
HttpClientType
WebSocket
Cmd
Unsubscribe.txt
SessionId
Session ID from the authentication request
Keys
The ID of the watchlist whose changes you would like to unsubscribe from
EntityType
WatchlistContent
HttpClientType
WebSocket