Class UpdateWatchListRequest
Encapsulates request parameters for UpdateWatchListByIdAsync(UpdateWatchListRequest, CancellationToken) call.
Inheritance
System.Object
UpdateWatchListRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Alpaca.Markets
Assembly: Alpaca.Markets.dll
Syntax
public sealed class UpdateWatchListRequest
Constructors
| Improve this Doc View SourceUpdateWatchListRequest(Guid, String, IEnumerable<String>)
Creates new instance of UpdateWatchListRequest object.
Declaration
public UpdateWatchListRequest(Guid watchListId, String name, IEnumerable<String> assets)
Parameters
Type | Name | Description |
---|---|---|
Guid | watchListId | Unique watch list identifier. |
String | name | User defined watch list name. |
IEnumerable<String> | assets | List of asset symbols for new watch list. |
Properties
| Improve this Doc View SourceAssets
Gets list of asset symbols for new watch list.
Declaration
public IReadOnlyList<String> Assets { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<String> |
Name
Gets the target watch list name.
Declaration
public String Name { get; }
Property Value
Type | Description |
---|---|
String |
WatchListId
Gets the target watch list unique identifier.
Declaration
public Guid WatchListId { get; }
Property Value
Type | Description |
---|---|
Guid |