forked from rodrigo-brito/ninjabot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.go
34 lines (31 loc) · 1.3 KB
/
types.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
package ninjabot
import (
"github.com/rodrigo-brito/ninjabot/model"
)
type (
Settings = model.Settings
TelegramSettings = model.TelegramSettings
Dataframe = model.Dataframe
Series = model.Series[float64]
SideType = model.SideType
OrderType = model.OrderType
OrderStatusType = model.OrderStatusType
)
var (
SideTypeBuy = model.SideTypeBuy
SideTypeSell = model.SideTypeSell
OrderTypeLimit = model.OrderTypeLimit
OrderTypeMarket = model.OrderTypeMarket
OrderTypeLimitMaker = model.OrderTypeLimitMaker
OrderTypeStopLoss = model.OrderTypeStopLoss
OrderTypeStopLossLimit = model.OrderTypeStopLossLimit
OrderTypeTakeProfit = model.OrderTypeTakeProfit
OrderTypeTakeProfitLimit = model.OrderTypeTakeProfitLimit
OrderStatusTypeNew = model.OrderStatusTypeNew
OrderStatusTypePartiallyFilled = model.OrderStatusTypePartiallyFilled
OrderStatusTypeFilled = model.OrderStatusTypeFilled
OrderStatusTypeCanceled = model.OrderStatusTypeCanceled
OrderStatusTypePendingCancel = model.OrderStatusTypePendingCancel
OrderStatusTypeRejected = model.OrderStatusTypeRejected
OrderStatusTypeExpired = model.OrderStatusTypeExpired
)