forked from alpacahq/alpaca-trade-api-csharp
/
IWatchList.cs
43 lines (37 loc) · 1.01 KB
/
IWatchList.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
namespace Alpaca.Markets;
/// <summary>
/// Encapsulates watch list information from Alpaca REST API.
/// </summary>
public interface IWatchList
{
/// <summary>
/// Gets unique watch list identifier.
/// </summary>
[UsedImplicitly]
Guid WatchListId { get; }
/// <summary>
/// Gets watch list creation time in UTC.
/// </summary>
[UsedImplicitly]
DateTime CreatedUtc { get; }
/// <summary>
/// Gets watch list last update time in UTC.
/// </summary>
[UsedImplicitly]
DateTime? UpdatedUtc { get; }
/// <summary>
/// Gets watch list user-defined name.
/// </summary>
[UsedImplicitly]
String Name { get; }
/// <summary>
/// Gets <see cref="IAccount.AccountId"/> for this watch list.
/// </summary>
[UsedImplicitly]
Guid AccountId { get; }
/// <summary>
/// Gets the content of this watchlist, in the order as registered by the client.
/// </summary>
[UsedImplicitly]
IReadOnlyList<IAsset> Assets { get; }
}