-
Notifications
You must be signed in to change notification settings - Fork 0
/
const.go
126 lines (115 loc) · 4.96 KB
/
const.go
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
package gotd
// setting value
const (
AccountFieldPositions = "positions"
AccountFieldOrders = "orders"
InstrumentsProjectionSymbolSearch = "symbol-search"
InstrumentsProjectionSymbolRegex = "symbol-regex"
InstrumentsProjectionDescSearch = "desc-search"
InstrumentsProjectionDescRegex = "desc-regex"
InstrumentsProjectionFundamental = "fundamental"
HoursMarketsEQUITY = "EQUITY"
HoursMarketsOPTION = "OPTION"
HoursMarketsFUTURE = "FUTURE"
HoursMarketsBOND = "BOND"
HoursMarketsFOREX = "FOREX"
MoversIndexCOMPX = "$COMPX"
MoversIndexDJI = "$DJI"
MoversIndexSPXX = "$SPX.X"
MoversDirectionUp = "up"
MoversDirectionDown = "down"
MoversChangePercent = "percent"
MoversChangeValue = "value"
OptionChainContractTypeCALL = "CALL"
OptionChainContractTypePUT = "PUT"
OptionChainContractTypeALL = "ALL"
OptionChainStrategySINGLE = "SINGLE"
OptionChainStrategyANALYTICAL = "ANALYTICAL"
OptionChainStrategyCOVERED = "COVERED"
OptionChainStrategyVERTICAL = "VERTICAL"
OptionChainStrategyCALENDAR = "CALENDAR"
OptionChainStrategySTRANGLE = "STRANGLE"
OptionChainStrategySTRADDLE = "STRADDLE"
OptionChainStrategyBUTTERFLY = "BUTTERFLY"
OptionChainStrategyCONDOR = "CONDOR"
OptionChainStrategyDIAGONAL = "DIAGONAL"
OptionChainStrategyCOLLAR = "COLLAR"
OptionChainStrategyROLL = "ROLL"
OptionChainRangeITM = "ITM"
OptionChainRangeNTM = "NTM"
OptionChainRangeOTM = "OTM"
OptionChainRangeSAK = "SAK"
OptionChainRangeSBK = "SBK"
OptionChainRangeSNK = "SNK"
OptionChainRangeALL = "ALL"
OptionChainExpMonthJAN = "JAN"
OptionChainExpMonthFEB = "FEB"
OptionChainExpMonthMAR = "MAR"
OptionChainExpMonthAPR = "APR"
OptionChainExpMonthMAY = "MAY"
OptionChainExpMonthJUN = "JUN"
OptionChainExpMonthJULY = "JULY"
OptionChainExpMonthAUG = "AUG"
OptionChainExpMonthSEP = "SEP"
OptionChainExpMonthOCT = "OCT"
OptionChainExpMonthNOV = "NOV"
OptionChainExpMonthDEC = "DEC"
OptionChainExpMonthALL = "ALL"
OptionChainTypeS = "S"
OptionChainTypeNS = "NS"
OptionChainTypeALL = "ALL"
PriceHistoryPeriodTypeDay = "day"
PriceHistoryPeriodTypeMonth = "month"
PriceHistoryPeriodTypeYear = "year"
PriceHistoryPeriodTypeYtd = "ytd"
PriceHistoryFrequencyTypeMinute = "minute"
PriceHistoryFrequencyTypeDaily = "daily"
PriceHistoryFrequencyTypeWeekly = "weekly"
PriceHistoryFrequencyTypeMonthly = "monthly"
TransactionsKindALL = "ALL"
TransactionsKindTRADE = "TRADE"
TransactionsKindBUYONLY = "BUY_ONLY"
TransactionsKindSELLONLY = "SELL_ONLY"
TransactionsKindCASHInOrCASHOut = "CASH_IN_OR_CASH_OUT"
TransactionsKindCHECKING = "CHECKING"
TransactionsKindDIVIDEND = "DIVIDEND"
TransactionsKindINTEREST = "INTEREST"
TransactionsKindOTHER = "OTHER"
TransactionsKindADVISORFEES = "ADVISOR_FEES"
UserPrincipalsFieldsStreamerSubscriptionKeys = "streamerSubscriptionKeys"
UserPrincipalsFieldsStreamerConnectionInfo = "streamerConnectionInfo"
UserPrincipalsFieldsPreferences = "preferences"
UserPrincipalsFieldsSurrogateIds = "surrogateIds"
OrdersStatusAWAITINGPARENTORDER = "AWAITING_PARENT_ORDER"
OrdersStatusAWAITINGCONDITION = "AWAITING_CONDITION"
OrdersStatusAWAITINGMANUALREVIEW = "AWAITING_MANUAL_REVIEW"
OrdersStatusACCEPTED = "ACCEPTED"
OrdersStatusAWAITINGUROUT = "AWAITING_UR_OUT"
OrdersStatusPENDINGACTIVATION = "PENDING_ACTIVATION"
OrdersStatusQUEUED = "QUEUED"
OrdersStatusWORKING = "WORKING"
OrdersStatusREJECTED = "REJECTED"
OrdersStatusPENDINGCANCEL = "PENDING_CANCEL"
OrdersStatusCANCELED = "CANCELED"
OrdersStatusPENDINGREPLACE = "PENDING_REPLACE"
OrdersStatusREPLACED = "REPLACED"
OrdersStatusFILLED = "FILLED"
OrdersStatusEXPIRED = "EXPIRED"
OrderInstructionBuy = "BUY"
OrderInstructionSELL = "SELL"
OrderAssetTypeEQUITY = "EQUITY"
OrderAssetTypeOPTION = "OPTION"
OrderAssetTypeINDEX = "INDEX"
OrderAssetTypeMUTUALFUND = "MUTUAL_FUND"
OrderAssetTypeCASHEQUIVALENT = "CASH_EQUIVALENT"
OrderAssetTypeFIXEDINCOME = "FIXED_INCOME"
OrderAssetTypeCURRENCYOrderAssetType = "CURRENCYOrderAssetType"
PreferencesTimeoutFIFTYFIVEMINUTES = "FIFTY_FIVE_MINUTES"
PreferencesTimeoutTWOHOURS = "TWO_HOURS"
PreferencesTimeoutFOURHOURS = "FOUR_HOURS"
PreferencesTimeoutEIGHTHOURS = "EIGHT_HOURS"
TokenGrantTypeAuthorizationCode = "authorization_code"
TokenGrantTypeRefreshToken = "refresh_token"
TokenAccessTypeOffline = "offline"
TokenAccessTypeOnline = "online"
)