-
Notifications
You must be signed in to change notification settings - Fork 119
Expand file tree
/
Copy pathinterval.go
More file actions
30 lines (26 loc) · 713 Bytes
/
interval.go
File metadata and controls
30 lines (26 loc) · 713 Bytes
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
package binance
// Interval represents interval enum.
type Interval string
var (
Minute = Interval("1m")
ThreeMinutes = Interval("3m")
FiveMinutes = Interval("5m")
FifteenMinutes = Interval("15m")
ThirtyMinutes = Interval("30m")
Hour = Interval("1h")
TwoHours = Interval("2h")
FourHours = Interval("4h")
SixHours = Interval("6h")
EightHours = Interval("8h")
TwelveHours = Interval("12h")
Day = Interval("1d")
ThreeDays = Interval("3d")
Week = Interval("1w")
Month = Interval("1M")
)
// TimeInForce represents timeInForce enum.
type TimeInForce string
var (
GTC = TimeInForce("GTC")
IOC = TimeInForce("IOC")
)