forked from alpacahq/alpaca-trade-api-csharp
/
Multiplier.cs
35 lines (31 loc) · 971 Bytes
/
Multiplier.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
namespace Alpaca.Markets;
/// <summary>
/// Account multiplier value (enum values can be cast to related integer values).
/// </summary>
[Flags]
[SuppressMessage("Naming", "CA1720:Identifier contains type name",
Justification = "We use these names because they explain situation better.")]
public enum Multiplier
{
/// <summary>
/// Invalid default value of enum.
/// </summary>
[UsedImplicitly]
None = 0,
/// <summary>
/// Standard limited margin account with 1x buying power.
/// </summary>
[UsedImplicitly]
Single = 1,
/// <summary>
/// Regular T margin account with 2x intraday and overnight buying power;
/// this is the default for all non-PDT accounts with $2,000 or more equity.
/// </summary>
[UsedImplicitly]
Double = 2,
/// <summary>
/// PDT account with 4x intraday buying power and 2x reg T overnight buying power.
/// </summary>
[UsedImplicitly]
Quadruple = 4
}