forked from alpacahq/alpaca-trade-api-csharp
/
IEnvironment.cs
37 lines (31 loc) · 1.01 KB
/
IEnvironment.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
namespace Alpaca.Markets;
/// <summary>
/// Provides URLs for different APIs available for this SDK on specific environment.
/// </summary>
public interface IEnvironment
{
/// <summary>
/// Gets Alpaca trading REST API base URL for this environment.
/// </summary>
Uri AlpacaTradingApi { get; }
/// <summary>
/// Gets Alpaca data REST API base URL for this environment.
/// </summary>
Uri AlpacaDataApi { get; }
/// <summary>
/// Gets Alpaca streaming API base URL for this environment.
/// </summary>
Uri AlpacaStreamingApi { get; }
/// <summary>
/// Gets Alpaca data streaming API base URL for this environment.
/// </summary>
Uri AlpacaDataStreamingApi { get; }
/// <summary>
/// Gets Alpaca crypto streaming API base URL for this environment.
/// </summary>
Uri AlpacaCryptoStreamingApi { get; }
/// <summary>
/// Gets Alpaca news streaming API base URL for this environment.
/// </summary>
Uri AlpacaNewsStreamingApi { get; }
}