-
Notifications
You must be signed in to change notification settings - Fork 1
/
Note.cs
92 lines (84 loc) · 1.31 KB
/
Note.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace ShareInvest.Binance;
public enum FilterTypes
{
PRICE_FILTER,
PERCENT_PRICE,
PERCENT_PRICE_BY_SIDE,
LOT_SIZE,
MIN_NOTIONAL,
NOTIONAL,
ICEBERG_PARTS,
MARKET_LOT_SIZE,
MAX_NUM_ORDERS,
MAX_NUM_ALGO_ORDERS,
MAX_NUM_ICEBERG_ORDERS,
MAX_POSITION,
TRAILING_DELTA
}
public enum Interval
{
SECOND,
MINUTE,
DAY
}
public enum RateLimitType
{
RAW_REQUESTS,
REQUEST_WEIGHT,
ORDERS
}
public enum OrderTypes
{
LIMIT,
LIMIT_MAKER,
MARKET,
STOP_LOSS,
STOP_LOSS_LIMIT,
TAKE_PROFIT,
TAKE_PROFIT_LIMIT
}
public enum PermissionSets
{
SPOT,
MARGIN
}
public enum AllowedSelfTradePreventionModes
{
NONE,
EXPIRE_TAKER,
EXPIRE_MAKER,
EXPIRE_BOTH
}
[JsonConverter(typeof(StringEnumConverter))]
public enum Permissions
{
SPOT,
MARGIN,
LEVERAGED,
TRD_GRP_002,
TRD_GRP_003,
TRD_GRP_004,
TRD_GRP_005,
TRD_GRP_006,
TRD_GRP_007,
TRD_GRP_008,
TRD_GRP_009,
TRD_GRP_010,
TRD_GRP_011,
TRD_GRP_012,
TRD_GRP_013,
TRD_GRP_014,
TRD_GRP_015,
TRD_GRP_016,
TRD_GRP_017,
TRD_GRP_018,
TRD_GRP_019,
TRD_GRP_020,
TRD_GRP_021,
TRD_GRP_022,
TRD_GRP_023,
TRD_GRP_024,
TRD_GRP_025
}