-
Notifications
You must be signed in to change notification settings - Fork 102
/
Copy pathenums.go
49 lines (39 loc) · 1.16 KB
/
enums.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
package bittrex
type OrderType string
const (
MARKET OrderType = "MARKET"
LIMIT OrderType = "LIMIT"
CEILING_LIMIT OrderType = "CEILING_LIMIT"
CEILING_MARKET OrderType = "CEILING_MARKET"
)
type TimeInForce string
const (
GOOD_TIL_CANCELLED TimeInForce = "GOOD_TIL_CANCELLED"
IMMEDIATE_OR_CANCEL TimeInForce = "IMMEDIATE_OR_CANCEL"
FILL_OR_KILL TimeInForce = "FILL_OR_KILL"
POST_ONLY_GOOD_TIL_CANCELLED TimeInForce = "POST_ONLY_GOOD_TIL_CANCELLED"
BUY_NOW TimeInForce = "BUY_NOW"
)
type OrderDirection string
const (
BUY OrderDirection = "BUY"
SELL OrderDirection = "SELL"
)
type DepositStatus string
const (
DEPOSIT_PENDING DepositStatus = "PENDING"
DEPOSIT_COMPLETED DepositStatus = "COMPLETED"
DEPOSIT_ORPHANED DepositStatus = "ORPHANED"
DEPOSIT_INVALIDATED DepositStatus = "INVALIDATED"
DEPOSIT_ALL DepositStatus = ""
)
type WithdrawalStatus string
const (
REQUESTED WithdrawalStatus = "REQUESTED"
AUTHORIZED WithdrawalStatus = "AUTHORIZED"
PENDING WithdrawalStatus = "PENDING"
COMPLETED WithdrawalStatus = "COMPLETED"
CANCELLED WithdrawalStatus = "CANCELLED"
ERROR_INVALID_ADDRESS WithdrawalStatus = "ERROR_INVALID_ADDRESS"
ALL WithdrawalStatus = ""
)